Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index e38b913a2270c90d8e15908e84545c5da02cac7d..63a56ddd2d42bebd0bf4a38190a2521d0f9652a4 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -10,7 +10,6 @@ |
#include "GrPipelineBuilder.h" |
#include "GrProgramDesc.h" |
-#include "GrStencil.h" |
#include "GrSwizzle.h" |
#include "GrAllocator.h" |
#include "GrTextureParamsAdjuster.h" |
@@ -34,6 +33,7 @@ class GrPipeline; |
class GrPrimitiveProcessor; |
class GrRenderTarget; |
class GrStencilAttachment; |
+class GrStencilSettings; |
class GrSurface; |
class GrTexture; |
@@ -485,17 +485,6 @@ public: |
virtual void resetShaderCacheForTesting() const {} |
protected: |
- // Functions used to map clip-respecting stencil tests into normal |
- // stencil funcs supported by GPUs. |
- static GrStencilFunc ConvertStencilFunc(bool stencilInClip, |
- GrStencilFunc func); |
- static void ConvertStencilFuncAndMask(GrStencilFunc func, |
- bool clipInStencil, |
- unsigned int clipBit, |
- unsigned int userBits, |
- unsigned int* ref, |
- unsigned int* mask); |
- |
static void ElevateDrawPreference(GrGpu::DrawPreference* preference, |
GrGpu::DrawPreference elevation) { |
GR_STATIC_ASSERT(GrGpu::kCallerPrefersDraw_DrawPreference > GrGpu::kNoDraw_DrawPreference); |