| 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 2124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2135 GLfloat uv_y, | 2135 GLfloat uv_y, |
| 2136 GLfloat uv_width, | 2136 GLfloat uv_width, |
| 2137 GLfloat uv_height) { | 2137 GLfloat uv_height) { |
| 2138 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 2138 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 2139 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM"); | 2139 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM"); |
| 2140 gl_->ScheduleOverlayPlaneCHROMIUM( | 2140 gl_->ScheduleOverlayPlaneCHROMIUM( |
| 2141 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 2141 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
| 2142 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 2142 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
| 2143 } | 2143 } |
| 2144 | 2144 |
| 2145 void GLES2TraceImplementation::ScheduleCALayerSharedStateCHROMIUM( |
| 2146 GLfloat opacity, |
| 2147 GLboolean is_clipped, |
| 2148 const GLfloat* clip_rect, |
| 2149 GLint sorting_context_id, |
| 2150 const GLfloat* transform) { |
| 2151 TRACE_EVENT_BINARY_EFFICIENT0( |
| 2152 "gpu", "GLES2Trace::ScheduleCALayerSharedStateCHROMIUM"); |
| 2153 gl_->ScheduleCALayerSharedStateCHROMIUM(opacity, is_clipped, clip_rect, |
| 2154 sorting_context_id, transform); |
| 2155 } |
| 2156 |
| 2145 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( | 2157 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( |
| 2146 GLuint contents_texture_id, | 2158 GLuint contents_texture_id, |
| 2147 const GLfloat* contents_rect, | 2159 const GLfloat* contents_rect, |
| 2148 GLfloat opacity, | |
| 2149 GLuint background_color, | 2160 GLuint background_color, |
| 2150 GLuint edge_aa_mask, | 2161 GLuint edge_aa_mask, |
| 2151 const GLfloat* bounds_rect, | 2162 const GLfloat* bounds_rect, |
| 2152 GLboolean is_clipped, | |
| 2153 const GLfloat* clip_rect, | |
| 2154 GLint sorting_context_id, | |
| 2155 const GLfloat* transform, | |
| 2156 GLuint filter) { | 2163 GLuint filter) { |
| 2157 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); | 2164 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); |
| 2158 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, | 2165 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, |
| 2159 background_color, edge_aa_mask, bounds_rect, | 2166 background_color, edge_aa_mask, bounds_rect, |
| 2160 is_clipped, clip_rect, sorting_context_id, | 2167 filter); |
| 2161 transform, filter); | |
| 2162 } | 2168 } |
| 2163 | 2169 |
| 2164 void GLES2TraceImplementation::ScheduleCALayerInUseQueryCHROMIUM( | 2170 void GLES2TraceImplementation::ScheduleCALayerInUseQueryCHROMIUM( |
| 2165 GLsizei count, | 2171 GLsizei count, |
| 2166 const GLuint* textures) { | 2172 const GLuint* textures) { |
| 2167 TRACE_EVENT_BINARY_EFFICIENT0( | 2173 TRACE_EVENT_BINARY_EFFICIENT0( |
| 2168 "gpu", "GLES2Trace::ScheduleCALayerInUseQueryCHROMIUM"); | 2174 "gpu", "GLES2Trace::ScheduleCALayerInUseQueryCHROMIUM"); |
| 2169 gl_->ScheduleCALayerInUseQueryCHROMIUM(count, textures); | 2175 gl_->ScheduleCALayerInUseQueryCHROMIUM(count, textures); |
| 2170 } | 2176 } |
| 2171 | 2177 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2461 GLint location, | 2467 GLint location, |
| 2462 GLboolean transpose, | 2468 GLboolean transpose, |
| 2463 const GLfloat* default_value) { | 2469 const GLfloat* default_value) { |
| 2464 TRACE_EVENT_BINARY_EFFICIENT0( | 2470 TRACE_EVENT_BINARY_EFFICIENT0( |
| 2465 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); | 2471 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); |
| 2466 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, | 2472 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, |
| 2467 default_value); | 2473 default_value); |
| 2468 } | 2474 } |
| 2469 | 2475 |
| 2470 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2476 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
| OLD | NEW |