joshualitt | 9c80b5f | 2015-08-13 10:05: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 GrBWFillRectBatch_DEFINED |
| 9 | #define GrBWFillRectBatch_DEFINED |
| 10 | |
| 11 | #include "GrColor.h" |
| 12 | |
bsalomon | abd30f5 | 2015-08-13 13:34:48 -0700 | [diff] [blame] | 13 | class GrDrawBatch; |
joshualitt | 9c80b5f | 2015-08-13 10:05:51 -0700 | [diff] [blame] | 14 | class SkMatrix; |
| 15 | struct SkRect; |
| 16 | |
| 17 | namespace GrBWFillRectBatch { |
bsalomon | abd30f5 | 2015-08-13 13:34:48 -0700 | [diff] [blame] | 18 | GrDrawBatch* Create(GrColor color, |
joshualitt | 9c80b5f | 2015-08-13 10:05:51 -0700 | [diff] [blame] | 19 | const SkMatrix& viewMatrix, |
| 20 | const SkRect& rect, |
| 21 | const SkRect* localRect, |
| 22 | const SkMatrix* localMatrix); |
| 23 | }; |
| 24 | |
| 25 | #endif |