| 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 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2194 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( | 2194 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( |
| 2195 GLuint contents_texture_id, | 2195 GLuint contents_texture_id, |
| 2196 const GLfloat* contents_rect, | 2196 const GLfloat* contents_rect, |
| 2197 GLfloat opacity, | 2197 GLfloat opacity, |
| 2198 GLuint background_color, | 2198 GLuint background_color, |
| 2199 GLuint edge_aa_mask, | 2199 GLuint edge_aa_mask, |
| 2200 const GLfloat* bounds_rect, | 2200 const GLfloat* bounds_rect, |
| 2201 GLboolean is_clipped, | 2201 GLboolean is_clipped, |
| 2202 const GLfloat* clip_rect, | 2202 const GLfloat* clip_rect, |
| 2203 GLint sorting_context_id, | 2203 GLint sorting_context_id, |
| 2204 const GLfloat* transform) { | 2204 const GLfloat* transform, |
| 2205 GLuint filter) { |
| 2205 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); | 2206 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); |
| 2206 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, | 2207 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, |
| 2207 background_color, edge_aa_mask, bounds_rect, | 2208 background_color, edge_aa_mask, bounds_rect, |
| 2208 is_clipped, clip_rect, sorting_context_id, | 2209 is_clipped, clip_rect, sorting_context_id, |
| 2209 transform); | 2210 transform, filter); |
| 2210 } | 2211 } |
| 2211 | 2212 |
| 2212 void GLES2TraceImplementation::CommitOverlayPlanesCHROMIUM() { | 2213 void GLES2TraceImplementation::CommitOverlayPlanesCHROMIUM() { |
| 2213 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 2214 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 2214 "GLES2Trace::CommitOverlayPlanesCHROMIUM"); | 2215 "GLES2Trace::CommitOverlayPlanesCHROMIUM"); |
| 2215 gl_->CommitOverlayPlanesCHROMIUM(); | 2216 gl_->CommitOverlayPlanesCHROMIUM(); |
| 2216 } | 2217 } |
| 2217 | 2218 |
| 2218 void GLES2TraceImplementation::SwapInterval(GLint interval) { | 2219 void GLES2TraceImplementation::SwapInterval(GLint interval) { |
| 2219 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval"); | 2220 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval"); |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2501 GLint location, | 2502 GLint location, |
| 2502 GLboolean transpose, | 2503 GLboolean transpose, |
| 2503 const GLfloat* default_value) { | 2504 const GLfloat* default_value) { |
| 2504 TRACE_EVENT_BINARY_EFFICIENT0( | 2505 TRACE_EVENT_BINARY_EFFICIENT0( |
| 2505 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); | 2506 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); |
| 2506 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, | 2507 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, |
| 2507 default_value); | 2508 default_value); |
| 2508 } | 2509 } |
| 2509 | 2510 |
| 2510 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2511 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
| OLD | NEW |