Index: src/gpu/effects/GrBezierEffect.h |
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h |
index 5f7bf1d5104cea0bf75d5b9461ac45ecaf0b25d1..0ceefb1bb448a39ab1a8ff88eec4dbdf7b55bfd2 100644 |
--- a/src/gpu/effects/GrBezierEffect.h |
+++ b/src/gpu/effects/GrBezierEffect.h |
@@ -98,6 +98,7 @@ public: |
inline bool isFilled() const { return GrProcessorEdgeTypeIsFill(fEdgeType); } |
inline GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; } |
GrColor color() const { return fColor; } |
+ const SkMatrix& viewMatrix() const { return fViewMatrix; } |
virtual void getGLProcessorKey(const GrBatchTracker& bt, |
const GrGLSLCaps& caps, |
@@ -113,6 +114,7 @@ private: |
const SkMatrix& localMatrix); |
GrColor fColor; |
robertphillips
2015/05/14 16:35:24
const ?
|
+ SkMatrix fViewMatrix; |
uint8_t fCoverageScale; |
GrPrimitiveEdgeType fEdgeType; |
const Attribute* fInPosition; |
@@ -176,6 +178,7 @@ public: |
inline bool isFilled() const { return GrProcessorEdgeTypeIsFill(fEdgeType); } |
inline GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; } |
GrColor color() const { return fColor; } |
+ const SkMatrix& viewMatrix() const { return fViewMatrix; } |
virtual void getGLProcessorKey(const GrBatchTracker& bt, |
const GrGLSLCaps& caps, |
@@ -191,6 +194,7 @@ private: |
const SkMatrix& localMatrix); |
GrColor fColor; |
robertphillips
2015/05/14 16:35:24
const ?
|
+ SkMatrix fViewMatrix; |
uint8_t fCoverageScale; |
GrPrimitiveEdgeType fEdgeType; |
const Attribute* fInPosition; |
@@ -250,6 +254,7 @@ public: |
inline bool isFilled() const { return GrProcessorEdgeTypeIsFill(fEdgeType); } |
inline GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; } |
GrColor color() const { return fColor; } |
+ const SkMatrix& viewMatrix() const { return fViewMatrix; } |
virtual void getGLProcessorKey(const GrBatchTracker& bt, |
const GrGLSLCaps& caps, |
@@ -264,6 +269,7 @@ private: |
GrCubicEffect(GrColor, const SkMatrix& viewMatrix, GrPrimitiveEdgeType); |
GrColor fColor; |
robertphillips
2015/05/14 16:35:24
const ?
|
+ SkMatrix fViewMatrix; |
GrPrimitiveEdgeType fEdgeType; |
const Attribute* fInPosition; |
const Attribute* fInCubicCoeffs; |