Index: src/gpu/gl/GrGLProgram.h |
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h |
index 4a16b0cf4cec044539fb0bd5f12940fc7d1df8ed..bef2ecf544bd221e779cdd42ab2a4e1be370a78b 100644 |
--- a/src/gpu/gl/GrGLProgram.h |
+++ b/src/gpu/gl/GrGLProgram.h |
@@ -178,6 +178,14 @@ private: |
void genGeometryShader(GrGLShaderBuilder::VertexBuilder* vertexBuilder) const; |
+ // Creates a set of GrGLEffects and GrGLDrawEffects. |
+ void buildGLEffects(SkTArray<EffectAndSamplers> GrGLProgram::* effectSet, |
+ const GrEffectStage* stages[], |
+ int count, |
+ bool hasExplicitLocalCoords, |
+ SkTArray<GrDrawEffect>* drawEffects, |
+ bool* hasVertexShaderEffects); |
+ |
// Creates a GL program ID, binds shader attributes to GL vertex attrs, and links the program |
bool bindOutputsAttribsAndLinkProgram(const GrGLShaderBuilder& builder, |
bool bindColorOut, |