Index: src/gpu/GrPathProcessor.h |
diff --git a/src/gpu/GrPathProcessor.h b/src/gpu/GrPathProcessor.h |
index 5b233782c6ee99903996cf6f16c48c11e7be82af..39b0b7afef3b55ded9c3d0c3d0e9ba45b5b711fd 100644 |
--- a/src/gpu/GrPathProcessor.h |
+++ b/src/gpu/GrPathProcessor.h |
@@ -37,6 +37,7 @@ public: |
const char* name() const override { return "PathProcessor"; } |
+ const SkMatrix& viewMatrix() const { return fViewMatrix; } |
GrColor color() const { return fColor; } |
void getInvariantOutputColor(GrInitInvariantOutput* out) const override; |
@@ -51,12 +52,11 @@ public: |
virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, |
const GrGLSLCaps& caps) const override; |
-protected: |
- GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix); |
- |
private: |
+ GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix); |
bool hasExplicitLocalCoords() const override { return false; } |
+ const SkMatrix fViewMatrix; |
GrColor fColor; |
typedef GrPrimitiveProcessor INHERITED; |