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

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

Issue 1688163002: command_buffer: Implement glGetStringi for GL ES 3.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command-buffer-generator-int-types
Patch Set: rebase Created 4 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 } 515 }
516 void GL_APIENTRY GLES2GetShaderSource(GLuint shader, 516 void GL_APIENTRY GLES2GetShaderSource(GLuint shader,
517 GLsizei bufsize, 517 GLsizei bufsize,
518 GLsizei* length, 518 GLsizei* length,
519 char* source) { 519 char* source) {
520 gles2::GetGLContext()->GetShaderSource(shader, bufsize, length, source); 520 gles2::GetGLContext()->GetShaderSource(shader, bufsize, length, source);
521 } 521 }
522 const GLubyte* GL_APIENTRY GLES2GetString(GLenum name) { 522 const GLubyte* GL_APIENTRY GLES2GetString(GLenum name) {
523 return gles2::GetGLContext()->GetString(name); 523 return gles2::GetGLContext()->GetString(name);
524 } 524 }
525 const GLubyte* GL_APIENTRY GLES2GetStringi(GLenum name, GLuint index) {
526 return gles2::GetGLContext()->GetStringi(name, index);
527 }
525 void GL_APIENTRY GLES2GetSynciv(GLsync sync, 528 void GL_APIENTRY GLES2GetSynciv(GLsync sync,
526 GLenum pname, 529 GLenum pname,
527 GLsizei bufsize, 530 GLsizei bufsize,
528 GLsizei* length, 531 GLsizei* length,
529 GLint* values) { 532 GLint* values) {
530 gles2::GetGLContext()->GetSynciv(sync, pname, bufsize, length, values); 533 gles2::GetGLContext()->GetSynciv(sync, pname, bufsize, length, values);
531 } 534 }
532 void GL_APIENTRY GLES2GetTexParameterfv(GLenum target, 535 void GL_APIENTRY GLES2GetTexParameterfv(GLenum target,
533 GLenum pname, 536 GLenum pname,
534 GLfloat* params) { 537 GLfloat* params) {
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2093 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat), 2096 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
2094 }, 2097 },
2095 { 2098 {
2096 "glGetShaderSource", 2099 "glGetShaderSource",
2097 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource), 2100 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
2098 }, 2101 },
2099 { 2102 {
2100 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString), 2103 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
2101 }, 2104 },
2102 { 2105 {
2106 "glGetStringi", reinterpret_cast<GLES2FunctionPointer>(glGetStringi),
2107 },
2108 {
2103 "glGetSynciv", reinterpret_cast<GLES2FunctionPointer>(glGetSynciv), 2109 "glGetSynciv", reinterpret_cast<GLES2FunctionPointer>(glGetSynciv),
2104 }, 2110 },
2105 { 2111 {
2106 "glGetTexParameterfv", 2112 "glGetTexParameterfv",
2107 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), 2113 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
2108 }, 2114 },
2109 { 2115 {
2110 "glGetTexParameteriv", 2116 "glGetTexParameteriv",
2111 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), 2117 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
2112 }, 2118 },
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
3006 "glGetFragDataIndexEXT", 3012 "glGetFragDataIndexEXT",
3007 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), 3013 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT),
3008 }, 3014 },
3009 { 3015 {
3010 NULL, NULL, 3016 NULL, NULL,
3011 }, 3017 },
3012 }; 3018 };
3013 3019
3014 } // namespace gles2 3020 } // namespace gles2
3015 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3021 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698