diff options
Diffstat (limited to 'mojo/gpu')
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.cc | 17 | ||||
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.h | 8 |
2 files changed, 25 insertions, 0 deletions
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc index 8f817e3..2b2538a 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.cc +++ b/mojo/gpu/mojo_gles2_impl_autogen.cc @@ -1909,5 +1909,22 @@ void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { MojoGLES2MakeCurrent(context_); glApplyScreenSpaceAntialiasingCHROMIUM(); } +void MojoGLES2Impl::BindFragDataLocationIndexedEXT(GLuint program, + GLuint colorNumber, + GLuint index, + const char* name) { + MojoGLES2MakeCurrent(context_); + glBindFragDataLocationIndexedEXT(program, colorNumber, index, name); +} +void MojoGLES2Impl::BindFragDataLocationEXT(GLuint program, + GLuint colorNumber, + const char* name) { + MojoGLES2MakeCurrent(context_); + glBindFragDataLocationEXT(program, colorNumber, name); +} +GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { + MojoGLES2MakeCurrent(context_); + return glGetFragDataIndexEXT(program, name); +} } // namespace mojo diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h index e207ca4..c00372dd 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.h +++ b/mojo/gpu/mojo_gles2_impl_autogen.h @@ -888,6 +888,14 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface { GLenum GetGraphicsResetStatusKHR() override; void BlendBarrierKHR() override; void ApplyScreenSpaceAntialiasingCHROMIUM() override; + void BindFragDataLocationIndexedEXT(GLuint program, + GLuint colorNumber, + GLuint index, + const char* name) override; + void BindFragDataLocationEXT(GLuint program, + GLuint colorNumber, + const char* name) override; + GLint GetFragDataIndexEXT(GLuint program, const char* name) override; private: MojoGLES2Context context_; |