| 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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 gl_->TexParameteri(target, pname, param); | 772 gl_->TexParameteri(target, pname, param); |
| 773 } | 773 } |
| 774 | 774 |
| 775 void GLES2TraceImplementation::TexParameteriv(GLenum target, | 775 void GLES2TraceImplementation::TexParameteriv(GLenum target, |
| 776 GLenum pname, | 776 GLenum pname, |
| 777 const GLint* params) { | 777 const GLint* params) { |
| 778 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv"); | 778 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv"); |
| 779 gl_->TexParameteriv(target, pname, params); | 779 gl_->TexParameteriv(target, pname, params); |
| 780 } | 780 } |
| 781 | 781 |
| 782 void GLES2TraceImplementation::TexStorage3D(GLenum target, |
| 783 GLsizei levels, |
| 784 GLenum internalFormat, |
| 785 GLsizei width, |
| 786 GLsizei height, |
| 787 GLsizei depth) { |
| 788 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexStorage3D"); |
| 789 gl_->TexStorage3D(target, levels, internalFormat, width, height, depth); |
| 790 } |
| 791 |
| 782 void GLES2TraceImplementation::TexSubImage2D(GLenum target, | 792 void GLES2TraceImplementation::TexSubImage2D(GLenum target, |
| 783 GLint level, | 793 GLint level, |
| 784 GLint xoffset, | 794 GLint xoffset, |
| 785 GLint yoffset, | 795 GLint yoffset, |
| 786 GLsizei width, | 796 GLsizei width, |
| 787 GLsizei height, | 797 GLsizei height, |
| 788 GLenum format, | 798 GLenum format, |
| 789 GLenum type, | 799 GLenum type, |
| 790 const void* pixels) { | 800 const void* pixels) { |
| 791 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D"); | 801 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D"); |
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1692 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); | 1702 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); |
| 1693 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); | 1703 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); |
| 1694 } | 1704 } |
| 1695 | 1705 |
| 1696 void GLES2TraceImplementation::BlendBarrierKHR() { | 1706 void GLES2TraceImplementation::BlendBarrierKHR() { |
| 1697 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); | 1707 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); |
| 1698 gl_->BlendBarrierKHR(); | 1708 gl_->BlendBarrierKHR(); |
| 1699 } | 1709 } |
| 1700 | 1710 |
| 1701 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 1711 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
| OLD | NEW |