Index: src/gpu/GrClipMaskManager.h |
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h |
index 149f760f9c3795b9c6f553ff7d5f7974e1ca4113..128bf15357e60d60ed9353d60e1a1ab49ede82d3 100644 |
--- a/src/gpu/GrClipMaskManager.h |
+++ b/src/gpu/GrClipMaskManager.h |
@@ -67,14 +67,6 @@ public: |
const SkRect* devBounds, |
GrAppliedClip*); |
- bool isClipInStencil() const { |
- return kStencil_ClipMaskType == fCurrClipMaskType; |
- } |
- |
- bool isClipInAlpha() const { |
- return kAlpha_ClipMaskType == fCurrClipMaskType; |
- } |
- |
void adjustPathStencilParams(const GrStencilAttachment*, GrStencilSettings*); |
private: |
@@ -170,17 +162,6 @@ private: |
GrTexture* createCachedMask(int width, int height, const GrUniqueKey& key, bool renderTarget); |
- /** |
- * We may represent the clip as a mask in the stencil buffer or as an alpha |
- * texture. It may be neither because the scissor rect suffices or we |
- * haven't yet examined the clip. |
- */ |
- enum ClipMaskType { |
- kNone_ClipMaskType, |
- kStencil_ClipMaskType, |
- kAlpha_ClipMaskType, |
- } fCurrClipMaskType; |
- |
static const int kMaxAnalyticElements = 4; |
GrDrawTarget* fDrawTarget; // This is our owning draw target. |