Added getConservativeBound helper function to GrClipData

http://codereview.appspot.com/6454054/



git-svn-id: http://skia.googlecode.com/svn/trunk@4798 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
index a017fe3..d6655dd 100644
--- a/include/gpu/GrClip.h
+++ b/include/gpu/GrClip.h
@@ -17,6 +17,8 @@
 #include "SkPath.h"
 #include "SkTArray.h"
 
+class GrSurface;
+
 class GrClip {
 public:
     GrClip();
@@ -241,6 +243,10 @@
     bool operator!=(const GrClipData& other) const { 
         return !(*this == other); 
     }
+
+    void getConservativeBounds(const GrSurface* surface, 
+                               GrIRect* result,
+                               bool* isIntersectionOfRects = NULL) const;
 };
 
 #endif