OLD | NEW |
1 // Copyright (c) 2012 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 emulate 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_ |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 gles2::GetGLContext()->DestroyStreamTextureCHROMIUM(texture); | 609 gles2::GetGLContext()->DestroyStreamTextureCHROMIUM(texture); |
610 } | 610 } |
611 void GLES2GetTranslatedShaderSourceANGLE( | 611 void GLES2GetTranslatedShaderSourceANGLE( |
612 GLuint shader, GLsizei bufsize, GLsizei* length, char* source) { | 612 GLuint shader, GLsizei bufsize, GLsizei* length, char* source) { |
613 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE( | 613 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE( |
614 shader, bufsize, length, source); | 614 shader, bufsize, length, source); |
615 } | 615 } |
616 void GLES2PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { | 616 void GLES2PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { |
617 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); | 617 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); |
618 } | 618 } |
| 619 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLint* mailbox) { |
| 620 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); |
| 621 } |
| 622 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLint* mailbox) { |
| 623 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
| 624 } |
619 void GLES2TexImageIOSurface2DCHROMIUM( | 625 void GLES2TexImageIOSurface2DCHROMIUM( |
620 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 626 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
621 GLuint plane) { | 627 GLuint plane) { |
622 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( | 628 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( |
623 target, width, height, ioSurfaceId, plane); | 629 target, width, height, ioSurfaceId, plane); |
624 } | 630 } |
625 void GLES2DrawArraysInstancedANGLE( | 631 void GLES2DrawArraysInstancedANGLE( |
626 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { | 632 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { |
627 gles2::GetGLContext()->DrawArraysInstancedANGLE( | 633 gles2::GetGLContext()->DrawArraysInstancedANGLE( |
628 mode, first, count, primcount); | 634 mode, first, count, primcount); |
629 } | 635 } |
630 void GLES2DrawElementsInstancedANGLE( | 636 void GLES2DrawElementsInstancedANGLE( |
631 GLenum mode, GLsizei count, GLenum type, const void* indices, | 637 GLenum mode, GLsizei count, GLenum type, const void* indices, |
632 GLsizei primcount) { | 638 GLsizei primcount) { |
633 gles2::GetGLContext()->DrawElementsInstancedANGLE( | 639 gles2::GetGLContext()->DrawElementsInstancedANGLE( |
634 mode, count, type, indices, primcount); | 640 mode, count, type, indices, primcount); |
635 } | 641 } |
636 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 642 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
637 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); | 643 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); |
638 } | 644 } |
639 | 645 |
640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 646 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
641 | 647 |
OLD | NEW |