diff options
author | 2011-02-18 16:09:55 +0000 | |
---|---|---|
committer | 2011-02-18 16:09:55 +0000 | |
commit | 8895a7a0e222de4530e506e43eaa5e6030e8c5ed (patch) | |
tree | 1493fb4cf14a7cfaccf86a16302495d7c27d61f5 /gpu/include/GrTexture.h | |
parent | ce2b1afb582f0a2274f476c949cff8b0e1c72b36 (diff) |
Reduce glGets for stencil bits.
Clean up GL vs Gr rect conventions for viewport and scissor.
Review URL: http://codereview.appspot.com/4185056/
git-svn-id: http://skia.googlecode.com/svn/trunk@813 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrTexture.h')
-rw-r--r-- | gpu/include/GrTexture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/include/GrTexture.h b/gpu/include/GrTexture.h index 5b3ed09517..098ac595a2 100644 --- a/gpu/include/GrTexture.h +++ b/gpu/include/GrTexture.h @@ -34,11 +34,11 @@ public: /** * @return the width of the rendertarget */ - virtual uint32_t width() const = 0; + virtual int width() const = 0; /** * @return the height of the rendertarget */ - virtual uint32_t height() const = 0; + virtual int height() const = 0; /** * @return the texture associated with the rendertarget, may be NULL. |