Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: gpu/command_buffer/client/gles2_implementation.cc

Issue 132543002: Not for review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698