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

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

Issue 1416423003: Make GrGLSLProgramBuilder base class for ProgramBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nit Created 5 years, 1 month 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 d63a679e8c7ad8d88ec4d8730b5ebd5874464c2b..2978db3a6465f0ae95efb3a98f92f08e6266c597 100644
--- a/src/gpu/gl/builders/GrGLShaderBuilder.h
+++ b/src/gpu/gl/builders/GrGLShaderBuilder.h
@@ -14,7 +14,7 @@
#include <stdarg.h>
-class GrGLProgramBuilder;
+class GrGLSLProgramBuilder;
class GrGLSLTextureSampler;
/**
@@ -22,7 +22,7 @@ class GrGLSLTextureSampler;
*/
class GrGLShaderBuilder {
public:
- GrGLShaderBuilder(GrGLProgramBuilder* program);
+ GrGLShaderBuilder(GrGLSLProgramBuilder* program);
virtual ~GrGLShaderBuilder() {}
void addInput(const GrGLSLShaderVar& input) { fInputs.push_back(input); }
@@ -102,7 +102,7 @@ public:
/*
* Get parent builder for adding uniforms
*/
- GrGLProgramBuilder* getProgramBuilder() { return fProgramBuilder; }
+ GrGLSLProgramBuilder* getProgramBuilder() { return fProgramBuilder; }
/**
* Helper for begining and ending a block in the shader code.
@@ -179,7 +179,7 @@ protected:
kCode,
};
- GrGLProgramBuilder* fProgramBuilder;
+ GrGLSLProgramBuilder* fProgramBuilder;
SkSTArray<kCode, const char*, true> fCompilerStrings;
SkSTArray<kCode, int, true> fCompilerStringLengths;
SkSTArray<kCode, SkString> fShaderStrings;
« 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