diff options
author | zmo <zmo@chromium.org> | 2015-05-14 12:13:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-14 19:14:10 +0000 |
commit | 5ee097e78c8c254607c02ee7614bba0abe41d956 (patch) | |
tree | 2eb60bf5914c1eb0bda2191d523afbc75349fee3 /mojo/gpu | |
parent | 55c68a9a9aecbdc22fd06a99aa93b98881405d88 (diff) | |
download | chromium_src-5ee097e78c8c254607c02ee7614bba0abe41d956.zip chromium_src-5ee097e78c8c254607c02ee7614bba0abe41d956.tar.gz chromium_src-5ee097e78c8c254607c02ee7614bba0abe41d956.tar.bz2 |
Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer.
BUG=429053
TEST=gpu_unittests
R=piman@chromium.org
Review URL: https://codereview.chromium.org/1136713003
Cr-Commit-Position: refs/heads/master@{#329892}
Diffstat (limited to 'mojo/gpu')
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.cc | 10 | ||||
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc index a65388f..2a6169b 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.cc +++ b/mojo/gpu/mojo_gles2_impl_autogen.cc @@ -646,6 +646,16 @@ void MojoGLES2Impl::GetVertexAttribiv(GLuint index, MojoGLES2MakeCurrent(context_); glGetVertexAttribiv(index, pname, params); } +void MojoGLES2Impl::GetVertexAttribIiv(GLuint index, + GLenum pname, + GLint* params) { + NOTREACHED() << "Unimplemented GetVertexAttribIiv."; +} +void MojoGLES2Impl::GetVertexAttribIuiv(GLuint index, + GLenum pname, + GLuint* params) { + NOTREACHED() << "Unimplemented GetVertexAttribIuiv."; +} void MojoGLES2Impl::GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) { diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h index 5997da5..d6be8929 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.h +++ b/mojo/gpu/mojo_gles2_impl_autogen.h @@ -316,6 +316,8 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface { GLint GetUniformLocation(GLuint program, const char* name) override; void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override; void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override; + void GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) override; + void GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params) override; void GetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer) override; |