diff options
author | joshualitt <joshualitt@chromium.org> | 2015-09-18 13:03:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-18 13:03:25 -0700 |
commit | aa37a96d554c5be7907ce04ee1ef843d0521eafb (patch) | |
tree | 71d7532775c9fd82feb6a8b762e1ad43af2ecb0a /src/gpu/batches/GrNonAAStrokeRectBatch.h | |
parent | 2120b6f2cc3070b16800bfb2ff05cf114c8e40b9 (diff) |
Create append methods in batch namespaces
BUG=skia:
Review URL: https://codereview.chromium.org/1353553002
Diffstat (limited to 'src/gpu/batches/GrNonAAStrokeRectBatch.h')
-rw-r--r-- | src/gpu/batches/GrNonAAStrokeRectBatch.h | 6 |
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 |