Chromium Code Reviews| Index: src/gpu/GrDrawState.h |
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
| index bfc15b01cd0c022d3b279d83c8705b1a82882096..2afb2a19f20d8801f28100d78ec29cee0eb9a6e6 100644 |
| --- a/src/gpu/GrDrawState.h |
| +++ b/src/gpu/GrDrawState.h |
| @@ -721,6 +721,12 @@ public: |
| GrStencilSettings* stencil() { return &fCommon.fStencilSettings; } |
| + void setStencilPathSettings(const GrStencilSettings& settings) { |
| + fCommon.fPathStencilSettings = settings; |
| + } |
| + |
| + const GrStencilSettings& getStencilPathSettings() const { return fCommon.fPathStencilSettings; } |
| + |
| /// @} |
| /////////////////////////////////////////////////////////////////////////// |
| @@ -931,6 +937,7 @@ private: |
| const GrVertexAttrib* fVAPtr; |
| int fVACount; |
| GrStencilSettings fStencilSettings; |
| + GrStencilSettings fPathStencilSettings; |
|
bsalomon
2013/09/13 20:25:28
Is this necessary? I'm wondering if we could have
Kimmo Kinnunen
2013/09/18 07:52:38
Done.
|
| GrColor fCoverage; |
| SkXfermode::Mode fColorFilterMode; |
| GrColor fColorFilterColor; |
| @@ -950,6 +957,7 @@ private: |
| fVACount == other.fVACount && |
| !memcmp(fVAPtr, other.fVAPtr, fVACount * sizeof(GrVertexAttrib)) && |
| fStencilSettings == other.fStencilSettings && |
| + fPathStencilSettings == other.fPathStencilSettings && |
| fCoverage == other.fCoverage && |
| fColorFilterMode == other.fColorFilterMode && |
| fColorFilterColor == other.fColorFilterColor && |