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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 } | 634 } |
635 void GLES2DrawElementsInstancedANGLE( | 635 void GLES2DrawElementsInstancedANGLE( |
636 GLenum mode, GLsizei count, GLenum type, const void* indices, | 636 GLenum mode, GLsizei count, GLenum type, const void* indices, |
637 GLsizei primcount) { | 637 GLsizei primcount) { |
638 gles2::GetGLContext()->DrawElementsInstancedANGLE( | 638 gles2::GetGLContext()->DrawElementsInstancedANGLE( |
639 mode, count, type, indices, primcount); | 639 mode, count, type, indices, primcount); |
640 } | 640 } |
641 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 641 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
642 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); | 642 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); |
643 } | 643 } |
| 644 void GLES2GenMailboxCHROMIUM(GLbyte* mailbox) { |
| 645 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox); |
| 646 } |
| 647 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
| 648 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); |
| 649 } |
| 650 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
| 651 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
| 652 } |
644 | 653 |
645 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 654 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
646 | 655 |
OLD | NEW |