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

Unified Diff: src/gpu/gl/builders/GrGLShaderBuilder.h

Issue 1417123002: Move GrGLShaderVar to GrGLSL (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 | « src/gpu/gl/builders/GrGLProgramBuilder.cpp ('k') | src/gpu/gl/builders/GrGLShaderBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
/*
« no previous file with comments | « src/gpu/gl/builders/GrGLProgramBuilder.cpp ('k') | src/gpu/gl/builders/GrGLShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698