joshualitt | 9ff6425 | 2015-08-10 09:03:51 -0700 | [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 GrAAFillRectBatch_DEFINED |
| 9 | #define GrAAFillRectBatch_DEFINED |
| 10 | |
joshualitt | 9ff6425 | 2015-08-10 09:03:51 -0700 | [diff] [blame] | 11 | #include "GrColor.h" |
joshualitt | 9ff6425 | 2015-08-10 09:03:51 -0700 | [diff] [blame] | 12 | |
bsalomon | abd30f5 | 2015-08-13 13:34:48 -0700 | [diff] [blame^] | 13 | class GrDrawBatch; |
joshualitt | 37eb184 | 2015-08-12 06:36:57 -0700 | [diff] [blame] | 14 | class SkMatrix; |
| 15 | struct SkRect; |
joshualitt | 9ff6425 | 2015-08-10 09:03:51 -0700 | [diff] [blame] | 16 | |
joshualitt | 37eb184 | 2015-08-12 06:36:57 -0700 | [diff] [blame] | 17 | namespace GrAAFillRectBatch { |
bsalomon | abd30f5 | 2015-08-13 13:34:48 -0700 | [diff] [blame^] | 18 | GrDrawBatch* Create(GrColor color, |
| 19 | const SkMatrix& viewMatrix, |
| 20 | const SkRect& rect, |
| 21 | const SkRect& devRect); |
joshualitt | 147dc06 | 2015-08-12 11:51:46 -0700 | [diff] [blame] | 22 | |
bsalomon | abd30f5 | 2015-08-13 13:34:48 -0700 | [diff] [blame^] | 23 | GrDrawBatch* Create(GrColor color, |
| 24 | const SkMatrix& viewMatrix, |
| 25 | const SkMatrix& localMatrix, |
| 26 | const SkRect& rect, |
| 27 | const SkRect& devRect); |
joshualitt | 9ff6425 | 2015-08-10 09:03:51 -0700 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | #endif |