Chromium Code Reviews| Index: src/gpu/gl/builders/GrGLShaderBuilder.h |
| diff --git a/src/gpu/gl/builders/GrGLShaderBuilder.h b/src/gpu/gl/builders/GrGLShaderBuilder.h |
| index 75ecdbece2a81f108c412fb6fddc6102c45c8846..d326a3c4f0115fb5df16eb5a57a1128476fed0d3 100644 |
| --- a/src/gpu/gl/builders/GrGLShaderBuilder.h |
| +++ b/src/gpu/gl/builders/GrGLShaderBuilder.h |
| @@ -30,8 +30,8 @@ public: |
| GrGLShaderBuilder(GrGLProgramBuilder* program); |
|
robertphillips
2015/10/21 15:39:16
should these be "const GrGLSLShaderVar&" ?
maybe i
egdaniel
2015/10/21 17:08:18
Done.
|
| - void addInput(GrGLShaderVar i) { fInputs.push_back(i); } |
| - void addOutput(GrGLShaderVar i) { fOutputs.push_back(i); } |
| + void addInput(GrGLSLShaderVar i) { fInputs.push_back(i); } |
| + void addOutput(GrGLSLShaderVar i) { fOutputs.push_back(i); } |
| /* |
| * We put texture lookups in the base class because it is TECHNICALLY possible to do texture |
| @@ -92,13 +92,13 @@ public: |
| /** |
| * Appends a variable declaration to one of the shaders |
| */ |
| - void declAppend(const GrGLShaderVar& var); |
| + void declAppend(const GrGLSLShaderVar& var); |
| /** Emits a helper function outside of main() in the fragment shader. */ |
| void emitFunction(GrSLType returnType, |
| const char* name, |
| int argCnt, |
| - const GrGLShaderVar* args, |
| + const GrGLSLShaderVar* args, |
| const char* body, |
| SkString* outName); |
| @@ -125,7 +125,7 @@ public: |
| }; |
| protected: |
| - typedef GrTAllocator<GrGLShaderVar> VarArray; |
| + typedef GrTAllocator<GrGLSLShaderVar> VarArray; |
| void appendDecls(const VarArray& vars, SkString* out) const; |
| /* |