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 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 GLsizei height, | 1009 GLsizei height, |
1010 GLsizei depth, | 1010 GLsizei depth, |
1011 GLenum format, | 1011 GLenum format, |
1012 GLenum type, | 1012 GLenum type, |
1013 const void* pixels) { | 1013 const void* pixels) { |
1014 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage3D"); | 1014 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage3D"); |
1015 gl_->TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, | 1015 gl_->TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, |
1016 depth, format, type, pixels); | 1016 depth, format, type, pixels); |
1017 } | 1017 } |
1018 | 1018 |
| 1019 void GLES2TraceImplementation::TransformFeedbackVaryings( |
| 1020 GLuint program, |
| 1021 GLsizei count, |
| 1022 const char* const* varyings, |
| 1023 GLenum buffermode) { |
| 1024 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TransformFeedbackVaryings"); |
| 1025 gl_->TransformFeedbackVaryings(program, count, varyings, buffermode); |
| 1026 } |
| 1027 |
1019 void GLES2TraceImplementation::Uniform1f(GLint location, GLfloat x) { | 1028 void GLES2TraceImplementation::Uniform1f(GLint location, GLfloat x) { |
1020 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1f"); | 1029 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1f"); |
1021 gl_->Uniform1f(location, x); | 1030 gl_->Uniform1f(location, x); |
1022 } | 1031 } |
1023 | 1032 |
1024 void GLES2TraceImplementation::Uniform1fv(GLint location, | 1033 void GLES2TraceImplementation::Uniform1fv(GLint location, |
1025 GLsizei count, | 1034 GLsizei count, |
1026 const GLfloat* v) { | 1035 const GLfloat* v) { |
1027 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1fv"); | 1036 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1fv"); |
1028 gl_->Uniform1fv(location, count, v); | 1037 gl_->Uniform1fv(location, count, v); |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1931 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); | 1940 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); |
1932 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); | 1941 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); |
1933 } | 1942 } |
1934 | 1943 |
1935 void GLES2TraceImplementation::BlendBarrierKHR() { | 1944 void GLES2TraceImplementation::BlendBarrierKHR() { |
1936 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); | 1945 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); |
1937 gl_->BlendBarrierKHR(); | 1946 gl_->BlendBarrierKHR(); |
1938 } | 1947 } |
1939 | 1948 |
1940 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 1949 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |