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

Unified Diff: gpu/command_buffer/client/gles2_implementation_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
Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 4f818b604b0daf025dd4afdc6dc02ab20606f927..50338d9919fee750586f00a56a674af202f48262 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3464,6 +3464,7 @@ void GLES2Implementation::DiscardBackbufferCHROMIUM() {
void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
GLint plane_z_order,
GLenum plane_transform,
+ GLuint storage_format,
GLuint overlay_texture_id,
GLint bounds_x,
GLint bounds_y,
@@ -3472,17 +3473,21 @@ void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
GLfloat uv_x,
GLfloat uv_y,
GLfloat uv_width,
- GLfloat uv_height) {
- GPU_CLIENT_SINGLE_THREAD_CHECK();
- GPU_CLIENT_LOG(
- "[" << GetLogPrefix() << "] glScheduleOverlayPlaneCHROMIUM("
- << plane_z_order << ", " << GLES2Util::GetStringEnum(plane_transform)
- << ", " << overlay_texture_id << ", " << bounds_x << ", " << bounds_y
- << ", " << bounds_width << ", " << bounds_height << ", " << uv_x
- << ", " << uv_y << ", " << uv_width << ", " << uv_height << ")");
+ GLfloat uv_height,
+ GLboolean handle_scaling) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glScheduleOverlayPlaneCHROMIUM("
+ << plane_z_order << ", "
+ << GLES2Util::GetStringEnum(plane_transform) << ", "
+ << storage_format << ", " << overlay_texture_id << ", "
+ << bounds_x << ", " << bounds_y << ", " << bounds_width
+ << ", " << bounds_height << ", " << uv_x << ", " << uv_y
+ << ", " << uv_width << ", " << uv_height << ", "
+ << GLES2Util::GetStringBool(handle_scaling) << ")");
helper_->ScheduleOverlayPlaneCHROMIUM(
- plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
- bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
+ 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);
CheckGLError();
}
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_autogen.h ('k') | gpu/command_buffer/client/gles2_interface_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698