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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 1136713003: Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
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 32aad9de5a2e375952ca3f2952630f59eba755e9..58881b7d77abaa337787f248627c2fe2427ffa90 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -546,6 +546,12 @@ void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) {
void GLES2GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) {
gles2::GetGLContext()->GetVertexAttribiv(index, pname, params);
}
+void GLES2GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) {
+ gles2::GetGLContext()->GetVertexAttribIiv(index, pname, params);
+}
+void GLES2GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params) {
+ gles2::GetGLContext()->GetVertexAttribIuiv(index, pname, params);
+}
void GLES2GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) {
gles2::GetGLContext()->GetVertexAttribPointerv(index, pname, pointer);
}
@@ -1852,6 +1858,14 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
},
{
+ "glGetVertexAttribIiv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIiv),
+ },
+ {
+ "glGetVertexAttribIuiv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribIuiv),
+ },
+ {
"glGetVertexAttribPointerv",
reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
},

Powered by Google App Engine
This is Rietveld 408576698