summaryrefslogtreecommitdiffstats
path: root/mojo/gpu
diff options
context:
space:
mode:
authorzmo <zmo@chromium.org>2015-05-07 20:44:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-08 03:46:08 +0000
commitc9ea7b83c99aecd157982b2983bbeeee1711156c (patch)
tree87659e6e68b192aca7a9ac68b114ecca7b31f19c /mojo/gpu
parent77ae946801100bfcff4f1eb47f8849d6ed1faada (diff)
downloadchromium_src-c9ea7b83c99aecd157982b2983bbeeee1711156c.zip
chromium_src-c9ea7b83c99aecd157982b2983bbeeee1711156c.tar.gz
chromium_src-c9ea7b83c99aecd157982b2983bbeeee1711156c.tar.bz2
Add ES3 command GetUniformuiv to GPU command buffer.
BUG=429053 TEST=gpu_unittests R=piman@chromium.org Review URL: https://codereview.chromium.org/1129143004 Cr-Commit-Position: refs/heads/master@{#328919}
Diffstat (limited to 'mojo/gpu')
-rw-r--r--mojo/gpu/mojo_gles2_impl_autogen.cc5
-rw-r--r--mojo/gpu/mojo_gles2_impl_autogen.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 2e6d25a..a65388f 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -619,6 +619,11 @@ void MojoGLES2Impl::GetUniformiv(GLuint program,
MojoGLES2MakeCurrent(context_);
glGetUniformiv(program, location, params);
}
+void MojoGLES2Impl::GetUniformuiv(GLuint program,
+ GLint location,
+ GLuint* params) {
+ NOTREACHED() << "Unimplemented GetUniformuiv.";
+}
void MojoGLES2Impl::GetUniformIndices(GLuint program,
GLsizei count,
const char* const* names,
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h
index 90ddf00..5997da5 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.h
+++ b/mojo/gpu/mojo_gles2_impl_autogen.h
@@ -308,6 +308,7 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface {
GLuint GetUniformBlockIndex(GLuint program, const char* name) override;
void GetUniformfv(GLuint program, GLint location, GLfloat* params) override;
void GetUniformiv(GLuint program, GLint location, GLint* params) override;
+ void GetUniformuiv(GLuint program, GLint location, GLuint* params) override;
void GetUniformIndices(GLuint program,
GLsizei count,
const char* const* names,