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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 } | 644 } |
645 void GLES2GenMailboxCHROMIUM(GLbyte* mailbox) { | 645 void GLES2GenMailboxCHROMIUM(GLbyte* mailbox) { |
646 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox); | 646 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox); |
647 } | 647 } |
648 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 648 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
649 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); | 649 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); |
650 } | 650 } |
651 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 651 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
652 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); | 652 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
653 } | 653 } |
654 void GLES2GetUniformLocationsCHROMIUM( | 654 void GLES2BindUniformLocationCHROMIUM( |
655 GLuint program, const GLUniformDefinitionCHROMIUM* uniforms, GLsizei count, | 655 GLuint program, GLint location, const char* name) { |
656 GLsizei max_locations, GLint* locations) { | 656 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
657 gles2::GetGLContext()->GetUniformLocationsCHROMIUM( | |
658 program, uniforms, count, max_locations, locations); | |
659 } | 657 } |
660 | 658 |
661 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 659 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
662 | 660 |
OLD | NEW |