Index: src/gpu/GrDefaultGeoProcFactory.cpp |
diff --git a/src/gpu/GrDefaultGeoProcFactory.cpp b/src/gpu/GrDefaultGeoProcFactory.cpp |
index cefc93336eb8b0115592ee4e2354b62fb9a2535d..dd1fde5dc6b91b29117ec85a885d995fb6ddaf29 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.cpp |
+++ b/src/gpu/GrDefaultGeoProcFactory.cpp |
@@ -55,7 +55,7 @@ public: |
class GLProcessor : public GrGLGeometryProcessor { |
public: |
- GLProcessor(const GrGeometryProcessor& gp, const GrBatchTracker&) |
+ GLProcessor() |
: fViewMatrix(SkMatrix::InvalidMatrix()), fColor(GrColor_ILLEGAL), fCoverage(0xff) {} |
void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { |
@@ -115,7 +115,6 @@ public: |
} |
static inline void GenKey(const GrGeometryProcessor& gp, |
- const GrBatchTracker& bt, |
const GrGLSLCaps&, |
GrProcessorKeyBuilder* b) { |
const DefaultGeoProc& def = gp.cast<DefaultGeoProc>(); |
@@ -132,8 +131,7 @@ public: |
} |
virtual void setData(const GrGLProgramDataManager& pdman, |
- const GrPrimitiveProcessor& gp, |
- const GrBatchTracker& bt) override { |
+ const GrPrimitiveProcessor& gp) override { |
const DefaultGeoProc& dgp = gp.cast<DefaultGeoProc>(); |
if (!dgp.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(dgp.viewMatrix())) { |
@@ -175,15 +173,13 @@ public: |
typedef GrGLGeometryProcessor INHERITED; |
}; |
- virtual void getGLProcessorKey(const GrBatchTracker& bt, |
- const GrGLSLCaps& caps, |
+ virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
GrProcessorKeyBuilder* b) const override { |
- GLProcessor::GenKey(*this, bt, caps, b); |
+ GLProcessor::GenKey(*this, caps, b); |
} |
- virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, |
- const GrGLSLCaps&) const override { |
- return new GLProcessor(*this, bt); |
+ virtual GrGLPrimitiveProcessor* createGLInstance(const GrGLSLCaps&) const override { |
bsalomon
2015/09/10 18:55:30
-virtual?
joshualitt
2015/09/10 20:08:04
Acknowledged.
|
+ return new GLProcessor(); |
} |
private: |