Replace fixed-size array of effect stages in GrDrawState with two appendable arrays, one for color, one for coverage.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/16952006
git-svn-id: http://skia.googlecode.com/svn/trunk@9592 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index 6d9d6f6..121737b 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -10,6 +10,7 @@
#define GrClipMaskManager_DEFINED
#include "GrContext.h"
+#include "GrDrawState.h"
#include "GrNoncopyable.h"
#include "GrRect.h"
#include "GrReducedClip.h"
@@ -29,7 +30,6 @@
class GrPathRendererChain;
class SkPath;
class GrTexture;
-class GrDrawState;
/**
* The clip mask creator handles the generation of the clip mask. If anti
@@ -51,7 +51,7 @@
* and sets the GrGpu's scissor and stencil state. If the return is false
* then the draw can be skipped.
*/
- bool setupClipping(const GrClipData* clipDataIn);
+ bool setupClipping(const GrClipData* clipDataIn, GrDrawState::AutoRestoreEffects*);
void releaseResources();