| Index: src/gpu/GrPathProcessor.h
|
| diff --git a/src/gpu/GrPathProcessor.h b/src/gpu/GrPathProcessor.h
|
| index adf00577bfc46782791616adeb2a590315358197..b57f502a86964f2c38a1cf1dd8cfa0e58f57d2c1 100644
|
| --- a/src/gpu/GrPathProcessor.h
|
| +++ b/src/gpu/GrPathProcessor.h
|
| @@ -10,13 +10,6 @@
|
|
|
| #include "GrPrimitiveProcessor.h"
|
|
|
| -struct PathBatchTracker {
|
| - GrGPInput fInputColorType;
|
| - GrGPInput fInputCoverageType;
|
| - GrColor fColor;
|
| - bool fUsesLocalCoords;
|
| -};
|
| -
|
| /*
|
| * The path equivalent of the GP. For now this just manages color. In the long term we plan on
|
| * extending this class to handle all nvpr uniform / varying / program work.
|
| @@ -30,29 +23,18 @@ public:
|
| return new GrPathProcessor(color, opts, viewMatrix, localMatrix);
|
| }
|
|
|
| - void initBatchTracker(GrBatchTracker*, const GrPipelineOptimizations&) const override;
|
| -
|
| - bool isEqual(const GrBatchTracker& mine,
|
| - const GrPrimitiveProcessor& that,
|
| - const GrBatchTracker& theirs) const;
|
| -
|
| const char* name() const override { return "PathProcessor"; }
|
|
|
| GrColor color() const { return fColor; }
|
| const SkMatrix& viewMatrix() const { return fViewMatrix; }
|
| const SkMatrix& localMatrix() const { return fLocalMatrix; }
|
|
|
| - void getInvariantOutputColor(GrInitInvariantOutput* out) const override;
|
| - void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override;
|
| -
|
| bool willUseGeoShader() const override { return false; }
|
|
|
| - virtual void getGLProcessorKey(const GrBatchTracker& bt,
|
| - const GrGLSLCaps& caps,
|
| + virtual void getGLProcessorKey(const GrGLSLCaps& caps,
|
| GrProcessorKeyBuilder* b) const override;
|
|
|
| - virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt,
|
| - const GrGLSLCaps& caps) const override;
|
| + virtual GrGLPrimitiveProcessor* createGLInstance(const GrGLSLCaps& caps) const override;
|
|
|
| bool hasTransformedLocalCoords() const override { return false; }
|
|
|
|
|