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

Unified Diff: include/gpu/GrPathRendererChain.h

Issue 1420043002: Narrow the distribution of GrDrawTarget a bit (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 months 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 | « include/gpu/GrDrawContext.h ('k') | src/gpu/GrClipMaskManager.cpp » ('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 bacf2d45215df40098d42de9b06ee4b8456db1bd..a50160fba841ef62a3ce55dc3a83b8445eb36d34 100644
--- a/include/gpu/GrPathRendererChain.h
+++ b/include/gpu/GrPathRendererChain.h
@@ -12,9 +12,9 @@
#include "SkTArray.h"
class GrContext;
-class GrDrawTarget;
class GrPathRenderer;
class GrPipelineBuilder;
+class GrShaderCaps;
class GrStrokeInfo;
class SkMatrix;
class SkPath;
@@ -55,7 +55,7 @@ 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 GrDrawTarget* target,
+ GrPathRenderer* getPathRenderer(const GrShaderCaps* shaderCaps,
const GrPipelineBuilder*,
const SkMatrix& viewMatrix,
const SkPath& path,
« no previous file with comments | « include/gpu/GrDrawContext.h ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698