diff options
author | 2013-09-30 15:13:58 +0000 | |
---|---|---|
committer | 2013-09-30 15:13:58 +0000 | |
commit | a4acf12a9353ffc834d2c6ee673be447487963c9 (patch) | |
tree | 8dacaa4282b53674aa5c0a23d331894bf1057e44 /src/gpu/effects/GrSimpleTextureEffect.cpp | |
parent | afaad3dd7002feb6e69983ddc4e5148d7803baed (diff) |
Revert "Add a requiresVertexShader method to GrGLEffect"
This reverts commit 1a30a3af805b7ea688d4a0f0bfe373c204085a27. We're
going to take a different direction for vertexless shaders.
R=bsalomon@google.com
Author: cdalton@nvidia.com
Review URL: https://codereview.chromium.org/23464082
git-svn-id: http://skia.googlecode.com/svn/trunk@11521 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrSimpleTextureEffect.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp index 88ba56a54c..cf08d3bcd3 100644 --- a/src/gpu/effects/GrSimpleTextureEffect.cpp +++ b/src/gpu/effects/GrSimpleTextureEffect.cpp @@ -24,11 +24,6 @@ public: } } - virtual bool requiresVertexShader(const GrDrawEffect& drawEffect) const SK_OVERRIDE { - const GrSimpleTextureEffect& ste = drawEffect.castEffect<GrSimpleTextureEffect>(); - return GrEffect::kCustom_CoordsType == ste.coordsType(); - } - virtual void emitCode(GrGLShaderBuilder* builder, const GrDrawEffect& drawEffect, EffectKey key, |