| Index: gpu/command_buffer/client/gles2_implementation.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
|
| index c155af501ebddd0c9158dc2b0389e27bb5e70dd8..b4acbe0c8674b6a44087f99831ea317a631bd2b7 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -2834,7 +2834,17 @@ void GLES2Implementation::ScheduleOverlayPlane(int plane_z_order,
|
| unsigned overlay_texture_id,
|
| const gfx::Rect& display_bounds,
|
| const gfx::RectF& uv_rect) {
|
| - NOTREACHED() << "Overlay supported isn't finished.";
|
| + ScheduleOverlayPlaneCHROMIUM(plane_z_order,
|
| + plane_transform,
|
| + overlay_texture_id,
|
| + display_bounds.x(),
|
| + display_bounds.y(),
|
| + display_bounds.width(),
|
| + display_bounds.height(),
|
| + uv_rect.x(),
|
| + uv_rect.y(),
|
| + uv_rect.width(),
|
| + uv_rect.height());
|
| }
|
|
|
| void GLES2Implementation::OnSwapBuffersComplete() {
|
| @@ -3271,6 +3281,31 @@ void GLES2Implementation::PostSubBufferCHROMIUM(
|
| }
|
| }
|
|
|
| +void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
|
| + GLint plane_z_order,
|
| + GLenum plane_transform,
|
| + GLuint overlay_texture_id,
|
| + GLint bounds_x,
|
| + GLint bounds_y,
|
| + GLint bounds_width,
|
| + GLint bounds_height,
|
| + GLfloat uv_x,
|
| + GLfloat uv_y,
|
| + GLfloat uv_width,
|
| + GLfloat uv_height) {
|
| + helper_->ScheduleOverlayPlaneCHROMIUM(plane_z_order,
|
| + plane_transform,
|
| + overlay_texture_id,
|
| + bounds_x,
|
| + bounds_y,
|
| + bounds_width,
|
| + bounds_height,
|
| + uv_x,
|
| + uv_y,
|
| + uv_width,
|
| + uv_height);
|
| +}
|
| +
|
| void GLES2Implementation::DeleteQueriesEXTHelper(
|
| GLsizei n, const GLuint* queries) {
|
| // TODO(gman): Remove this as queries are not shared resources.
|
|
|