From: reed@google.com Date: Mon, 11 Apr 2011 19:42:50 +0000 (+0000) Subject: mark viewport APIs as deprecated X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~18693 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24fb8e2cce1bb9b169555bdda798b419b134debe;p=platform%2Fupstream%2FlibSkiaSharp.git mark viewport APIs as deprecated git-svn-id: http://skia.googlecode.com/svn/trunk@1108 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 2dbf207..39fd998 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -78,12 +78,16 @@ 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);