Index: src/gpu/batches/GrRegionBatch.h |
diff --git a/src/gpu/batches/GrNonAAStrokeRectBatch.h b/src/gpu/batches/GrRegionBatch.h |
similarity index 50% |
copy from src/gpu/batches/GrNonAAStrokeRectBatch.h |
copy to src/gpu/batches/GrRegionBatch.h |
index 4d94337cc0676be590013e0a7262a10a4798a647..06d744841c763a5c3b25c506f923c2b17e815509 100644 |
--- a/src/gpu/batches/GrNonAAStrokeRectBatch.h |
+++ b/src/gpu/batches/GrRegionBatch.h |
@@ -5,26 +5,21 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef GrNonAAStrokeRectBatch_DEFINED |
-#define GrNonAAStrokeRectBatch_DEFINED |
+#ifndef GrRegionBatch_DEFINED |
+#define GrRegionBatch_DEFINED |
#include "GrColor.h" |
-#include "SkTypes.h" |
- |
class GrDrawBatch; |
-struct SkRect; |
-class SkStrokeRec; |
class SkMatrix; |
+class SkRegion; |
-namespace GrNonAAStrokeRectBatch { |
+namespace GrRegionBatch { |
GrDrawBatch* Create(GrColor color, |
const SkMatrix& viewMatrix, |
- const SkRect& rect, |
- const SkStrokeRec&, |
- bool snapToPixelCenters); |
+ const SkRegion& region); |
-} |
+}; |
#endif |