Index: gpu/GLES2/gl2extchromium.h |
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
index 51af9dc02bc2601036de2930c0fe0181dbdba33f..15524418042873edf7b791cbf4e542d34834ffa5 100644 |
--- a/gpu/GLES2/gl2extchromium.h |
+++ b/gpu/GLES2/gl2extchromium.h |
@@ -111,6 +111,10 @@ typedef void ( |
#ifndef GL_CHROMIUM_gpu_memory_buffer_image |
#define GL_CHROMIUM_gpu_memory_buffer_image 1 |
+#ifndef GL_BGR |
+#define GL_BGR 0x80E0 |
+#endif |
+ |
#ifndef GL_READ_WRITE_CHROMIUM |
#define GL_READ_WRITE_CHROMIUM 0x78F2 |
#endif |
@@ -783,6 +787,7 @@ GL_APICALL void GL_APIENTRY glUniformValuebufferCHROMIUM(GLint location, |
GL_APICALL void GL_APIENTRY |
glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
GLenum plane_transform, |
+ GLuint storage_format, |
GLuint overlay_texture_id, |
GLint bounds_x, |
GLint bounds_y, |
@@ -791,11 +796,13 @@ GL_APICALL void GL_APIENTRY |
GLfloat uv_x, |
GLfloat uv_y, |
GLfloat uv_width, |
- GLfloat uv_height); |
+ GLfloat uv_height, |
+ GLboolean handle_scaling); |
#endif |
typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)( |
GLint plane_z_order, |
GLenum plane_transform, |
+ GLuint optimal_storage_format, |
GLuint overlay_texture_id, |
GLint bounds_x, |
GLint bounds_y, |
@@ -804,7 +811,8 @@ typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)( |
GLfloat uv_x, |
GLfloat uv_y, |
GLfloat uv_width, |
- GLfloat uv_height); |
+ GLfloat uv_height, |
+ GLboolean scale_buffer); |
#endif /* GL_CHROMIUM_schedule_overlay_plane */ |
#ifndef GL_CHROMIUM_schedule_ca_layer |