| 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 b99b332f74f559e299b6bd9c5cff26f12417fc26..38766c20273d63b7f006f221618d71e9105e85c1 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -2791,6 +2791,17 @@ void GLES2Implementation::PartialSwapBuffers(const gfx::Rect& sub_buffer) {
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| +void GLES2Implementation::SetOverlayPlane(int plane_id,
|
| + int texture_id,
|
| + gfx::Rect sub_buffer) {
|
| + SetOverlayPlaneCHROMIUM(plane_id,
|
| + texture_id,
|
| + sub_buffer.x(),
|
| + sub_buffer.y(),
|
| + sub_buffer.width(),
|
| + sub_buffer.height());
|
| +}
|
| +
|
| void GLES2Implementation::SetSwapBuffersCompleteCallback(
|
| const base::Closure& swap_buffers_complete_callback) {
|
| swap_buffers_complete_callback_ = swap_buffers_complete_callback;
|
| @@ -3230,6 +3241,15 @@ void GLES2Implementation::PostSubBufferCHROMIUM(
|
| }
|
| }
|
|
|
| +void GLES2Implementation::SetOverlayPlaneCHROMIUM(GLint plane_id,
|
| + GLenum texture_id,
|
| + GLint x,
|
| + GLint y,
|
| + GLint width,
|
| + GLint height) {
|
| + helper_->SetOverlayPlaneCHROMIUM(plane_id, texture_id, x, y, width, height);
|
| +}
|
| +
|
| void GLES2Implementation::DeleteQueriesEXTHelper(
|
| GLsizei n, const GLuint* queries) {
|
| // TODO(gman): Remove this as queries are not shared resources.
|
|
|