Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: src/gpu/GrOvalRenderer.h

Issue 732693002: Drawstate on stack (Closed) Base URL: https://skia.googlesource.com/skia.git@real_def_gp
Patch Set: tiny fix Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrOptDrawState.h ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrOvalRenderer.h
diff --git a/src/gpu/GrOvalRenderer.h b/src/gpu/GrOvalRenderer.h
index 96f9b3afb9faf62e47e084476aeb5d6c514cffa5..abad623589e1f734b6c002a4044825cc7e678b1d 100644
--- a/src/gpu/GrOvalRenderer.h
+++ b/src/gpu/GrOvalRenderer.h
@@ -31,21 +31,42 @@ public:
void reset();
- bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
- const SkRect& oval, const SkStrokeRec& stroke);
- bool drawRRect(GrDrawTarget* target, GrContext* context, bool useAA,
- const SkRRect& rrect, const SkStrokeRec& stroke);
- bool drawDRRect(GrDrawTarget* target, GrContext* context, bool useAA,
- const SkRRect& outer, const SkRRect& inner);
+ bool drawOval(GrDrawTarget*,
+ GrDrawState*,
+ const GrContext*,
+ bool useAA,
+ const SkRect& oval,
+ const SkStrokeRec& stroke);
+ bool drawRRect(GrDrawTarget*,
+ GrDrawState*,
+ GrContext*,
+ bool useAA,
+ const SkRRect& rrect,
+ const SkStrokeRec& stroke);
+ bool drawDRRect(GrDrawTarget* target,
+ GrDrawState*,
+ GrContext* context,
+ bool useAA,
+ const SkRRect& outer,
+ const SkRRect& inner);
private:
- bool drawEllipse(GrDrawTarget* target, const GrContext* context, bool useCoverageAA,
+ bool drawEllipse(GrDrawTarget* target,
+ GrDrawState*,
+ const GrContext* context,
+ bool useCoverageAA,
const SkRect& ellipse,
const SkStrokeRec& stroke);
- bool drawDIEllipse(GrDrawTarget* target, const GrContext* context, bool useCoverageAA,
+ bool drawDIEllipse(GrDrawTarget* target,
+ GrDrawState*,
+ const GrContext* context,
+ bool useCoverageAA,
const SkRect& ellipse,
const SkStrokeRec& stroke);
- void drawCircle(GrDrawTarget* target, const GrContext* context, bool useCoverageAA,
+ void drawCircle(GrDrawTarget* target,
+ GrDrawState*,
+ const GrContext* context,
+ bool useCoverageAA,
const SkRect& circle,
const SkStrokeRec& stroke);
« no previous file with comments | « src/gpu/GrOptDrawState.h ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698