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

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

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Uploading again Created 7 years, 7 months 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
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 } 289 }
290 void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) { 290 void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) {
291 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params); 291 gles2::GetGLContext()->GetVertexAttribiv(index, pname, params);
292 } 292 }
293 void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) { 293 void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) {
294 gles2::GetGLContext()->GetVertexAttribPointerv(index, pname, pointer); 294 gles2::GetGLContext()->GetVertexAttribPointerv(index, pname, pointer);
295 } 295 }
296 void GLES2Hint(GLenum target, GLenum mode) { 296 void GLES2Hint(GLenum target, GLenum mode) {
297 gles2::GetGLContext()->Hint(target, mode); 297 gles2::GetGLContext()->Hint(target, mode);
298 } 298 }
299 void GLES2ImageBufferDataCHROMIUM(
300 GLenum target, GLsizei width, GLsizei height) {
301 gles2::GetGLContext()->ImageBufferDataCHROMIUM(target, width, height);
302 }
299 GLboolean GLES2IsBuffer(GLuint buffer) { 303 GLboolean GLES2IsBuffer(GLuint buffer) {
300 return gles2::GetGLContext()->IsBuffer(buffer); 304 return gles2::GetGLContext()->IsBuffer(buffer);
301 } 305 }
302 GLboolean GLES2IsEnabled(GLenum cap) { 306 GLboolean GLES2IsEnabled(GLenum cap) {
303 return gles2::GetGLContext()->IsEnabled(cap); 307 return gles2::GetGLContext()->IsEnabled(cap);
304 } 308 }
305 GLboolean GLES2IsFramebuffer(GLuint framebuffer) { 309 GLboolean GLES2IsFramebuffer(GLuint framebuffer) {
306 return gles2::GetGLContext()->IsFramebuffer(framebuffer); 310 return gles2::GetGLContext()->IsFramebuffer(framebuffer);
307 } 311 }
308 GLboolean GLES2IsProgram(GLuint program) { 312 GLboolean GLES2IsProgram(GLuint program) {
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 glGetUniformiv), }, 867 glGetUniformiv), },
864 { "glGetUniformLocation", reinterpret_cast<GLES2FunctionPointer>( 868 { "glGetUniformLocation", reinterpret_cast<GLES2FunctionPointer>(
865 glGetUniformLocation), }, 869 glGetUniformLocation), },
866 { "glGetVertexAttribfv", reinterpret_cast<GLES2FunctionPointer>( 870 { "glGetVertexAttribfv", reinterpret_cast<GLES2FunctionPointer>(
867 glGetVertexAttribfv), }, 871 glGetVertexAttribfv), },
868 { "glGetVertexAttribiv", reinterpret_cast<GLES2FunctionPointer>( 872 { "glGetVertexAttribiv", reinterpret_cast<GLES2FunctionPointer>(
869 glGetVertexAttribiv), }, 873 glGetVertexAttribiv), },
870 { "glGetVertexAttribPointerv", reinterpret_cast<GLES2FunctionPointer>( 874 { "glGetVertexAttribPointerv", reinterpret_cast<GLES2FunctionPointer>(
871 glGetVertexAttribPointerv), }, 875 glGetVertexAttribPointerv), },
872 { "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), }, 876 { "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), },
877 { "glImageBufferDataCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
878 glImageBufferDataCHROMIUM), },
873 { "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), }, 879 { "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), },
874 { "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), }, 880 { "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), },
875 { "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>( 881 { "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>(
876 glIsFramebuffer), }, 882 glIsFramebuffer), },
877 { "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), }, 883 { "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), },
878 { "glIsRenderbuffer", reinterpret_cast<GLES2FunctionPointer>( 884 { "glIsRenderbuffer", reinterpret_cast<GLES2FunctionPointer>(
879 glIsRenderbuffer), }, 885 glIsRenderbuffer), },
880 { "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), }, 886 { "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), },
881 { "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), }, 887 { "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), },
882 { "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), }, 888 { "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), },
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( 1079 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
1074 glWaitSyncPointCHROMIUM), }, 1080 glWaitSyncPointCHROMIUM), },
1075 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( 1081 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
1076 glDrawBuffersEXT), }, 1082 glDrawBuffersEXT), },
1077 { NULL, NULL, }, 1083 { NULL, NULL, },
1078 }; 1084 };
1079 1085
1080 } // namespace gles2 1086 } // namespace gles2
1081 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1087 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
1082 1088
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698