OLD | NEW |
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 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2212 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM"); | 2212 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM"); |
2213 gl_->ScheduleOverlayPlaneCHROMIUM( | 2213 gl_->ScheduleOverlayPlaneCHROMIUM( |
2214 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 2214 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
2215 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 2215 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
2216 } | 2216 } |
2217 | 2217 |
2218 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( | 2218 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( |
2219 GLuint contents_texture_id, | 2219 GLuint contents_texture_id, |
2220 const GLfloat* contents_rect, | 2220 const GLfloat* contents_rect, |
2221 GLfloat opacity, | 2221 GLfloat opacity, |
2222 const GLuint background_color, | 2222 GLuint background_color, |
2223 const GLfloat* bounds_size, | 2223 GLuint edge_aa_mask, |
| 2224 const GLfloat* bounds_rect, |
| 2225 GLboolean is_clipped, |
| 2226 const GLfloat* clip_rect, |
| 2227 GLint sorting_context_id, |
2224 const GLfloat* transform) { | 2228 const GLfloat* transform) { |
2225 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); | 2229 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); |
2226 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, | 2230 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, |
2227 background_color, bounds_size, transform); | 2231 background_color, edge_aa_mask, bounds_rect, |
| 2232 is_clipped, clip_rect, sorting_context_id, |
| 2233 transform); |
2228 } | 2234 } |
2229 | 2235 |
2230 void GLES2TraceImplementation::CommitOverlayPlanesCHROMIUM() { | 2236 void GLES2TraceImplementation::CommitOverlayPlanesCHROMIUM() { |
2231 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 2237 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
2232 "GLES2Trace::CommitOverlayPlanesCHROMIUM"); | 2238 "GLES2Trace::CommitOverlayPlanesCHROMIUM"); |
2233 gl_->CommitOverlayPlanesCHROMIUM(); | 2239 gl_->CommitOverlayPlanesCHROMIUM(); |
2234 } | 2240 } |
2235 | 2241 |
2236 void GLES2TraceImplementation::SwapInterval(GLint interval) { | 2242 void GLES2TraceImplementation::SwapInterval(GLint interval) { |
2237 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval"); | 2243 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval"); |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2498 gl_->BindFragDataLocationEXT(program, colorNumber, name); | 2504 gl_->BindFragDataLocationEXT(program, colorNumber, name); |
2499 } | 2505 } |
2500 | 2506 |
2501 GLint GLES2TraceImplementation::GetFragDataIndexEXT(GLuint program, | 2507 GLint GLES2TraceImplementation::GetFragDataIndexEXT(GLuint program, |
2502 const char* name) { | 2508 const char* name) { |
2503 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataIndexEXT"); | 2509 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataIndexEXT"); |
2504 return gl_->GetFragDataIndexEXT(program, name); | 2510 return gl_->GetFragDataIndexEXT(program, name); |
2505 } | 2511 } |
2506 | 2512 |
2507 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2513 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |