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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.h

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
« no previous file with comments | « gpu/command_buffer/service/texture_definition.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gpu/mojo_gles2_impl_autogen.h
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h
index ca855bca49b83bf3a2e33e1cd167ecb524e9dd2d..bf7089070a8bc837f2714caf2b6cf63fb44a8170 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.h
+++ b/mojo/gpu/mojo_gles2_impl_autogen.h
@@ -775,6 +775,7 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface {
void DiscardBackbufferCHROMIUM() override;
void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
GLenum plane_transform,
+ GLuint storage_format,
GLuint overlay_texture_id,
GLint bounds_x,
GLint bounds_y,
@@ -783,7 +784,8 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface {
GLfloat uv_x,
GLfloat uv_y,
GLfloat uv_width,
- GLfloat uv_height) override;
+ GLfloat uv_height,
+ GLboolean handle_scaling) override;
void ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
const GLfloat* contents_rect,
GLfloat opacity,
« no previous file with comments | « gpu/command_buffer/service/texture_definition.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698