Index: include/gpu/GrGeometryProcessor.h |
diff --git a/include/gpu/GrGeometryProcessor.h b/include/gpu/GrGeometryProcessor.h |
index 287d7e11845b97edb2cbb96c2ac9a079b2130bca..60928f2f10be706fb1702dd179727a140187c925 100644 |
--- a/include/gpu/GrGeometryProcessor.h |
+++ b/include/gpu/GrGeometryProcessor.h |
@@ -23,8 +23,7 @@ |
*/ |
class GrGeometryProcessor : public GrProcessor { |
public: |
- GrGeometryProcessor() |
- : fWillUseGeoShader(false) {} |
+ GrGeometryProcessor() {} |
virtual const GrBackendGeometryProcessorFactory& getFactory() const = 0; |
@@ -37,8 +36,6 @@ |
typedef SkTArray<GrShaderVar, true> VertexAttribArray; |
const VertexAttribArray& getVertexAttribs() const { return fVertexAttribs; } |
- |
- bool willUseGeoShader() const { return fWillUseGeoShader; } |
/** Returns true if this and other processor conservatively draw identically. It can only return |
true when the two prcoessors are of the same subclass (i.e. they return the same object from |
@@ -64,13 +61,10 @@ |
return fVertexAttribs.push_back(var); |
} |
- void setWillUseGeoShader() { fWillUseGeoShader = true; } |
- |
private: |
virtual bool onIsEqual(const GrGeometryProcessor&) const = 0; |
SkSTArray<kMaxVertexAttribs, GrShaderVar, true> fVertexAttribs; |
- bool fWillUseGeoShader; |
typedef GrProcessor INHERITED; |
}; |