| Index: gpu/GLES2/gl2extchromium.h
|
| diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
|
| index 8118de027b2c7db53ad91bc57489ab8ed1409f37..ec64f75625790c08bb7594341d79f5389bfb1d55 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
|
| @@ -775,6 +779,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,
|
| @@ -783,11 +788,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,
|
| @@ -796,7 +803,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
|
|
|