Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 4c6a0f37abb5ad5df786cfbc1b436f93661293ef..f749581cb62776a335da32fb9ef1e826ac64c08e 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -118,8 +118,8 @@ public: |
const SkPaint&) override; |
void drawAtlas(const SkDraw&, const SkImage* atlas, const SkRSXform[], const SkRect[], |
const SkColor[], int count, SkXfermode::Mode, const SkPaint&) override; |
- virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
- const SkPaint&) override; |
+ void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, const SkPaint&) override; |
+ |
void drawImage(const SkDraw&, const SkImage*, SkScalar x, SkScalar y, const SkPaint&) override; |
void drawImageRect(const SkDraw&, const SkImage*, const SkRect* src, const SkRect& dst, |
const SkPaint&, SkCanvas::SrcRectConstraint) override; |
@@ -218,6 +218,15 @@ private: |
bool bicubic, |
bool needsTextureDomain); |
+ sk_sp<GrTexture> filterTexture(const SkDraw& draw, sk_sp<GrTexture> texture, |
+ uint32_t generationID, const SkIRect& srcSubset, |
+ int left, int top, |
+ SkIRect* subset, SkIPoint* offset, const SkImageFilter* filter); |
+ |
+ void internalDrawSprite(const SkDraw& draw, sk_sp<GrTexture> texture, |
+ uint32_t generationID, const SkIRect& srcRect, |
+ int left, int top, const SkPaint& paint); |
+ |
void drawTiledBitmap(const SkBitmap& bitmap, |
const SkMatrix& viewMatrix, |
const SkRect& srcRect, |