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 | |
Robert Phillips | d2f53f9 | 2021-08-31 17:51:18 -0400 | [diff] [blame^] | 8 | #ifndef DrawAtlasOp_DEFINED |
| 9 | #define DrawAtlasOp_DEFINED |
Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 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 | |
Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 15 | class GrPaint; |
| 16 | class GrRecordingContext; |
| 17 | class SkMatrix; |
| 18 | |
Robert Phillips | d2f53f9 | 2021-08-31 17:51:18 -0400 | [diff] [blame^] | 19 | namespace skgpu::v1::DrawAtlasOp { |
| 20 | |
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); |
Brian Osman | 4d92b89 | 2019-03-24 00:53:23 +0000 | [diff] [blame] | 29 | |
Robert Phillips | d2f53f9 | 2021-08-31 17:51:18 -0400 | [diff] [blame^] | 30 | } // namespace skgpu::v1::DrawAtlasOp |
| 31 | |
| 32 | #endif // DrawAtlasOp_DEFINED |