From 8059eb9f6e24ed609393fbda4ad71edea03ac258 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Mon, 29 Dec 2014 15:10:07 -0800 Subject: Move ViewMatrix off of drawstate BUG=skia: Review URL: https://codereview.chromium.org/815553003 --- src/gpu/GrOvalRenderer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gpu/GrOvalRenderer.h') diff --git a/src/gpu/GrOvalRenderer.h b/src/gpu/GrOvalRenderer.h index c67815c451..16c1248b3f 100644 --- a/src/gpu/GrOvalRenderer.h +++ b/src/gpu/GrOvalRenderer.h @@ -37,18 +37,21 @@ public: bool drawOval(GrDrawTarget*, GrDrawState*, GrColor, + const SkMatrix& viewMatrix, bool useAA, const SkRect& oval, const SkStrokeRec& stroke); bool drawRRect(GrDrawTarget*, GrDrawState*, GrColor, + const SkMatrix& viewMatrix, bool useAA, const SkRRect& rrect, const SkStrokeRec& stroke); bool drawDRRect(GrDrawTarget* target, GrDrawState*, GrColor, + const SkMatrix& viewMatrix, bool useAA, const SkRRect& outer, const SkRRect& inner); @@ -57,18 +60,21 @@ private: bool drawEllipse(GrDrawTarget* target, GrDrawState*, GrColor, + const SkMatrix& viewMatrix, bool useCoverageAA, const SkRect& ellipse, const SkStrokeRec& stroke); bool drawDIEllipse(GrDrawTarget* target, GrDrawState*, GrColor, + const SkMatrix& viewMatrix, bool useCoverageAA, const SkRect& ellipse, const SkStrokeRec& stroke); void drawCircle(GrDrawTarget* target, GrDrawState*, GrColor, + const SkMatrix& viewMatrix, bool useCoverageAA, const SkRect& circle, const SkStrokeRec& stroke); -- cgit v1.2.3