Chromium Code Reviews| Index: gpu/GLES2/gl2extchromium.h |
| diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
| index 9193467c4e82e07dc2a31106d46be79e916a7aad..bc8eed5cef5a82d1842e3f5aec9c88fb4ab0d787 100644 |
| --- a/gpu/GLES2/gl2extchromium.h |
| +++ b/gpu/GLES2/gl2extchromium.h |
| @@ -94,6 +94,35 @@ typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target); |
| #endif |
| #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */ |
| +/* GL_CHROMIUM_gpu_memory_buffer */ |
| +#ifndef GL_CHROMIUM_gpu_memory_buffer |
| +#define GL_CHROMIUM_gpu_memory_buffer 1 |
|
no sievers
2013/05/08 21:54:20
Should this be renamed now that GpuMemoryBuffer is
|
| + |
| +#ifndef GL_IMAGE_ROWBYTES |
| +#define GL_IMAGE_ROWBYTES 0x78F0 |
| +#endif |
| + |
| +#ifdef GL_GLEXT_PROTOTYPES |
| +GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM( |
| + GLsizei width, GLsizei height); |
| +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 GLboolean GL_APIENTRY glUnmapImageCHROMIUM(GLuint image_id); |
| +#endif |
| +typedef GLuint ( |
| + GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC) (GLsizei width, GLsizei height); |
| +typedef void ( |
| + GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC) (GLuint image_id); |
| +typedef void ( |
| + GL_APIENTRYP PFNGLGETIMAGEPARAMETERIVCHROMIUMPROC) ( |
| + GLuint image_id, GLenum pname, GLint* params); |
| +typedef void* (GL_APIENTRYP PFNGLMAPIMAGECHROMIUMPROC) ( |
| + GLuint image_id, GLenum access); |
| +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPIMAGECHROMIUMPROC) (GLuint image_id); |
| +#endif /* GL_CHROMIUM_gpu_memory_buffer */ |
| + |
| /* GL_CHROMIUM_map_sub */ |
| #ifndef GL_CHROMIUM_map_sub |
| #define GL_CHROMIUM_map_sub 1 |