Index: src/gpu/batches/GrNonAAStrokeRectBatch.h |
diff --git a/src/gpu/batches/GrNonAAFillRectBatch.h b/src/gpu/batches/GrNonAAStrokeRectBatch.h |
similarity index 61% |
copy from src/gpu/batches/GrNonAAFillRectBatch.h |
copy to src/gpu/batches/GrNonAAStrokeRectBatch.h |
index ac4ca23b782776886b8af6791db640c6f84890e7..ed26353fb62ab55a3ee2a36f5cba9c90b8f6dea0 100644 |
--- a/src/gpu/batches/GrNonAAFillRectBatch.h |
+++ b/src/gpu/batches/GrNonAAStrokeRectBatch.h |
@@ -5,21 +5,25 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef GrNonAAFillRectBatch_DEFINED |
-#define GrNonAAFillRectBatch_DEFINED |
+#ifndef GrNonAAStrokeRectBatch_DEFINED |
+#define GrNonAAStrokeRectBatch_DEFINED |
#include "GrColor.h" |
+#include "SkTypes.h" |
+ |
class GrDrawBatch; |
-class SkMatrix; |
struct SkRect; |
+class SkMatrix; |
+ |
+namespace GrNonAAStrokeRectBatch { |
-namespace GrNonAAFillRectBatch { |
GrDrawBatch* Create(GrColor color, |
const SkMatrix& viewMatrix, |
const SkRect& rect, |
- const SkRect* localRect, |
- const SkMatrix* localMatrix); |
+ SkScalar strokeWidth, |
+ bool snapToPixelCenters); |
+ |
}; |
#endif |