diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkCanvas.h | 16 | ||||
-rw-r--r-- | include/utils/SkProxyCanvas.h | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index b1222eb874..273153f991 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -75,22 +75,6 @@ public: /////////////////////////////////////////////////////////////////////////// - /** If the Device supports GL viewports, return true and set size (if not - null) to the size of the viewport. If it is not supported, ignore size - and return false. - - DEPRECATED: the gpu-device backend takes care of managing the viewport - */ - virtual bool getViewport(SkIPoint* size) const; - - /** If the Device supports GL viewports, return true and set the viewport - to the specified x and y dimensions. If it is not supported, ignore x - and y and return false. - - DEPRECATED: the gpu-device backend takes care of managing the viewport - */ - virtual bool setViewport(int x, int y); - /** Return the canvas' device object, which may be null. The device holds the bitmap of the pixels that the canvas draws into. The reference count of the returned device is not changed by this call. diff --git a/include/utils/SkProxyCanvas.h b/include/utils/SkProxyCanvas.h index 98ef778193..6e55aa6251 100644 --- a/include/utils/SkProxyCanvas.h +++ b/include/utils/SkProxyCanvas.h @@ -21,8 +21,6 @@ public: // overrides from SkCanvas - virtual bool getViewport(SkIPoint* size) const; - virtual int save(SaveFlags flags = kMatrixClip_SaveFlag); virtual int saveLayer(const SkRect* bounds, const SkPaint* paint, SaveFlags flags = kARGB_ClipLayer_SaveFlag); |