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/GrGpu.h b/src/gpu/GrGpu.h
index 5b556c5..3acfac2 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -365,7 +365,9 @@
}
// prepares clip flushes gpu state before a draw
- bool setupClipAndFlushState(DrawType, const GrDeviceCoordTexture* dstCopy);
+ bool setupClipAndFlushState(DrawType,
+ const GrDeviceCoordTexture* dstCopy,
+ GrDrawState::AutoRestoreEffects* are);
// Functions used to map clip-respecting stencil tests into normal
// stencil funcs supported by GPUs.