| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
| 8 | 8 |
| 9 // These functions emluate GLES2 over command buffers. | 9 // These functions emulate GLES2 over command buffers. |
| 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 11 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 11 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 12 | 12 |
| 13 void GLES2ActiveTexture(GLenum texture) { | 13 void GLES2ActiveTexture(GLenum texture) { |
| 14 gles2::GetGLContext()->ActiveTexture(texture); | 14 gles2::GetGLContext()->ActiveTexture(texture); |
| 15 } | 15 } |
| 16 void GLES2AttachShader(GLuint program, GLuint shader) { | 16 void GLES2AttachShader(GLuint program, GLuint shader) { |
| 17 gles2::GetGLContext()->AttachShader(program, shader); | 17 gles2::GetGLContext()->AttachShader(program, shader); |
| 18 } | 18 } |
| 19 void GLES2BindAttribLocation(GLuint program, GLuint index, const char* name) { | 19 void GLES2BindAttribLocation(GLuint program, GLuint index, const char* name) { |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 gles2::GetGLContext()->BlitFramebufferEXT( | 508 gles2::GetGLContext()->BlitFramebufferEXT( |
| 509 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); | 509 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| 510 } | 510 } |
| 511 void GLES2RenderbufferStorageMultisampleEXT( | 511 void GLES2RenderbufferStorageMultisampleEXT( |
| 512 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, | 512 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, |
| 513 GLsizei height) { | 513 GLsizei height) { |
| 514 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT( | 514 gles2::GetGLContext()->RenderbufferStorageMultisampleEXT( |
| 515 target, samples, internalformat, width, height); | 515 target, samples, internalformat, width, height); |
| 516 } | 516 } |
| 517 void GLES2TexStorage2DEXT( | 517 void GLES2TexStorage2DEXT( |
| 518 GLenum target, GLsizei levels, GLint internalFormat, GLsizei width, | 518 GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, |
| 519 GLsizei height) { | 519 GLsizei height) { |
| 520 gles2::GetGLContext()->TexStorage2DEXT( | 520 gles2::GetGLContext()->TexStorage2DEXT( |
| 521 target, levels, internalFormat, width, height); | 521 target, levels, internalFormat, width, height); |
| 522 } | 522 } |
| 523 void GLES2SwapBuffers() { | 523 void GLES2SwapBuffers() { |
| 524 gles2::GetGLContext()->SwapBuffers(); | 524 gles2::GetGLContext()->SwapBuffers(); |
| 525 } | 525 } |
| 526 GLuint GLES2GetMaxValueInBufferCHROMIUM( | 526 GLuint GLES2GetMaxValueInBufferCHROMIUM( |
| 527 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { | 527 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { |
| 528 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( | 528 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 } | 597 } |
| 598 void GLES2TexImageIOSurface2DCHROMIUM( | 598 void GLES2TexImageIOSurface2DCHROMIUM( |
| 599 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 599 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
| 600 GLuint plane) { | 600 GLuint plane) { |
| 601 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( | 601 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( |
| 602 target, width, height, ioSurfaceId, plane); | 602 target, width, height, ioSurfaceId, plane); |
| 603 } | 603 } |
| 604 | 604 |
| 605 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 605 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 606 | 606 |
| OLD | NEW |