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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 5cafe6e6920819e898ede8360929f3b470f72319..e35f6d13d0508900e65dbcb8cf015727ad8fed5a 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -522,6 +522,9 @@ void GL_APIENTRY GLES2GetShaderSource(GLuint shader,
const GLubyte* GL_APIENTRY GLES2GetString(GLenum name) {
return gles2::GetGLContext()->GetString(name);
}
+const GLubyte* GL_APIENTRY GLES2GetStringi(GLenum name, GLuint index) {
+ return gles2::GetGLContext()->GetStringi(name, index);
+}
void GL_APIENTRY GLES2GetSynciv(GLsync sync,
GLenum pname,
GLsizei bufsize,
@@ -2100,6 +2103,9 @@ extern const NameToFunc g_gles2_function_table[] = {
"glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
},
{
+ "glGetStringi", reinterpret_cast<GLES2FunctionPointer>(glGetStringi),
+ },
+ {
"glGetSynciv", reinterpret_cast<GLES2FunctionPointer>(glGetSynciv),
},
{
« 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