| 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 581     GLuint namespace_id, GLsizei n, const GLuint* ids) { | 581     GLuint namespace_id, GLsizei n, const GLuint* ids) { | 
| 582   gles2::GetGLContext()->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); | 582   gles2::GetGLContext()->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); | 
| 583 } | 583 } | 
| 584 void GLES2RegisterSharedIdsCHROMIUM( | 584 void GLES2RegisterSharedIdsCHROMIUM( | 
| 585     GLuint namespace_id, GLsizei n, const GLuint* ids) { | 585     GLuint namespace_id, GLsizei n, const GLuint* ids) { | 
| 586   gles2::GetGLContext()->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); | 586   gles2::GetGLContext()->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); | 
| 587 } | 587 } | 
| 588 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) { | 588 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) { | 
| 589   return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature); | 589   return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature); | 
| 590 } | 590 } | 
|  | 591 void* GLES2MapBufferCHROMIUM(GLuint target, GLenum access) { | 
|  | 592   return gles2::GetGLContext()->MapBufferCHROMIUM(target, access); | 
|  | 593 } | 
|  | 594 GLboolean GLES2UnmapBufferCHROMIUM(GLuint target) { | 
|  | 595   return gles2::GetGLContext()->UnmapBufferCHROMIUM(target); | 
|  | 596 } | 
| 591 void* GLES2MapBufferSubDataCHROMIUM( | 597 void* GLES2MapBufferSubDataCHROMIUM( | 
| 592     GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) { | 598     GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) { | 
| 593   return gles2::GetGLContext()->MapBufferSubDataCHROMIUM( | 599   return gles2::GetGLContext()->MapBufferSubDataCHROMIUM( | 
| 594       target, offset, size, access); | 600       target, offset, size, access); | 
| 595 } | 601 } | 
| 596 void GLES2UnmapBufferSubDataCHROMIUM(const void* mem) { | 602 void GLES2UnmapBufferSubDataCHROMIUM(const void* mem) { | 
| 597   gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem); | 603   gles2::GetGLContext()->UnmapBufferSubDataCHROMIUM(mem); | 
| 598 } | 604 } | 
| 599 void* GLES2MapTexSubImage2DCHROMIUM( | 605 void* GLES2MapTexSubImage2DCHROMIUM( | 
| 600     GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, | 606     GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 681 } | 687 } | 
| 682 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 688 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 
| 683   gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); | 689   gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); | 
| 684 } | 690 } | 
| 685 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 691 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 
| 686   gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 692   gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 
| 687 } | 693 } | 
| 688 | 694 | 
| 689 #endif  // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 695 #endif  // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 
| 690 | 696 | 
| OLD | NEW | 
|---|