| 1 | /* | 
|---|---|
| 2 | * Copyright 2015 Google Inc. | 
| 3 | * | 
| 4 | * Use of this source code is governed by a BSD-style license that can be | 
| 5 | * found in the LICENSE file. | 
| 6 | */ | 
| 7 | |
| 8 | #ifndef GrDrawAtlasOp_DEFINED | 
| 9 | #define GrDrawAtlasOp_DEFINED | 
| 10 | |
| 11 | #include "include/core/SkRefCnt.h" | 
| 12 | #include "include/private/GrTypesPriv.h" | 
| 13 | |
| 14 | class GrDrawOp; | 
| 15 | class GrPaint; | 
| 16 | class GrRecordingContext; | 
| 17 | class SkMatrix; | 
| 18 | |
| 19 | namespace GrDrawAtlasOp { | 
| 20 | std::unique_ptr<GrDrawOp> Make(GrRecordingContext*, | 
| 21 | GrPaint&&, | 
| 22 | const SkMatrix& viewMatrix, | 
| 23 | GrAAType, | 
| 24 | int spriteCount, | 
| 25 | const SkRSXform* xforms, | 
| 26 | const SkRect* rects, | 
| 27 | const SkColor* colors); | 
| 28 | } // namespace GrDrawAtlasOp | 
| 29 | |
| 30 | #endif | 
| 31 | 
