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

Side by Side Diff: gpu/command_buffer/client/gles2_trace_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: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after
2186 } 2186 }
2187 2187
2188 void GLES2TraceImplementation::DiscardBackbufferCHROMIUM() { 2188 void GLES2TraceImplementation::DiscardBackbufferCHROMIUM() {
2189 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DiscardBackbufferCHROMIUM"); 2189 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DiscardBackbufferCHROMIUM");
2190 gl_->DiscardBackbufferCHROMIUM(); 2190 gl_->DiscardBackbufferCHROMIUM();
2191 } 2191 }
2192 2192
2193 void GLES2TraceImplementation::ScheduleOverlayPlaneCHROMIUM( 2193 void GLES2TraceImplementation::ScheduleOverlayPlaneCHROMIUM(
2194 GLint plane_z_order, 2194 GLint plane_z_order,
2195 GLenum plane_transform, 2195 GLenum plane_transform,
2196 GLuint storage_format,
2196 GLuint overlay_texture_id, 2197 GLuint overlay_texture_id,
2197 GLint bounds_x, 2198 GLint bounds_x,
2198 GLint bounds_y, 2199 GLint bounds_y,
2199 GLint bounds_width, 2200 GLint bounds_width,
2200 GLint bounds_height, 2201 GLint bounds_height,
2201 GLfloat uv_x, 2202 GLfloat uv_x,
2202 GLfloat uv_y, 2203 GLfloat uv_y,
2203 GLfloat uv_width, 2204 GLfloat uv_width,
2204 GLfloat uv_height) { 2205 GLfloat uv_height,
2206 GLboolean handle_scaling) {
2205 TRACE_EVENT_BINARY_EFFICIENT0("gpu", 2207 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2206 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM"); 2208 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM");
2207 gl_->ScheduleOverlayPlaneCHROMIUM( 2209 gl_->ScheduleOverlayPlaneCHROMIUM(
2208 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 2210 plane_z_order, plane_transform, storage_format, overlay_texture_id,
2209 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 2211 bounds_x, bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width,
2212 uv_height, handle_scaling);
2210 } 2213 }
2211 2214
2212 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( 2215 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM(
2213 GLuint contents_texture_id, 2216 GLuint contents_texture_id,
2214 const GLfloat* contents_rect, 2217 const GLfloat* contents_rect,
2215 GLfloat opacity, 2218 GLfloat opacity,
2216 const GLuint background_color, 2219 const GLuint background_color,
2217 const GLfloat* bounds_size, 2220 const GLfloat* bounds_size,
2218 const GLfloat* transform) { 2221 const GLfloat* transform) {
2219 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); 2222 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM");
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
2492 gl_->BindFragDataLocationEXT(program, colorNumber, name); 2495 gl_->BindFragDataLocationEXT(program, colorNumber, name);
2493 } 2496 }
2494 2497
2495 GLint GLES2TraceImplementation::GetFragDataIndexEXT(GLuint program, 2498 GLint GLES2TraceImplementation::GetFragDataIndexEXT(GLuint program,
2496 const char* name) { 2499 const char* name) {
2497 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataIndexEXT"); 2500 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataIndexEXT");
2498 return gl_->GetFragDataIndexEXT(program, name); 2501 return gl_->GetFragDataIndexEXT(program, name);
2499 } 2502 }
2500 2503
2501 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 2504 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698