diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkDevice.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index 827897c20e..76d464445c 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -105,16 +105,6 @@ public: bool peekPixels(SkPixmap*); /** - * Return the device's associated gpu render target, or NULL. - */ - virtual GrRenderTarget* accessRenderTarget() { return nullptr; } - - /** - * Don't call this! - */ - virtual GrDrawContext* accessDrawContext() { return nullptr; } - - /** * Return the device's origin: its offset in device coordinates from * the default origin in its canvas' matrix/clip */ @@ -385,6 +375,11 @@ private: virtual bool forceConservativeRasterClip() const { return false; } + /** + * Don't call this! + */ + virtual GrDrawContext* accessDrawContext() { return nullptr; } + // just called by SkCanvas when built as a layer void setOrigin(int x, int y) { fOrigin.set(x, y); } |