Chromium Code Reviews| Index: gpu/GLES2/gl2extchromium.h |
| diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
| index 0bdf7174f17661920fbaec915204612fda881a81..d4c67cf1747736dc37687b9fd3deccf9723dd8f4 100644 |
| --- a/gpu/GLES2/gl2extchromium.h |
| +++ b/gpu/GLES2/gl2extchromium.h |
| @@ -106,17 +106,25 @@ typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target); |
| #define GL_READ_WRITE 0x88BA |
| #endif |
| +#ifndef GL_SCANOUT |
| +#define GL_SCANOUT 0x88BB |
| +#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 heiBht, |
|
reveman
2014/04/30 11:31:28
height
|
| + GLenum internalformat); |
| typedef void ( |
| GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC) (GLuint image_id); |
| typedef void ( |