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 // These functions emluate GLES2 over command buffers. | 7 // These functions emluate GLES2 over command buffers. |
8 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 8 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
9 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 9 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
10 | 10 |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { | 512 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { |
513 gles2::GetGLContext()->GenSharedIds(namespace_id, id_offset, n, ids); | 513 gles2::GetGLContext()->GenSharedIds(namespace_id, id_offset, n, ids); |
514 } | 514 } |
515 void GLES2DeleteSharedIds(GLuint namespace_id, GLsizei n, const GLuint* ids) { | 515 void GLES2DeleteSharedIds(GLuint namespace_id, GLsizei n, const GLuint* ids) { |
516 gles2::GetGLContext()->DeleteSharedIds(namespace_id, n, ids); | 516 gles2::GetGLContext()->DeleteSharedIds(namespace_id, n, ids); |
517 } | 517 } |
518 void GLES2RegisterSharedIds( | 518 void GLES2RegisterSharedIds( |
519 GLuint namespace_id, GLsizei n, const GLuint* ids) { | 519 GLuint namespace_id, GLsizei n, const GLuint* ids) { |
520 gles2::GetGLContext()->RegisterSharedIds(namespace_id, n, ids); | 520 gles2::GetGLContext()->RegisterSharedIds(namespace_id, n, ids); |
521 } | 521 } |
522 void GLES2CommandBufferEnable(GLenum cap, GLboolean enable) { | 522 GLboolean GLES2CommandBufferEnable(const char* feature) { |
523 gles2::GetGLContext()->CommandBufferEnable(cap, enable); | 523 return gles2::GetGLContext()->CommandBufferEnable(feature); |
524 } | 524 } |
525 | 525 |
526 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 526 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
527 | 527 |
OLD | NEW |