Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index b2031e8a229ab517a7e35850c59c2e5f3f826fd3..8816589ebf3cc39dac40fcad1433bc1b9a2bd9a6 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; |
/** |
@@ -224,6 +225,7 @@ private: |
SkCanvas::SrcRectConstraint, |
bool bicubic, |
bool needsTextureDomain); |
+ |
void drawTiledBitmap(const SkBitmap& bitmap, |
const SkMatrix& viewMatrix, |
const SkRect& srcRect, |
@@ -234,6 +236,25 @@ private: |
int tileSize, |
bool bicubic); |
+ void drawTextureAdjuster(GrTextureAdjuster* adjuster, |
+ bool alphaOnly, |
+ const SkRect* srcRect, |
+ const SkRect* dstRect, |
+ SkCanvas::SrcRectConstraint constraint, |
+ const SkMatrix& viewMatrix, |
+ const GrClip& clip, |
+ const SkPaint& paint); |
+ |
+ void drawTextureAdjusterImpl(GrTextureAdjuster*, |
+ bool alphaOnly, |
+ const SkRect& clippedSrcRect, |
+ const SkRect& clippedDstRect, |
+ SkCanvas::SrcRectConstraint constraint, |
+ const SkMatrix& viewMatrix, |
+ const SkMatrix& srcToDstMatrix, |
+ const GrClip& clip, |
+ const SkPaint& paint); |
+ |
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, const SkImageInfo&, |