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

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

Issue 434063: Merged in recent changes to command buffer code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | Annotate | Revision Log
OLDNEW
1 // This file is auto-generated. DO NOT EDIT! 1 // This file is auto-generated. DO NOT EDIT!
2 2
3 3
4 // These functions emluate GLES2 over command buffers. 4 // These functions emluate GLES2 over command buffers.
5 5
6 6
7 void GLES2ActiveTexture(GLenum texture) { 7 void GLES2ActiveTexture(GLenum texture) {
8 gles2::GetGLContext()->ActiveTexture(texture); 8 gles2::GetGLContext()->ActiveTexture(texture);
9 } 9 }
10 void GLES2AttachShader(GLuint program, GLuint shader) { 10 void GLES2AttachShader(GLuint program, GLuint shader) {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void GLES2GetActiveUniform( 207 void GLES2GetActiveUniform(
208 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, 208 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size,
209 GLenum* type, char* name) { 209 GLenum* type, char* name) {
210 gles2::GetGLContext( 210 gles2::GetGLContext(
211 )->GetActiveUniform(program, index, bufsize, length, size, type, name); 211 )->GetActiveUniform(program, index, bufsize, length, size, type, name);
212 } 212 }
213 void GLES2GetAttachedShaders( 213 void GLES2GetAttachedShaders(
214 GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) { 214 GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) {
215 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders); 215 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders);
216 } 216 }
217 int GLES2GetAttribLocation(GLuint program, const char* name) { 217 GLint GLES2GetAttribLocation(GLuint program, const char* name) {
218 return gles2::GetGLContext()->GetAttribLocation(program, name); 218 return gles2::GetGLContext()->GetAttribLocation(program, name);
219 } 219 }
220 void GLES2GetBooleanv(GLenum pname, GLboolean* params) { 220 void GLES2GetBooleanv(GLenum pname, GLboolean* params) {
221 gles2::GetGLContext()->GetBooleanv(pname, params); 221 gles2::GetGLContext()->GetBooleanv(pname, params);
222 } 222 }
223 void GLES2GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) { 223 void GLES2GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) {
224 gles2::GetGLContext()->GetBufferParameteriv(target, pname, params); 224 gles2::GetGLContext()->GetBufferParameteriv(target, pname, params);
225 } 225 }
226 GLenum GLES2GetError() { 226 GLenum GLES2GetError() {
227 return gles2::GetGLContext()->GetError(); 227 return gles2::GetGLContext()->GetError();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 273 }
274 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) { 274 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) {
275 gles2::GetGLContext()->GetTexParameteriv(target, pname, params); 275 gles2::GetGLContext()->GetTexParameteriv(target, pname, params);
276 } 276 }
277 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) { 277 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) {
278 gles2::GetGLContext()->GetUniformfv(program, location, params); 278 gles2::GetGLContext()->GetUniformfv(program, location, params);
279 } 279 }
280 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) { 280 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) {
281 gles2::GetGLContext()->GetUniformiv(program, location, params); 281 gles2::GetGLContext()->GetUniformiv(program, location, params);
282 } 282 }
283 int GLES2GetUniformLocation(GLuint program, const char* name) { 283 GLint GLES2GetUniformLocation(GLuint program, const char* name) {
284 return gles2::GetGLContext()->GetUniformLocation(program, name); 284 return gles2::GetGLContext()->GetUniformLocation(program, name);
285 } 285 }
286 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { 286 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) {
287 gles2::GetGLContext()->GetVertexAttribfv(index, pname, params); 287 gles2::GetGLContext()->GetVertexAttribfv(index, pname, params);
288 } 288 }
289 void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) { 289 void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) {
290 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params); 290 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params);
291 } 291 }
292 void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) { 292 void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) {
293 gles2::GetGLContext()->GetVertexAttribPointerv(index, pname, pointer); 293 gles2::GetGLContext()->GetVertexAttribPointerv(index, pname, pointer);
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 gles2::GetGLContext( 495 gles2::GetGLContext(
496 )->VertexAttribPointer(indx, size, type, normalized, stride, ptr); 496 )->VertexAttribPointer(indx, size, type, normalized, stride, ptr);
497 } 497 }
498 void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { 498 void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) {
499 gles2::GetGLContext()->Viewport(x, y, width, height); 499 gles2::GetGLContext()->Viewport(x, y, width, height);
500 } 500 }
501 void GLES2SwapBuffers() { 501 void GLES2SwapBuffers() {
502 gles2::GetGLContext()->SwapBuffers(); 502 gles2::GetGLContext()->SwapBuffers();
503 } 503 }
504 504
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698