Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h

Issue 906613005: Add glUniformBlockBinding to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uniform
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698