Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 2185f162d789b19bd28fce0fd3dae6c1edbe5b6a..d5fe04febf7d61b58b068bce36cd5f73f93de2e3 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -122,6 +122,11 @@ public: |
void drawBitmapNine(const SkDraw& draw, const SkBitmap& bitmap, const SkIRect& center, |
const SkRect& dst, const SkPaint& paint) override; |
+ void drawImageLattice(const SkDraw&, const SkImage*, const SkCanvas::Lattice&, |
+ const SkRect& dst, const SkPaint&) override; |
+ void drawBitmapLattice(const SkDraw&, const SkBitmap&, const SkCanvas::Lattice&, |
+ const SkRect& dst, const SkPaint&) override; |
+ |
void drawSpecial(const SkDraw&, SkSpecialImage*, |
int left, int top, const SkPaint& paint) override; |
sk_sp<SkSpecialImage> makeSpecial(const SkBitmap&) override; |
@@ -243,6 +248,9 @@ private: |
void drawProducerNine(const SkDraw&, GrTextureProducer*, const SkIRect& center, |
const SkRect& dst, const SkPaint&); |
+ void drawProducerLattice(const SkDraw&, GrTextureProducer*, const SkCanvas::Lattice& lattice, |
+ const SkRect& dst, const SkPaint&); |
+ |
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
void drawStrokedLine(const SkPoint pts[2], const SkDraw&, const SkPaint&); |