Index: src/gpu/glsl/GrGLSLShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLShaderBuilder.h b/src/gpu/glsl/GrGLSLShaderBuilder.h |
similarity index 95% |
rename from src/gpu/gl/builders/GrGLShaderBuilder.h |
rename to src/gpu/glsl/GrGLSLShaderBuilder.h |
index 2978db3a6465f0ae95efb3a98f92f08e6266c597..8927303967102017d25c70933ca05b4d16886e41 100644 |
--- a/src/gpu/gl/builders/GrGLShaderBuilder.h |
+++ b/src/gpu/glsl/GrGLSLShaderBuilder.h |
@@ -5,8 +5,8 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef GrGLShaderBuilder_DEFINED |
-#define GrGLShaderBuilder_DEFINED |
+#ifndef GrGLSLShaderBuilder_DEFINED |
+#define GrGLSLShaderBuilder_DEFINED |
#include "GrAllocator.h" |
#include "glsl/GrGLSLShaderVar.h" |
@@ -20,10 +20,10 @@ class GrGLSLTextureSampler; |
/** |
base class for all shaders builders |
*/ |
-class GrGLShaderBuilder { |
+class GrGLSLShaderBuilder { |
public: |
- GrGLShaderBuilder(GrGLSLProgramBuilder* program); |
- virtual ~GrGLShaderBuilder() {} |
+ GrGLSLShaderBuilder(GrGLSLProgramBuilder* program); |
+ virtual ~GrGLSLShaderBuilder() {} |
void addInput(const GrGLSLShaderVar& input) { fInputs.push_back(input); } |
void addOutput(const GrGLSLShaderVar& output) { fOutputs.push_back(output); } |
@@ -109,7 +109,7 @@ public: |
*/ |
class ShaderBlock { |
public: |
- ShaderBlock(GrGLShaderBuilder* builder) : fBuilder(builder) { |
+ ShaderBlock(GrGLSLShaderBuilder* builder) : fBuilder(builder) { |
SkASSERT(builder); |
fBuilder->codeAppend("{"); |
} |
@@ -118,7 +118,7 @@ public: |
fBuilder->codeAppend("}"); |
} |
private: |
- GrGLShaderBuilder* fBuilder; |
+ GrGLSLShaderBuilder* fBuilder; |
}; |
protected: |