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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 672 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
673 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); | 673 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); |
674 } | 674 } |
675 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 675 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
676 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); | 676 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
677 } | 677 } |
678 void GLES2BindUniformLocationCHROMIUM( | 678 void GLES2BindUniformLocationCHROMIUM( |
679 GLuint program, GLint location, const char* name) { | 679 GLuint program, GLint location, const char* name) { |
680 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); | 680 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
681 } | 681 } |
| 682 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 683 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); |
| 684 } |
| 685 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 686 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); |
| 687 } |
682 | 688 |
683 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 689 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
684 | 690 |
OLD | NEW |