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" |
Herb Derby | c76d409 | 2020-10-07 16:46:15 -0400 | [diff] [blame^] | 13 | #include "src/gpu/ops/GrOp.h" |
Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 14 | |
| 15 | class GrDrawOp; |
| 16 | class GrPaint; |
| 17 | class GrRecordingContext; |
| 18 | class SkMatrix; |
| 19 | |
| 20 | namespace GrDrawAtlasOp { |
Herb Derby | c76d409 | 2020-10-07 16:46:15 -0400 | [diff] [blame^] | 21 | GrOp::Owner Make(GrRecordingContext*, |
| 22 | GrPaint&&, |
| 23 | const SkMatrix& viewMatrix, |
| 24 | GrAAType, |
| 25 | int spriteCount, |
| 26 | const SkRSXform* xforms, |
| 27 | const SkRect* rects, |
| 28 | const SkColor* colors); |
John Stiles | a6841be | 2020-08-06 14:11:56 -0400 | [diff] [blame] | 29 | } // namespace GrDrawAtlasOp |
Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 30 | |
| 31 | #endif |