diff options
Diffstat (limited to 'src/gpu/glsl/GrGLSLProgramBuilder.h')
-rw-r--r-- | src/gpu/glsl/GrGLSLProgramBuilder.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.h b/src/gpu/glsl/GrGLSLProgramBuilder.h index 727614455f..6c1eb3bf4b 100644 --- a/src/gpu/glsl/GrGLSLProgramBuilder.h +++ b/src/gpu/glsl/GrGLSLProgramBuilder.h @@ -20,8 +20,9 @@ #include "glsl/GrGLSLXferProcessor.h" class GrGLSLCaps; -class GrGLSLShaderVar; +class GrShaderVar; class GrGLSLVaryingHandler; +class GrGLSLExpr4; typedef SkSTArray<8, GrGLSLFragmentProcessor*, true> GrGLSLFragProcs; @@ -43,7 +44,7 @@ public: typedef GrGLSLUniformHandler::SamplerHandle SamplerHandle; - const GrGLSLShaderVar& samplerVariable(SamplerHandle handle) const { + const GrShaderVar& samplerVariable(SamplerHandle handle) const { return this->uniformHandler()->samplerVariable(handle); } @@ -79,8 +80,8 @@ public: // Used for backend customization of the output color and secondary color variables from the // fragment processor. Only used if the outputs are explicitly declared in the shaders - virtual void finalizeFragmentOutputColor(GrGLSLShaderVar& outputColor) {} - virtual void finalizeFragmentSecondaryColor(GrGLSLShaderVar& outputColor) {} + virtual void finalizeFragmentOutputColor(GrShaderVar& outputColor) {} + virtual void finalizeFragmentSecondaryColor(GrShaderVar& outputColor) {} // number of each input/output type in a single allocation block, used by many builders static const int kVarsPerBlock; |