OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 emluate 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_ |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { | 507 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { |
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( |
| 518 GLenum target, GLsizei levels, GLint internalFormat, GLsizei width, |
| 519 GLsizei height) { |
| 520 gles2::GetGLContext()->TexStorage2DEXT( |
| 521 target, levels, internalFormat, width, height); |
| 522 } |
517 void GLES2SwapBuffers() { | 523 void GLES2SwapBuffers() { |
518 gles2::GetGLContext()->SwapBuffers(); | 524 gles2::GetGLContext()->SwapBuffers(); |
519 } | 525 } |
520 GLuint GLES2GetMaxValueInBufferCHROMIUM( | 526 GLuint GLES2GetMaxValueInBufferCHROMIUM( |
521 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { | 527 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { |
522 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( | 528 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( |
523 buffer_id, count, type, offset); | 529 buffer_id, count, type, offset); |
524 } | 530 } |
525 void GLES2GenSharedIdsCHROMIUM( | 531 void GLES2GenSharedIdsCHROMIUM( |
526 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { | 532 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 } | 597 } |
592 void GLES2TexImageIOSurface2DCHROMIUM( | 598 void GLES2TexImageIOSurface2DCHROMIUM( |
593 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 599 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
594 GLuint plane) { | 600 GLuint plane) { |
595 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( | 601 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( |
596 target, width, height, ioSurfaceId, plane); | 602 target, width, height, ioSurfaceId, plane); |
597 } | 603 } |
598 | 604 |
599 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 605 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
600 | 606 |
OLD | NEW |