aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGeometryProcessor.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-05-13 14:18:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-13 14:18:07 -0700
commit88c23fc6e8ed0243159fd17d815b4f813805647b (patch)
tree2828b480868a0e6cf34c914093494123abf0cec6 /src/gpu/GrGeometryProcessor.h
parent2d8d33e9e825f9919875be64a71b746189b385be (diff)
remove color from GrGeometryProcessor
Diffstat (limited to 'src/gpu/GrGeometryProcessor.h')
-rw-r--r--src/gpu/GrGeometryProcessor.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gpu/GrGeometryProcessor.h b/src/gpu/GrGeometryProcessor.h
index c380f20b0e..1c7fc9989b 100644
--- a/src/gpu/GrGeometryProcessor.h
+++ b/src/gpu/GrGeometryProcessor.h
@@ -19,13 +19,9 @@
*/
class GrGeometryProcessor : public GrPrimitiveProcessor {
public:
- // TODO the Hint can be handled in a much more clean way when we have deferred geometry or
- // atleast bundles
- GrGeometryProcessor(GrColor color,
- const SkMatrix& viewMatrix = SkMatrix::I(),
+ GrGeometryProcessor(const SkMatrix& viewMatrix = SkMatrix::I(),
const SkMatrix& localMatrix = SkMatrix::I())
: INHERITED(viewMatrix, localMatrix, false)
- , fColor(color)
, fWillUseGeoShader(false)
, fHasLocalCoords(false) {}
@@ -38,10 +34,6 @@ public:
SkFAIL("Unsupported\n");
return false;
}
-
- // TODO we can remove color from the GrGeometryProcessor base class once we have bundles of
- // primitive data
- GrColor color() const { return fColor; }
// TODO Delete when paths are in batch
void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
@@ -105,7 +97,6 @@ protected:
private:
bool hasExplicitLocalCoords() const override { return fHasLocalCoords; }
- GrColor fColor;
bool fWillUseGeoShader;
bool fHasLocalCoords;