Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(992)

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 10440019: Add support for GL_CHROMIUM_pixel_transfer_buffer_object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 { "glGetMaxValueInBufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 961 { "glGetMaxValueInBufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
956 glGetMaxValueInBufferCHROMIUM), }, 962 glGetMaxValueInBufferCHROMIUM), },
957 { "glGenSharedIdsCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 963 { "glGenSharedIdsCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
958 glGenSharedIdsCHROMIUM), }, 964 glGenSharedIdsCHROMIUM), },
959 { "glDeleteSharedIdsCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 965 { "glDeleteSharedIdsCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
960 glDeleteSharedIdsCHROMIUM), }, 966 glDeleteSharedIdsCHROMIUM), },
961 { "glRegisterSharedIdsCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 967 { "glRegisterSharedIdsCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
962 glRegisterSharedIdsCHROMIUM), }, 968 glRegisterSharedIdsCHROMIUM), },
963 { "glEnableFeatureCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 969 { "glEnableFeatureCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
964 glEnableFeatureCHROMIUM), }, 970 glEnableFeatureCHROMIUM), },
971 { "glMapBufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
972 glMapBufferCHROMIUM), },
973 { "glUnmapBufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
974 glUnmapBufferCHROMIUM), },
965 { "glMapBufferSubDataCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 975 { "glMapBufferSubDataCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
966 glMapBufferSubDataCHROMIUM), }, 976 glMapBufferSubDataCHROMIUM), },
967 { "glUnmapBufferSubDataCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 977 { "glUnmapBufferSubDataCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
968 glUnmapBufferSubDataCHROMIUM), }, 978 glUnmapBufferSubDataCHROMIUM), },
969 { "glMapTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 979 { "glMapTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
970 glMapTexSubImage2DCHROMIUM), }, 980 glMapTexSubImage2DCHROMIUM), },
971 { "glUnmapTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 981 { "glUnmapTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
972 glUnmapTexSubImage2DCHROMIUM), }, 982 glUnmapTexSubImage2DCHROMIUM), },
973 { "glResizeCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 983 { "glResizeCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
974 glResizeCHROMIUM), }, 984 glResizeCHROMIUM), },
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1023 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1014 glTraceBeginCHROMIUM), }, 1024 glTraceBeginCHROMIUM), },
1015 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1025 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1016 glTraceEndCHROMIUM), }, 1026 glTraceEndCHROMIUM), },
1017 { NULL, NULL, }, 1027 { NULL, NULL, },
1018 }; 1028 };
1019 1029
1020 } // namespace gles2 1030 } // namespace gles2
1021 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1031 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1022 1032
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/buffer_tracker_unittest.cc ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698