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 } |
625 void GLES2DrawArraysInstancedANGLE( | 630 void GLES2DrawArraysInstancedANGLE( |
626 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { | 631 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { |
627 gles2::GetGLContext()->DrawArraysInstancedANGLE( | 632 gles2::GetGLContext()->DrawArraysInstancedANGLE( |
628 mode, first, count, primcount); | 633 mode, first, count, primcount); |
629 } | 634 } |
630 void GLES2DrawElementsInstancedANGLE( | 635 void GLES2DrawElementsInstancedANGLE( |
631 GLenum mode, GLsizei count, GLenum type, const void* indices, | 636 GLenum mode, GLsizei count, GLenum type, const void* indices, |
632 GLsizei primcount) { | 637 GLsizei primcount) { |
633 gles2::GetGLContext()->DrawElementsInstancedANGLE( | 638 gles2::GetGLContext()->DrawElementsInstancedANGLE( |
634 mode, count, type, indices, primcount); | 639 mode, count, type, indices, primcount); |
635 } | 640 } |
636 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 641 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
637 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); | 642 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); |
638 } | 643 } |
639 | 644 |
640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 645 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
641 | 646 |
OLD | NEW |