| Index: gpu/GLES2/gl2extchromium.h
|
| diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
|
| index 0bdf7174f17661920fbaec915204612fda881a81..d78f8effaf1a55131102b6fe3674f907be87abe7 100644
|
| --- a/gpu/GLES2/gl2extchromium.h
|
| +++ b/gpu/GLES2/gl2extchromium.h
|
| @@ -94,7 +94,7 @@ typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target);
|
| #endif
|
| #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */
|
|
|
| -/* GL_CHROMIUM_map_image */
|
| +/* GL_CHROMIUM_image */
|
| #ifndef GL_CHROMIUM_map_image
|
| #define GL_CHROMIUM_map_image 1
|
|
|
| @@ -102,21 +102,29 @@ typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target);
|
| #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0
|
| #endif
|
|
|
| -#ifndef GL_READ_WRITE
|
| -#define GL_READ_WRITE 0x88BA
|
| +#ifndef GL_IMAGE_MAP_CHROMIUM
|
| +#define GL_IMAGE_MAP_CHROMIUM 0x78F1
|
| +#endif
|
| +
|
| +#ifndef GL_IMAGE_SCANOUT_CHROMIUM
|
| +#define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2
|
| #endif
|
|
|
| #ifdef GL_GLEXT_PROTOTYPES
|
| -GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM(
|
| - GLsizei width, GLsizei height, GLenum internalformat);
|
| +GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM(GLsizei width,
|
| + GLsizei height,
|
| + GLenum internalformat,
|
| + GLenum usage);
|
| GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id);
|
| GL_APICALL void GL_APIENTRY glGetImageParameterivCHROMIUM(
|
| GLuint image_id, GLenum pname, GLint* params);
|
| -GL_APICALL void* GL_APIENTRY glMapImageCHROMIUM(GLuint image_id, GLenum access);
|
| +GL_APICALL void* GL_APIENTRY glMapImageCHROMIUM(GLuint image_id);
|
| GL_APICALL void GL_APIENTRY glUnmapImageCHROMIUM(GLuint image_id);
|
| #endif
|
| -typedef GLuint (GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC) (
|
| - GLsizei width, GLsizei height, GLenum internalformat);
|
| +typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)(
|
| + GLsizei width,
|
| + GLsizei height,
|
| + GLenum internalformat);
|
| typedef void (
|
| GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC) (GLuint image_id);
|
| typedef void (
|
|
|