mark viewport APIs as deprecated
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 11 Apr 2011 19:42:50 +0000 (19:42 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 11 Apr 2011 19:42:50 +0000 (19:42 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@1108 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkCanvas.h

index 2dbf207..39fd998 100644 (file)
@@ -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);