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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_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: 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: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index b87750aa2e5dd134765bcfcdf128c14ab78fe802..c518672f8daf2a71c3200a3a76b7b6b057eb80f3 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2820,6 +2820,7 @@ void DiscardBackbufferCHROMIUM() {
void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
GLenum plane_transform,
+ GLuint storage_format,
GLuint overlay_texture_id,
GLint bounds_x,
GLint bounds_y,
@@ -2828,13 +2829,14 @@ void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
GLfloat uv_x,
GLfloat uv_y,
GLfloat uv_width,
- GLfloat uv_height) {
+ GLfloat uv_height,
+ GLboolean handle_scaling) {
gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c =
GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>();
if (c) {
- c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x,
- bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width,
- uv_height);
+ c->Init(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);
}
}

Powered by Google App Engine
This is Rietveld 408576698