| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 emluate GLES2 over command buffers. | 9 // These functions emluate 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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 gles2::GetGLContext()->GenSharedIdsCHROMIUM(namespace_id, id_offset, n, ids); | 527 gles2::GetGLContext()->GenSharedIdsCHROMIUM(namespace_id, id_offset, n, ids); |
| 528 } | 528 } |
| 529 void GLES2DeleteSharedIdsCHROMIUM( | 529 void GLES2DeleteSharedIdsCHROMIUM( |
| 530 GLuint namespace_id, GLsizei n, const GLuint* ids) { | 530 GLuint namespace_id, GLsizei n, const GLuint* ids) { |
| 531 gles2::GetGLContext()->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); | 531 gles2::GetGLContext()->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); |
| 532 } | 532 } |
| 533 void GLES2RegisterSharedIdsCHROMIUM( | 533 void GLES2RegisterSharedIdsCHROMIUM( |
| 534 GLuint namespace_id, GLsizei n, const GLuint* ids) { | 534 GLuint namespace_id, GLsizei n, const GLuint* ids) { |
| 535 gles2::GetGLContext()->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); | 535 gles2::GetGLContext()->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); |
| 536 } | 536 } |
| 537 GLboolean GLES2CommandBufferEnableCHROMIUM(const char* feature) { | 537 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) { |
| 538 return gles2::GetGLContext()->CommandBufferEnableCHROMIUM(feature); | 538 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature); |
| 539 } | 539 } |
| 540 void* GLES2MapBufferSubDataCHROMIUM( | 540 void* GLES2MapBufferSubDataCHROMIUM( |
| 541 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) { | 541 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) { |
| 542 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM( | 542 return gles2::GetGLContext()->MapBufferSubDataCHROMIUM( |
| 543 target, offset, size, access); | 543 target, offset, size, access); |
| 544 } | 544 } |
| 545 void GLES2UnmapBufferSubDataCHROMIUM(const void* mem) { | 545 void GLES2UnmapBufferSubDataCHROMIUM(const void* mem) { |
| 546 gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem); | 546 gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem); |
| 547 } | 547 } |
| 548 void* GLES2MapTexSubImage2DCHROMIUM( | 548 void* GLES2MapTexSubImage2DCHROMIUM( |
| (...skipping 25 matching lines...) Expand all Loading... |
| 574 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM( | 574 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM( |
| 575 pnames, count, results, size); | 575 pnames, count, results, size); |
| 576 } | 576 } |
| 577 void GLES2GetProgramInfoCHROMIUM( | 577 void GLES2GetProgramInfoCHROMIUM( |
| 578 GLuint program, GLsizei bufsize, GLsizei* size, void* info) { | 578 GLuint program, GLsizei bufsize, GLsizei* size, void* info) { |
| 579 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); | 579 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); |
| 580 } | 580 } |
| 581 | 581 |
| 582 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 582 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 583 | 583 |
| OLD | NEW |