diff options
author | 2012-07-25 20:58:20 +0000 | |
---|---|---|
committer | 2012-07-25 20:58:20 +0000 | |
commit | 777c3aab0a902b0917871080d99b0a249ec06298 (patch) | |
tree | b5c7c24e3c6f30ab13fbb604d13c7199a04f638d /src/gpu/effects/GrMorphologyEffect.cpp | |
parent | 09640d6bac2fc42e012b3ed6cdce5962f4e186fe (diff) |
Remove uniform names from top of GrGLProgram.cpp, builder responsible for "u" and stage num tags.
Also add LF eol-style property to some files in src/gpu/effects.
Review URL: http://codereview.appspot.com/6448049/
git-svn-id: http://skia.googlecode.com/svn/trunk@4770 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrMorphologyEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrMorphologyEffect.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gpu/effects/GrMorphologyEffect.cpp b/src/gpu/effects/GrMorphologyEffect.cpp index 22c986ab68..f8b268dae6 100644 --- a/src/gpu/effects/GrMorphologyEffect.cpp +++ b/src/gpu/effects/GrMorphologyEffect.cpp @@ -18,8 +18,7 @@ public: GrGLMorphologyEffect (const GrProgramStageFactory& factory, const GrCustomStage& stage); - virtual void setupVariables(GrGLShaderBuilder* builder, - int stage) SK_OVERRIDE; + virtual void setupVariables(GrGLShaderBuilder* builder) SK_OVERRIDE; virtual void emitVS(GrGLShaderBuilder* state, const char* vertexCoords) SK_OVERRIDE; virtual void emitFS(GrGLShaderBuilder* state, @@ -53,10 +52,10 @@ GrGLMorphologyEffect ::GrGLMorphologyEffect(const GrProgramStageFactory& factory fType = m.type(); } -void GrGLMorphologyEffect::setupVariables(GrGLShaderBuilder* builder, int stage) { +void GrGLMorphologyEffect::setupVariables(GrGLShaderBuilder* builder) { fImageIncrementUni = builder->addUniform(GrGLShaderBuilder::kFragment_ShaderType | GrGLShaderBuilder::kVertex_ShaderType, - kVec2f_GrSLType, "uImageIncrement", stage); + kVec2f_GrSLType, "ImageIncrement"); } void GrGLMorphologyEffect::emitVS(GrGLShaderBuilder* builder, |