Tile large bitmaps that are clipped.

R=robertphillips@google.com

Review URL: https://codereview.chromium.org/31033002

git-svn-id: http://skia.googlecode.com/svn/trunk/include@11951 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/SkGpuDevice.h b/gpu/SkGpuDevice.h
index debfd37..81e0324 100644
--- a/gpu/SkGpuDevice.h
+++ b/gpu/SkGpuDevice.h
@@ -188,7 +188,9 @@
      */
     bool shouldTileBitmap(const SkBitmap& bitmap,
                           const GrTextureParams& sampler,
-                          const SkRect* srcRectPtr) const;
+                          const SkRect* srcRectPtr,
+                          int maxTileSize,
+                          int* tileSize) const;
     void internalDrawBitmap(const SkBitmap&,
                             const SkRect&,
                             const GrTextureParams& params,
@@ -198,7 +200,8 @@
                          const SkRect& srcRect,
                          const GrTextureParams& params,
                          const SkPaint& paint,
-                         SkCanvas::DrawBitmapRectFlags flags);
+                         SkCanvas::DrawBitmapRectFlags flags,
+                         int tileSize);
 
     /**
      * Returns non-initialized instance.