mark viewport APIs as deprecated
git-svn-id: http://skia.googlecode.com/svn/trunk@1108 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
a7bf6e2665
commit
24fb8e2cce
@ -78,12 +78,16 @@ public:
|
|||||||
/** If the Device supports GL viewports, return true and set size (if not
|
/** 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
|
null) to the size of the viewport. If it is not supported, ignore size
|
||||||
and return false.
|
and return false.
|
||||||
|
|
||||||
|
DEPRECATED: the gpu-device backend takes care of managing the viewport
|
||||||
*/
|
*/
|
||||||
virtual bool getViewport(SkIPoint* size) const;
|
virtual bool getViewport(SkIPoint* size) const;
|
||||||
|
|
||||||
/** If the Device supports GL viewports, return true and set the viewport
|
/** 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
|
to the specified x and y dimensions. If it is not supported, ignore x
|
||||||
and y and return false.
|
and y and return false.
|
||||||
|
|
||||||
|
DEPRECATED: the gpu-device backend takes care of managing the viewport
|
||||||
*/
|
*/
|
||||||
virtual bool setViewport(int x, int y);
|
virtual bool setViewport(int x, int y);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user