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 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1467 } | 1467 } |
1468 | 1468 |
1469 void GLES2TraceImplementation::Viewport(GLint x, | 1469 void GLES2TraceImplementation::Viewport(GLint x, |
1470 GLint y, | 1470 GLint y, |
1471 GLsizei width, | 1471 GLsizei width, |
1472 GLsizei height) { | 1472 GLsizei height) { |
1473 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Viewport"); | 1473 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Viewport"); |
1474 gl_->Viewport(x, y, width, height); | 1474 gl_->Viewport(x, y, width, height); |
1475 } | 1475 } |
1476 | 1476 |
| 1477 void GLES2TraceImplementation::WaitSync(GLsync sync, |
| 1478 GLbitfield flags, |
| 1479 GLuint64 timeout) { |
| 1480 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::WaitSync"); |
| 1481 gl_->WaitSync(sync, flags, timeout); |
| 1482 } |
| 1483 |
1477 void GLES2TraceImplementation::BlitFramebufferCHROMIUM(GLint srcX0, | 1484 void GLES2TraceImplementation::BlitFramebufferCHROMIUM(GLint srcX0, |
1478 GLint srcY0, | 1485 GLint srcY0, |
1479 GLint srcX1, | 1486 GLint srcX1, |
1480 GLint srcY1, | 1487 GLint srcY1, |
1481 GLint dstX0, | 1488 GLint dstX0, |
1482 GLint dstY0, | 1489 GLint dstY0, |
1483 GLint dstX1, | 1490 GLint dstX1, |
1484 GLint dstY1, | 1491 GLint dstY1, |
1485 GLbitfield mask, | 1492 GLbitfield mask, |
1486 GLenum filter) { | 1493 GLenum filter) { |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2058 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); | 2065 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); |
2059 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); | 2066 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); |
2060 } | 2067 } |
2061 | 2068 |
2062 void GLES2TraceImplementation::BlendBarrierKHR() { | 2069 void GLES2TraceImplementation::BlendBarrierKHR() { |
2063 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); | 2070 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); |
2064 gl_->BlendBarrierKHR(); | 2071 gl_->BlendBarrierKHR(); |
2065 } | 2072 } |
2066 | 2073 |
2067 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2074 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |