Chromium Code Reviews

Unified Diff: include/gpu/GrPathRendererChain.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrAAConvexPathRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrPathRendererChain.h
diff --git a/include/gpu/GrPathRendererChain.h b/include/gpu/GrPathRendererChain.h
index ca8c35bdeb371c39189fa4a8ede6415e64b5ae1f..8e1f49b4b0ac225cbc27acca57e35d6975e6a9aa 100644
--- a/include/gpu/GrPathRendererChain.h
+++ b/include/gpu/GrPathRendererChain.h
@@ -12,6 +12,7 @@
#include "SkTArray.h"
class GrContext;
+class GrDrawState;
class GrDrawTarget;
class GrPathRenderer;
class SkPath;
@@ -55,9 +56,10 @@ public:
is drawing the path to the stencil buffer then stencilSupport can be used to determine
whether the path can be rendered with arbitrary stencil rules or not. See comments on
StencilSupport in GrPathRenderer.h. */
- GrPathRenderer* getPathRenderer(const SkPath& path,
+ GrPathRenderer* getPathRenderer(const GrDrawTarget* target,
+ const GrDrawState*,
+ const SkPath& path,
const SkStrokeRec& rec,
- const GrDrawTarget* target,
DrawType drawType,
StencilSupport* stencilSupport);
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrAAConvexPathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine