Chromium Code Reviews| Index: gpu/command_buffer/client/gles2_c_lib_autogen.h |
| diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h |
| index 52582f69229d5ebd74ebd94be03e214743a9ffe1..6ad04d2e84316c18f397076af1def38e0fe43a71 100644 |
| --- a/gpu/command_buffer/client/gles2_c_lib_autogen.h |
| +++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h |
| @@ -737,8 +737,8 @@ void* GLES2MapBufferCHROMIUM(GLuint target, GLenum access) { |
| GLboolean GLES2UnmapBufferCHROMIUM(GLuint target) { |
| return gles2::GetGLContext()->UnmapBufferCHROMIUM(target); |
| } |
| -void* GLES2MapImageCHROMIUM(GLuint image_id, GLenum access) { |
| - return gles2::GetGLContext()->MapImageCHROMIUM(image_id, access); |
| +void* GLES2MapImageCHROMIUM(GLuint image_id) { |
| + return gles2::GetGLContext()->MapImageCHROMIUM(image_id); |
| } |
| void GLES2UnmapImageCHROMIUM(GLuint image_id) { |
| gles2::GetGLContext()->UnmapImageCHROMIUM(image_id); |
| @@ -798,9 +798,10 @@ GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { |
| } |
| GLuint GLES2CreateImageCHROMIUM(GLsizei width, |
| GLsizei height, |
| - GLenum internalformat) { |
| + GLenum internalformat, |
| + GLenum usage) { |
|
piman
2014/05/02 20:21:18
These functions are autogenerated by gpu/command_b
alexst (slow to review)
2014/05/02 22:06:17
Interesting, I expected the definitions to come fr
|
| return gles2::GetGLContext()->CreateImageCHROMIUM( |
| - width, height, internalformat); |
| + width, height, internalformat, usage); |
| } |
| void GLES2DestroyImageCHROMIUM(GLuint image_id) { |
| gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); |