| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 160 } |
| 161 void GLES2EnableVertexAttribArray(GLuint index) { | 161 void GLES2EnableVertexAttribArray(GLuint index) { |
| 162 gles2::GetGLContext()->EnableVertexAttribArray(index); | 162 gles2::GetGLContext()->EnableVertexAttribArray(index); |
| 163 } | 163 } |
| 164 void GLES2Finish() { | 164 void GLES2Finish() { |
| 165 gles2::GetGLContext()->Finish(); | 165 gles2::GetGLContext()->Finish(); |
| 166 } | 166 } |
| 167 void GLES2Flush() { | 167 void GLES2Flush() { |
| 168 gles2::GetGLContext()->Flush(); | 168 gles2::GetGLContext()->Flush(); |
| 169 } | 169 } |
| 170 void GLES2ShallowFlushCHROMIUM() { |
| 171 gles2::GetGLContext()->ShallowFlushCHROMIUM(); |
| 172 } |
| 170 void GLES2FramebufferRenderbuffer( | 173 void GLES2FramebufferRenderbuffer( |
| 171 GLenum target, GLenum attachment, GLenum renderbuffertarget, | 174 GLenum target, GLenum attachment, GLenum renderbuffertarget, |
| 172 GLuint renderbuffer) { | 175 GLuint renderbuffer) { |
| 173 gles2::GetGLContext()->FramebufferRenderbuffer( | 176 gles2::GetGLContext()->FramebufferRenderbuffer( |
| 174 target, attachment, renderbuffertarget, renderbuffer); | 177 target, attachment, renderbuffertarget, renderbuffer); |
| 175 } | 178 } |
| 176 void GLES2FramebufferTexture2D( | 179 void GLES2FramebufferTexture2D( |
| 177 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, | 180 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, |
| 178 GLint level) { | 181 GLint level) { |
| 179 gles2::GetGLContext()->FramebufferTexture2D( | 182 gles2::GetGLContext()->FramebufferTexture2D( |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 654 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
| 652 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); | 655 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
| 653 } | 656 } |
| 654 void GLES2BindUniformLocationCHROMIUM( | 657 void GLES2BindUniformLocationCHROMIUM( |
| 655 GLuint program, GLint location, const char* name) { | 658 GLuint program, GLint location, const char* name) { |
| 656 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); | 659 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
| 657 } | 660 } |
| 658 | 661 |
| 659 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 662 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 660 | 663 |
| OLD | NEW |