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

Unified Diff: src/gpu/GrStencilAndCoverPathRenderer.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/GrSoftwarePathRenderer.cpp ('k') | src/gpu/GrStencilAndCoverPathRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrStencilAndCoverPathRenderer.h
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.h b/src/gpu/GrStencilAndCoverPathRenderer.h
index 9ebcec98582351ddfc8ed04201280ff6a86e3d6a..dacdcd069541e353fd6e6b8f0f2c877fb7fa526a 100644
--- a/src/gpu/GrStencilAndCoverPathRenderer.h
+++ b/src/gpu/GrStencilAndCoverPathRenderer.h
@@ -25,24 +25,28 @@ public:
virtual ~GrStencilAndCoverPathRenderer();
- virtual bool canDrawPath(const SkPath&,
+ virtual bool canDrawPath(const GrDrawTarget*,
+ const GrDrawState*,
+ const SkPath&,
const SkStrokeRec&,
- const GrDrawTarget*,
bool antiAlias) const SK_OVERRIDE;
protected:
- virtual StencilSupport onGetStencilSupport(const SkPath&,
- const SkStrokeRec&,
- const GrDrawTarget*) const SK_OVERRIDE;
-
- virtual bool onDrawPath(const SkPath&,
+ virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
+ const GrDrawState*,
+ const SkPath&,
+ const SkStrokeRec&) const SK_OVERRIDE;
+
+ virtual bool onDrawPath(GrDrawTarget*,
+ GrDrawState*,
+ const SkPath&,
const SkStrokeRec&,
- GrDrawTarget*,
bool antiAlias) SK_OVERRIDE;
- virtual void onStencilPath(const SkPath&,
- const SkStrokeRec&,
- GrDrawTarget*) SK_OVERRIDE;
+ virtual void onStencilPath(GrDrawTarget*,
+ GrDrawState*,
+ const SkPath&,
+ const SkStrokeRec&) SK_OVERRIDE;
private:
GrStencilAndCoverPathRenderer(GrGpu*);
« no previous file with comments | « src/gpu/GrSoftwarePathRenderer.cpp ('k') | src/gpu/GrStencilAndCoverPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698