Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 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 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 11 | #include "include/core/SkRefCnt.h" |
| 12 | #include "include/private/GrTypesPriv.h" |
Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 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 | }; |
| 29 | |
| 30 | #endif |