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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: address review comments Created 5 years, 3 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: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 04ae3ae4dd1cf1549052a956ea94f5d44cb78c17..432abe7e611e98fc5432eb7ed2ff0b32e3df9388 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1884,5 +1884,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

Powered by Google App Engine
This is Rietveld 408576698