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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1513283002: Add support to send optimal format as part of ScheduleOverlayPlane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update cmd_buffer_functions Created 5 years 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: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 6380a30c64e3901bf530d684c9d486a11b249e56..f1c2610b783b47c37b406a58bd928a79b2fdcec1 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1687,6 +1687,7 @@ void MojoGLES2Impl::DiscardBackbufferCHROMIUM() {
}
void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
GLenum plane_transform,
+ GLuint storage_format,
GLuint overlay_texture_id,
GLint bounds_x,
GLint bounds_y,
@@ -1695,11 +1696,13 @@ void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
GLfloat uv_x,
GLfloat uv_y,
GLfloat uv_width,
- GLfloat uv_height) {
+ GLfloat uv_height,
+ GLboolean handle_scaling) {
MojoGLES2MakeCurrent(context_);
- glScheduleOverlayPlaneCHROMIUM(
- plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
- bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
+ glScheduleOverlayPlaneCHROMIUM(plane_z_order, plane_transform, storage_format,
+ overlay_texture_id, bounds_x, bounds_y,
+ bounds_width, bounds_height, uv_x, uv_y,
+ uv_width, uv_height, handle_scaling);
}
void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
const GLfloat* contents_rect,
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698