diff options
author | alexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-06 17:16:54 +0000 |
---|---|---|
committer | alexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-06 17:16:54 +0000 |
commit | d0eed26269fb7026938db68094e1e30077a044e5 (patch) | |
tree | 2971bd9c2bf6339437c729ea29295ce3a7ee8ce9 /cc/test/test_gles2_interface.h | |
parent | 9af439a537208fc73a8b513c6f2440606890ad44 (diff) | |
download | chromium_src-d0eed26269fb7026938db68094e1e30077a044e5.zip chromium_src-d0eed26269fb7026938db68094e1e30077a044e5.tar.gz chromium_src-d0eed26269fb7026938db68094e1e30077a044e5.tar.bz2 |
Rearrange GLImage API to create them with a usage type
instead of using usage type while mapping the buffer.
BUG=
Review URL: https://codereview.chromium.org/255713008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_gles2_interface.h')
-rw-r--r-- | cc/test/test_gles2_interface.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/test/test_gles2_interface.h b/cc/test/test_gles2_interface.h index a52d73e..417bf4a 100644 --- a/cc/test/test_gles2_interface.h +++ b/cc/test/test_gles2_interface.h @@ -126,9 +126,10 @@ class TestGLES2Interface : public gpu::gles2::GLES2InterfaceStub { virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) OVERRIDE; virtual GLuint CreateImageCHROMIUM(GLsizei width, GLsizei height, - GLenum internalformat) OVERRIDE; + GLenum internalformat, + GLenum usage) OVERRIDE; virtual void DestroyImageCHROMIUM(GLuint image_id) OVERRIDE; - virtual void* MapImageCHROMIUM(GLuint image_id, GLenum access) OVERRIDE; + virtual void* MapImageCHROMIUM(GLuint image_id) OVERRIDE; virtual void GetImageParameterivCHROMIUM(GLuint image_id, GLenum pname, GLint* params) OVERRIDE; |