aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-20 08:54:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-20 08:54:31 -0700
commitea70c4bb22394c8dcc29a369d3422a2b8f3b3e80 (patch)
tree8ae182d041ecae4d9819ec4dc259db30a6b23c5b /include
parentc1be9bc1696b50982eb6dda154a76f8dd7b7d438 (diff)
Remove SkDevice::accessRenderTarget virtual
Diffstat (limited to 'include')
-rw-r--r--include/core/SkDevice.h15
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); }