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 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 GLsizei height, | 1029 GLsizei height, |
1030 GLsizei depth, | 1030 GLsizei depth, |
1031 GLenum format, | 1031 GLenum format, |
1032 GLenum type, | 1032 GLenum type, |
1033 const void* pixels) { | 1033 const void* pixels) { |
1034 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage3D"); | 1034 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage3D"); |
1035 gl_->TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, | 1035 gl_->TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, |
1036 depth, format, type, pixels); | 1036 depth, format, type, pixels); |
1037 } | 1037 } |
1038 | 1038 |
| 1039 void GLES2TraceImplementation::TransformFeedbackVaryings( |
| 1040 GLuint program, |
| 1041 GLsizei count, |
| 1042 const char* const* varyings, |
| 1043 GLenum buffermode) { |
| 1044 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TransformFeedbackVaryings"); |
| 1045 gl_->TransformFeedbackVaryings(program, count, varyings, buffermode); |
| 1046 } |
| 1047 |
1039 void GLES2TraceImplementation::Uniform1f(GLint location, GLfloat x) { | 1048 void GLES2TraceImplementation::Uniform1f(GLint location, GLfloat x) { |
1040 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1f"); | 1049 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1f"); |
1041 gl_->Uniform1f(location, x); | 1050 gl_->Uniform1f(location, x); |
1042 } | 1051 } |
1043 | 1052 |
1044 void GLES2TraceImplementation::Uniform1fv(GLint location, | 1053 void GLES2TraceImplementation::Uniform1fv(GLint location, |
1045 GLsizei count, | 1054 GLsizei count, |
1046 const GLfloat* v) { | 1055 const GLfloat* v) { |
1047 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1fv"); | 1056 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1fv"); |
1048 gl_->Uniform1fv(location, count, v); | 1057 gl_->Uniform1fv(location, count, v); |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1951 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); | 1960 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); |
1952 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); | 1961 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); |
1953 } | 1962 } |
1954 | 1963 |
1955 void GLES2TraceImplementation::BlendBarrierKHR() { | 1964 void GLES2TraceImplementation::BlendBarrierKHR() { |
1956 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); | 1965 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); |
1957 gl_->BlendBarrierKHR(); | 1966 gl_->BlendBarrierKHR(); |
1958 } | 1967 } |
1959 | 1968 |
1960 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 1969 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |