Index: gpu/GLES2/gl2extchromium.h |
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
index 9193467c4e82e07dc2a31106d46be79e916a7aad..2c95f072a47a42f3f1ef43e1036b1a94b900b895 100644 |
--- a/gpu/GLES2/gl2extchromium.h |
+++ b/gpu/GLES2/gl2extchromium.h |
@@ -94,6 +94,27 @@ 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 |
+ |
+#ifndef GL_IMAGE_BUFFER_CHROMIUM |
+#define GL_IMAGE_BUFFER_CHROMIUM 0x78F0 |
+#endif |
+ |
+#ifndef GL_IMAGE_BUFFER_BINDING_CHROMIUM |
+#define GL_IMAGE_BUFFER_BINDING_CHROMIUM 0x78F1 |
+#endif |
+ |
+#ifdef GL_GLEXT_PROTOTYPES |
+GL_APICALL void GL_APIENTRY glCreateGpuMemoryBuffer2DCHROMIUM( |
+ GLuint image_id, GLsizei width, GLsizei height); |
+#endif |
+typedef void ( |
+ GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFER2DCHROMIUMPROC) ( |
+ GLuint image_id, GLsizei width, GLsizei height); |
+#endif /* GL_CHROMIUM_gpu_memory_buffer */ |
+ |
/* GL_CHROMIUM_map_sub */ |
#ifndef GL_CHROMIUM_map_sub |
#define GL_CHROMIUM_map_sub 1 |