aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrAAStrokeRectBatch.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-08-13 13:34:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-13 13:34:48 -0700
commitabd30f54b7ff1704a8930c4307ea242d09425d02 (patch)
tree08eb5fdaa2fbe55f2e763a1d3c05054896919b68 /src/gpu/batches/GrAAStrokeRectBatch.h
parent8f34372f7e97482e5e61ab298b7edaa008ba2f4c (diff)
Introduce GrBatch subclasses GrDrawBatch and GrVertexBatch to prepare for non-drawing batches
Diffstat (limited to 'src/gpu/batches/GrAAStrokeRectBatch.h')
-rw-r--r--src/gpu/batches/GrAAStrokeRectBatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrAAStrokeRectBatch.h b/src/gpu/batches/GrAAStrokeRectBatch.h
index 7fa15f5326..b6fb89f502 100644
--- a/src/gpu/batches/GrAAStrokeRectBatch.h
+++ b/src/gpu/batches/GrAAStrokeRectBatch.h
@@ -14,7 +14,7 @@
#include "SkMatrix.h"
#include "SkRect.h"
-class GrAAStrokeRectBatch : public GrBatch {
+class GrAAStrokeRectBatch : public GrVertexBatch {
public:
// TODO support AA rotated stroke rects by copying around view matrices
struct Geometry {
@@ -25,7 +25,7 @@ public:
bool fMiterStroke;
};
- static GrBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix) {
+ static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix) {
return SkNEW_ARGS(GrAAStrokeRectBatch, (geometry, viewMatrix));
}