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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 GLES2TexImageIOSurface2DCHROMIUM( | 619 void GLES2TexImageIOSurface2DCHROMIUM( |
620 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 620 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
621 GLuint plane) { | 621 GLuint plane) { |
622 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( | 622 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( |
623 target, width, height, ioSurfaceId, plane); | 623 target, width, height, ioSurfaceId, plane); |
624 } | 624 } |
625 void GLES2CopyTextureCHROMIUM( | |
626 GLenum target, GLenum source_id, GLenum dest_id, GLint level) { | |
627 gles2::GetGLContext()->CopyTextureCHROMIUM( | |
628 target, source_id, dest_id, level); | |
629 } | |
630 void GLES2DrawArraysInstancedANGLE( | 625 void GLES2DrawArraysInstancedANGLE( |
631 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { | 626 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { |
632 gles2::GetGLContext()->DrawArraysInstancedANGLE( | 627 gles2::GetGLContext()->DrawArraysInstancedANGLE( |
633 mode, first, count, primcount); | 628 mode, first, count, primcount); |
634 } | 629 } |
635 void GLES2DrawElementsInstancedANGLE( | 630 void GLES2DrawElementsInstancedANGLE( |
636 GLenum mode, GLsizei count, GLenum type, const void* indices, | 631 GLenum mode, GLsizei count, GLenum type, const void* indices, |
637 GLsizei primcount) { | 632 GLsizei primcount) { |
638 gles2::GetGLContext()->DrawElementsInstancedANGLE( | 633 gles2::GetGLContext()->DrawElementsInstancedANGLE( |
639 mode, count, type, indices, primcount); | 634 mode, count, type, indices, primcount); |
640 } | 635 } |
641 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 636 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
642 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); | 637 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); |
643 } | 638 } |
644 | 639 |
645 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
646 | 641 |
OLD | NEW |