OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
6 | 6 |
7 // This file is included by gles2_implementation.h to declare the | 7 // This file is included by gles2_implementation.h to declare the |
8 // GL api functions. | 8 // GL api functions. |
9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 GLenum mode, GLsizei count, GLenum type, const void* indices); | 192 GLenum mode, GLsizei count, GLenum type, const void* indices); |
193 | 193 |
194 void Enable(GLenum cap) { | 194 void Enable(GLenum cap) { |
195 helper_->Enable(cap); | 195 helper_->Enable(cap); |
196 } | 196 } |
197 | 197 |
198 void EnableVertexAttribArray(GLuint index) { | 198 void EnableVertexAttribArray(GLuint index) { |
199 helper_->EnableVertexAttribArray(index); | 199 helper_->EnableVertexAttribArray(index); |
200 } | 200 } |
201 | 201 |
202 void Finish() { | 202 void Finish(); |
203 helper_->Finish(); | |
204 } | |
205 | 203 |
206 void Flush() { | 204 void Flush() { |
207 helper_->Flush(); | 205 helper_->Flush(); |
208 } | 206 } |
209 | 207 |
210 void FramebufferRenderbuffer( | 208 void FramebufferRenderbuffer( |
211 GLenum target, GLenum attachment, GLenum renderbuffertarget, | 209 GLenum target, GLenum attachment, GLenum renderbuffertarget, |
212 GLuint renderbuffer) { | 210 GLuint renderbuffer) { |
213 helper_->FramebufferRenderbuffer( | 211 helper_->FramebufferRenderbuffer( |
214 target, attachment, renderbuffertarget, renderbuffer); | 212 target, attachment, renderbuffertarget, renderbuffer); |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 } | 643 } |
646 | 644 |
647 void VertexAttribPointer( | 645 void VertexAttribPointer( |
648 GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, | 646 GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, |
649 const void* ptr); | 647 const void* ptr); |
650 | 648 |
651 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { | 649 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { |
652 helper_->Viewport(x, y, width, height); | 650 helper_->Viewport(x, y, width, height); |
653 } | 651 } |
654 | 652 |
655 void SwapBuffers() { | 653 void SwapBuffers(); |
656 helper_->SwapBuffers(); | |
657 } | |
658 | 654 |
659 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 655 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
660 | 656 |
OLD | NEW |