diff options
author | joshualitt <joshualitt@chromium.org> | 2015-08-21 10:25:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-21 10:25:18 -0700 |
commit | b6b513b805c37dc80999261c5d03e7af1976542e (patch) | |
tree | 6cd760ca1d84a9e55ea75e5aa66e71a9a11a1499 /include/gpu | |
parent | ea73fa529ffdfab49019aed95a122b721fe090f0 (diff) |
Create separate entry points for the various flavors of drawRect
BUG=skia:
Review URL: https://codereview.chromium.org/1308503002
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrDrawContext.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index 0f6552c401..552cfd3dc8 100644 --- a/include/gpu/GrDrawContext.h +++ b/include/gpu/GrDrawContext.h @@ -120,16 +120,13 @@ public: * @param viewMatrix transformation matrix which applies to rectToDraw * @param rectToDraw the rectangle to draw * @param localRect the rectangle of shader coordinates applied to rectToDraw - * @param localMatrix an optional matrix to transform the shader coordinates before applying - * to rectToDraw */ void drawNonAARectToRect(GrRenderTarget*, const GrClip&, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rectToDraw, - const SkRect& localRect, - const SkMatrix* localMatrix = NULL); + const SkRect& localRect); /** * Draws a non-AA rect with paint and a localMatrix @@ -139,9 +136,7 @@ public: const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rect, - const SkMatrix& localMatrix) { - this->drawNonAARectToRect(rt, clip, paint, viewMatrix, rect, rect, &localMatrix); - } + const SkMatrix& localMatrix); /** * Draw a roundrect using a paint. |