aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrNonAAStrokeRectBatch.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-09-18 13:03:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-18 13:03:25 -0700
commitaa37a96d554c5be7907ce04ee1ef843d0521eafb (patch)
tree71d7532775c9fd82feb6a8b762e1ad43af2ecb0a /src/gpu/batches/GrNonAAStrokeRectBatch.h
parent2120b6f2cc3070b16800bfb2ff05cf114c8e40b9 (diff)
Create append methods in batch namespaces
Diffstat (limited to 'src/gpu/batches/GrNonAAStrokeRectBatch.h')
-rw-r--r--src/gpu/batches/GrNonAAStrokeRectBatch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/batches/GrNonAAStrokeRectBatch.h b/src/gpu/batches/GrNonAAStrokeRectBatch.h
index ed26353fb6..3cee47dedd 100644
--- a/src/gpu/batches/GrNonAAStrokeRectBatch.h
+++ b/src/gpu/batches/GrNonAAStrokeRectBatch.h
@@ -24,6 +24,12 @@ GrDrawBatch* Create(GrColor color,
SkScalar strokeWidth,
bool snapToPixelCenters);
+void Append(GrColor color,
+ const SkMatrix& viewMatrix,
+ const SkRect& rect,
+ SkScalar strokeWidth,
+ bool snapToPixelCenters);
+
};
#endif