Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index b2031e8a229ab517a7e35850c59c2e5f3f826fd3..2dfdaa60fc3bbbeb753007f12988e2a01bc8cb5c 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -22,6 +22,7 @@ struct SkDrawProcs; |
struct GrSkDrawProcs; |
class GrAccelData; |
+class GrTextureAdjuster; |
struct GrCachedLayer; |
/** |
@@ -234,6 +235,27 @@ private: |
int tileSize, |
bool bicubic); |
+ void drawTextureRect(GrTextureAdjuster*, |
+ bool alphaTexture, |
+ const SkRect& srcRect, |
+ const SkRect& dstRect, |
+ const SkMatrix& viewMatrix, |
+ const GrClip& clip, |
+ const SkPaint& paint, |
+ SkCanvas::SrcRectConstraint constraint); |
+ |
+ /** The localMatrix should be the transformation from the src rect to the dst rect. */ |
+ void drawTextureRectPrecomputedLocalMatrix(GrTextureAdjuster*, |
+ bool alphaTexture, |
+ const SkRect& srcRect, |
+ const SkRect& dstRect, |
+ const SkMatrix& viewMatrix, |
+ const SkMatrix& localMatrix, |
+ const GrClip& clip, |
+ const SkPaint& paint, |
+ SkCanvas::SrcRectConstraint constraint); |
+ |
+ |
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, const SkImageInfo&, |