aboutsummaryrefslogtreecommitdiff
path: root/src/core/SkDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkDevice.h')
-rw-r--r--src/core/SkDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkDevice.h b/src/core/SkDevice.h
index c7b993cf22..ccfbba8f6d 100644
--- a/src/core/SkDevice.h
+++ b/src/core/SkDevice.h
@@ -271,6 +271,8 @@ protected:
bool readPixels(const SkPixmap&, int x, int y);
+ virtual sk_sp<SkSpecialImage> snapBackImage(const SkIRect&); // default returns null
+
///////////////////////////////////////////////////////////////////////////
virtual GrContext* context() const { return nullptr; }