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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 gl_->Uniform4ui(location, x, y, z, w); | 1231 gl_->Uniform4ui(location, x, y, z, w); |
1232 } | 1232 } |
1233 | 1233 |
1234 void GLES2TraceImplementation::Uniform4uiv(GLint location, | 1234 void GLES2TraceImplementation::Uniform4uiv(GLint location, |
1235 GLsizei count, | 1235 GLsizei count, |
1236 const GLuint* v) { | 1236 const GLuint* v) { |
1237 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4uiv"); | 1237 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4uiv"); |
1238 gl_->Uniform4uiv(location, count, v); | 1238 gl_->Uniform4uiv(location, count, v); |
1239 } | 1239 } |
1240 | 1240 |
| 1241 void GLES2TraceImplementation::UniformBlockBinding(GLuint program, |
| 1242 GLuint index, |
| 1243 GLuint binding) { |
| 1244 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformBlockBinding"); |
| 1245 gl_->UniformBlockBinding(program, index, binding); |
| 1246 } |
| 1247 |
1241 void GLES2TraceImplementation::UniformMatrix2fv(GLint location, | 1248 void GLES2TraceImplementation::UniformMatrix2fv(GLint location, |
1242 GLsizei count, | 1249 GLsizei count, |
1243 GLboolean transpose, | 1250 GLboolean transpose, |
1244 const GLfloat* value) { | 1251 const GLfloat* value) { |
1245 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2fv"); | 1252 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2fv"); |
1246 gl_->UniformMatrix2fv(location, count, transpose, value); | 1253 gl_->UniformMatrix2fv(location, count, transpose, value); |
1247 } | 1254 } |
1248 | 1255 |
1249 void GLES2TraceImplementation::UniformMatrix2x3fv(GLint location, | 1256 void GLES2TraceImplementation::UniformMatrix2x3fv(GLint location, |
1250 GLsizei count, | 1257 GLsizei count, |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1996 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); | 2003 "GLES2Trace::MatrixLoadIdentityCHROMIUM"); |
1997 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); | 2004 gl_->MatrixLoadIdentityCHROMIUM(matrixMode); |
1998 } | 2005 } |
1999 | 2006 |
2000 void GLES2TraceImplementation::BlendBarrierKHR() { | 2007 void GLES2TraceImplementation::BlendBarrierKHR() { |
2001 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); | 2008 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR"); |
2002 gl_->BlendBarrierKHR(); | 2009 gl_->BlendBarrierKHR(); |
2003 } | 2010 } |
2004 | 2011 |
2005 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ | 2012 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ |
OLD | NEW |