Split createAlphaClipMask in two to allow reuse with SW-only path

http://codereview.appspot.com/6198065/



git-svn-id: http://skia.googlecode.com/svn/trunk@3910 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index 9c72552..5ab189d 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -295,6 +295,15 @@
                              const GrClip& clipIn,
                              GrTexture** result,
                              GrRect *resultBounds);
+    bool createSoftwareClipMask(GrGpu* gpu,
+                                const GrClip& clipIn,
+                                GrTexture** result,
+                                GrRect *resultBounds);
+    bool clipMaskPreamble(GrGpu* gpu,
+                          const GrClip& clipIn,
+                          GrTexture** result,
+                          GrRect *resultBounds,
+                          GrTexture** maskStorage);
 
     bool drawPath(GrGpu* gpu,
                   const SkPath& path,
@@ -311,9 +320,7 @@
                      const GrRect& rect,
                      GrTexture* texture);
 
-    void getAccum(GrGpu* gpu,
-                  const GrTextureDesc& desc,
-                  GrTexture** accum);
+    void getAccum(GrGpu* gpu, const GrRect& bounds, GrTexture** accum);
 
     // determines the path renderer used to draw a clip path element.
     GrPathRenderer* getClipPathRenderer(GrGpu* gpu,