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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 GLboolean GLES2CommandBufferEnable(const char* feature) { | 522 GLboolean GLES2CommandBufferEnable(const char* feature) { |
523 return gles2::GetGLContext()->CommandBufferEnable(feature); | 523 return gles2::GetGLContext()->CommandBufferEnable(feature); |
524 } | 524 } |
| 525 void* GLES2MapBufferSubData( |
| 526 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) { |
| 527 return gles2::GetGLContext()->MapBufferSubData(target, offset, size, access); |
| 528 } |
| 529 void GLES2UnmapBufferSubData(const void* mem) { |
| 530 gles2::GetGLContext()->UnmapBufferSubData(mem); |
| 531 } |
| 532 void* GLES2MapTexSubImage2D( |
| 533 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, |
| 534 GLsizei height, GLenum format, GLenum type, GLenum access) { |
| 535 return gles2::GetGLContext()->MapTexSubImage2D( |
| 536 target, level, xoffset, yoffset, width, height, format, type, access); |
| 537 } |
| 538 void GLES2UnmapTexSubImage2D(const void* mem) { |
| 539 gles2::GetGLContext()->UnmapTexSubImage2D(mem); |
| 540 } |
525 | 541 |
526 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 542 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
527 | 543 |
OLD | NEW |