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 f1d33926efb3d3afd1dbffdd641f81ecda8251ee..dcd3db43e5bb57e233279af370a02f5e8cf16f7f 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -2791,6 +2791,17 @@ void GLES2Implementation::PartialSwapBuffers(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; |
@@ -3251,6 +3262,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. |