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 2204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2215 const GLfloat* clip_rect, | 2215 const GLfloat* clip_rect, |
2216 GLint z_order, | 2216 GLint z_order, |
2217 const GLfloat* transform) { | 2217 const GLfloat* transform) { |
2218 TRACE_EVENT_BINARY_EFFICIENT0( | 2218 TRACE_EVENT_BINARY_EFFICIENT0( |
2219 "gpu", "GLES2Trace::ScheduleDCLayerSharedStateCHROMIUM"); | 2219 "gpu", "GLES2Trace::ScheduleDCLayerSharedStateCHROMIUM"); |
2220 gl_->ScheduleDCLayerSharedStateCHROMIUM(opacity, is_clipped, clip_rect, | 2220 gl_->ScheduleDCLayerSharedStateCHROMIUM(opacity, is_clipped, clip_rect, |
2221 z_order, transform); | 2221 z_order, transform); |
2222 } | 2222 } |
2223 | 2223 |
2224 void GLES2TraceImplementation::ScheduleDCLayerCHROMIUM( | 2224 void GLES2TraceImplementation::ScheduleDCLayerCHROMIUM( |
2225 GLuint contents_texture_id, | 2225 GLsizei num_textures, |
| 2226 const GLuint* contents_texture_ids, |
2226 const GLfloat* contents_rect, | 2227 const GLfloat* contents_rect, |
2227 GLuint background_color, | 2228 GLuint background_color, |
2228 GLuint edge_aa_mask, | 2229 GLuint edge_aa_mask, |
2229 const GLfloat* bounds_rect, | 2230 const GLfloat* bounds_rect, |
2230 GLuint filter) { | 2231 GLuint filter) { |
2231 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleDCLayerCHROMIUM"); | 2232 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleDCLayerCHROMIUM"); |
2232 gl_->ScheduleDCLayerCHROMIUM(contents_texture_id, contents_rect, | 2233 gl_->ScheduleDCLayerCHROMIUM(num_textures, contents_texture_ids, |
2233 background_color, edge_aa_mask, bounds_rect, | 2234 contents_rect, background_color, edge_aa_mask, |
2234 filter); | 2235 bounds_rect, filter); |
2235 } | 2236 } |
2236 | 2237 |
2237 void GLES2TraceImplementation::MatrixLoadfCHROMIUM(GLenum matrixMode, | 2238 void GLES2TraceImplementation::MatrixLoadfCHROMIUM(GLenum matrixMode, |
2238 const GLfloat* m) { | 2239 const GLfloat* m) { |
2239 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MatrixLoadfCHROMIUM"); | 2240 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MatrixLoadfCHROMIUM"); |
2240 gl_->MatrixLoadfCHROMIUM(matrixMode, m); | 2241 gl_->MatrixLoadfCHROMIUM(matrixMode, m); |
2241 } | 2242 } |
2242 | 2243 |
2243 void GLES2TraceImplementation::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 2244 void GLES2TraceImplementation::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
2244 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 2245 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2545 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SetDrawRectangleCHROMIUM"); | 2546 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SetDrawRectangleCHROMIUM"); |
2546 gl_->SetDrawRectangleCHROMIUM(x, y, width, height); | 2547 gl_->SetDrawRectangleCHROMIUM(x, y, width, height); |
2547 } | 2548 } |
2548 | 2549 |
2549 void GLES2TraceImplementation::SetEnableDCLayersCHROMIUM(GLboolean enabled) { | 2550 void GLES2TraceImplementation::SetEnableDCLayersCHROMIUM(GLboolean enabled) { |
2550 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SetEnableDCLayersCHROMIUM"); | 2551 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SetEnableDCLayersCHROMIUM"); |
2551 gl_->SetEnableDCLayersCHROMIUM(enabled); | 2552 gl_->SetEnableDCLayersCHROMIUM(enabled); |
2552 } | 2553 } |
2553 | 2554 |
2554 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2555 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |