aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLPrimitiveProcessor.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-05-19 06:49:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-19 06:49:32 -0700
commitcbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 (patch)
tree54dece088066b7ddd287ed5bb395fcfba2088b7b /src/gpu/gl/GrGLPrimitiveProcessor.h
parent9b4b91f5c222da584bb72d5880f654ae0081454d (diff)
Preliminary attempt to remove batch tracker
Diffstat (limited to 'src/gpu/gl/GrGLPrimitiveProcessor.h')
-rw-r--r--src/gpu/gl/GrGLPrimitiveProcessor.h11
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; }