aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathProcessor.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-04-28 08:48:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-28 08:48:20 -0700
commitcfc18867d982119d9dc2888bf09f1093012daadd (patch)
treeaf55e571828da1a7353457451bafab547079fa1f /src/gpu/GrPathProcessor.h
parent77772f3ca36c3fb7f2195615cce2adac2be2fec6 (diff)
Use GLSLCaps for creating processor keys and GLSL-specific programs
Effectively all this does is future-proof any GLSL-specific code, as GLSLCaps is just a typedef of GLCaps. BUG=skia: Review URL: https://codereview.chromium.org/1109863004
Diffstat (limited to 'src/gpu/GrPathProcessor.h')
-rw-r--r--src/gpu/GrPathProcessor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrPathProcessor.h b/src/gpu/GrPathProcessor.h
index b6b6f6e5a8..5b233782c6 100644
--- a/src/gpu/GrPathProcessor.h
+++ b/src/gpu/GrPathProcessor.h
@@ -45,11 +45,11 @@ public:
bool willUseGeoShader() const override { return false; }
virtual void getGLProcessorKey(const GrBatchTracker& bt,
- const GrGLCaps& caps,
+ const GrGLSLCaps& caps,
GrProcessorKeyBuilder* b) const override;
virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt,
- const GrGLCaps& caps) const override;
+ const GrGLSLCaps& caps) const override;
protected:
GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);