Update Ganesh to support fractional rects in drawBitmapRect

https://codereview.appspot.com/6561070/



git-svn-id: http://skia.googlecode.com/svn/trunk@5724 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index 45ae05a..c9d54e5 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -157,14 +157,24 @@
     void prepareRenderTarget(const SkDraw&);
     bool shouldTileBitmap(const SkBitmap& bitmap,
                           const GrTextureParams& sampler,
-                          const SkIRect* srcRectPtr,
-                          int* tileSize) const;
+                          const SkRect* srcRectPtr) const;
     void internalDrawBitmap(const SkDraw&,
                             const SkBitmap&,
-                            const SkIRect&,
+                            const SkRect&,
                             const SkMatrix&,
                             const GrTextureParams& params,
                             GrPaint* grPaint);
+    void drawTiledBitmap(const SkDraw& draw,
+                         const SkBitmap& bitmap,
+                         const SkRect& srcRect,
+                         const SkMatrix& m,
+                         const GrTextureParams& params,
+                         GrPaint* grPaint);
+    void drawBitmapCommon(const SkDraw&, 
+                          const SkBitmap& bitmap,
+                          const SkRect* srcRectPtr,
+                          const SkMatrix&, 
+                          const SkPaint&);
 
     /**
      * Returns non-initialized instance.