diff options
author | 2013-01-28 16:42:38 +0000 | |
---|---|---|
committer | 2013-01-28 16:42:38 +0000 | |
commit | ef5dbe1cd90fe586f165e54cb6f7608942610793 (patch) | |
tree | d3634e1c6676c96145f8047c17d94fb8b6e5f11f /include/gpu/GrRenderTarget.h | |
parent | 02ddc8b85ace91b15feb329a6a1d5d62b2b846c6 (diff) |
Add an origin flag for backend (external) textures. Some textures in WebKit have a topdown orientation, and skia needs to be notified of this, so that they are not drawn upside-down.
Review URL: https://codereview.appspot.com/7200048
git-svn-id: http://skia.googlecode.com/svn/trunk@7414 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrRenderTarget.h')
-rw-r--r-- | include/gpu/GrRenderTarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h index 4e77466b9a..19a37a5d8b 100644 --- a/include/gpu/GrRenderTarget.h +++ b/include/gpu/GrRenderTarget.h @@ -142,7 +142,7 @@ protected: bool isWrapped, GrTexture* texture, const GrTextureDesc& desc, - Origin origin) + GrSurfaceOrigin origin) : INHERITED(gpu, isWrapped, desc, origin) , fStencilBuffer(NULL) , fTexture(texture) { |