aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLProgramDesc.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-09-02 10:01:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-02 10:01:30 -0700
commit842b086a3c876061e1279d47e6009629c9818b03 (patch)
tree53242d7978a69878f238c4c0037bc2b3818ce2f2 /src/gpu/gl/GrGLProgramDesc.h
parent871dca8ea99f49b8bbf118d0ccbd9da0c59467c3 (diff)
When ignoring color input don't use vertex attribs on gpu
Also rename SolidWhite_ColorInput enum to be AllOnes_ColorInput to better reflect what it's use is BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/525433002
Diffstat (limited to 'src/gpu/gl/GrGLProgramDesc.h')
-rw-r--r--src/gpu/gl/GrGLProgramDesc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLProgramDesc.h b/src/gpu/gl/GrGLProgramDesc.h
index 4796d5a4b3..aefcb508e2 100644
--- a/src/gpu/gl/GrGLProgramDesc.h
+++ b/src/gpu/gl/GrGLProgramDesc.h
@@ -99,7 +99,7 @@ public:
private:
// Specifies where the initial color comes from before the stages are applied.
enum ColorInput {
- kSolidWhite_ColorInput,
+ kAllOnes_ColorInput,
kAttribute_ColorInput,
kUniform_ColorInput,