diff options
author | joshualitt <joshualitt@chromium.org> | 2015-05-19 06:49:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-19 06:49:32 -0700 |
commit | cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 (patch) | |
tree | 54dece088066b7ddd287ed5bb395fcfba2088b7b /src/gpu/gl/GrGLPrimitiveProcessor.h | |
parent | 9b4b91f5c222da584bb72d5880f654ae0081454d (diff) |
Preliminary attempt to remove batch tracker
BUG=skia:
Review URL: https://codereview.chromium.org/1139723004
Diffstat (limited to 'src/gpu/gl/GrGLPrimitiveProcessor.h')
-rw-r--r-- | src/gpu/gl/GrGLPrimitiveProcessor.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gpu/gl/GrGLPrimitiveProcessor.h b/src/gpu/gl/GrGLPrimitiveProcessor.h index 30b1c178cd..90ee2038f8 100644 --- a/src/gpu/gl/GrGLPrimitiveProcessor.h +++ b/src/gpu/gl/GrGLPrimitiveProcessor.h @@ -74,16 +74,7 @@ public: static SkMatrix GetTransformMatrix(const SkMatrix& localMatrix, const GrCoordTransform&); protected: - /** a helper which can setup vertex, constant, or uniform color depending on inputType. - * This function will only do the minimum required to emit the correct shader code. If - * inputType == attribute, then colorAttr must not be NULL. Likewise, if inputType == Uniform - * then colorUniform must not be NULL. - */ - void setupColorPassThrough(GrGLGPBuilder* pb, - GrGPInput inputType, - const char* inputName, - const GrPrimitiveProcessor::Attribute* colorAttr, - UniformHandle* colorUniform); + void setupUniformColor(GrGLGPBuilder* pb, const char* outputName, UniformHandle* colorUniform); const char* uViewM() const { return fViewMatrixName; } |