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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1472993003: Add CommitOverlayPlanesCHROMIUM command buffer function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to add the extension description txt file Created 5 years, 1 month 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 0e58f739e2cd00415a11d5e90d361fd049ae0141..8b572288d1695d05859493640999470afa073b23 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1705,6 +1705,10 @@ void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity,
background_color, bounds_size, transform);
}
+void MojoGLES2Impl::CommitOverlayPlanesCHROMIUM() {
+ MojoGLES2MakeCurrent(context_);
+ glCommitOverlayPlanesCHROMIUM();
+}
void MojoGLES2Impl::SwapInterval(GLint interval) {
MojoGLES2MakeCurrent(context_);
glSwapInterval(interval);
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698