diff options
author | bsalomon <bsalomon@google.com> | 2015-11-05 10:41:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-05 10:41:43 -0800 |
commit | a2e69fcdedbd9a7762620e0e9dcdd86596369cff (patch) | |
tree | b9ed3624d5ebb5976825d2a9cbfb73d1684bfc97 /include/gpu | |
parent | cd4954152490c7492284a7914571531ba8c75b4a (diff) |
Rename non-aa rect methods on GrDrawContext in anticipation of making them support aa
R=joshualitt@google.com
Review URL: https://codereview.chromium.org/1409753008
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrDrawContext.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index b6fc0dfa23..d55818b6d7 100644 --- a/include/gpu/GrDrawContext.h +++ b/include/gpu/GrDrawContext.h @@ -111,27 +111,27 @@ public: const GrStrokeInfo* strokeInfo = NULL); /** - * Maps a rectangle of shader coordinates to a rectangle and draws that rectangle + * Maps a rectangle of shader coordinates to a rectangle and fills that rectangle. * * @param paint describes how to color pixels. * @param viewMatrix transformation matrix which applies to rectToDraw * @param rectToDraw the rectangle to draw * @param localRect the rectangle of shader coordinates applied to rectToDraw */ - void drawNonAARectToRect(const GrClip&, - const GrPaint& paint, - const SkMatrix& viewMatrix, - const SkRect& rectToDraw, - const SkRect& localRect); + void fillRectToRect(const GrClip&, + const GrPaint& paint, + const SkMatrix& viewMatrix, + const SkRect& rectToDraw, + const SkRect& localRect); /** - * Draws a non-AA rect with paint and a localMatrix + * Fills a rect with a paint and a localMatrix. */ - void drawNonAARectWithLocalMatrix(const GrClip& clip, - const GrPaint& paint, - const SkMatrix& viewMatrix, - const SkRect& rect, - const SkMatrix& localMatrix); + void fillRectWithLocalMatrix(const GrClip& clip, + const GrPaint& paint, + const SkMatrix& viewMatrix, + const SkRect& rect, + const SkMatrix& localMatrix); /** * Draw a roundrect using a paint. |