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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1394403002: Mac Overlays: Plumb through GL solid color overlay support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 f256ba0cfeae829baf24b1dbba2d1d2f3a966b63..2ee5a6415bc83e08b7a0ef4a2f3675beb26277e9 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1694,6 +1694,20 @@ void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
}
+void MojoGLES2Impl::ScheduleSolidColorOverlayPlaneCHROMIUM(GLint plane_z_order,
+ GLint bounds_x,
+ GLint bounds_y,
+ GLint bounds_width,
+ GLint bounds_height,
+ GLclampf red,
+ GLclampf green,
+ GLclampf blue,
+ GLclampf alpha) {
+ MojoGLES2MakeCurrent(context_);
+ glScheduleSolidColorOverlayPlaneCHROMIUM(plane_z_order, bounds_x, bounds_y,
+ bounds_width, bounds_height, red,
+ green, blue, alpha);
+}
void MojoGLES2Impl::SwapInterval(GLint interval) {
MojoGLES2MakeCurrent(context_);
glSwapInterval(interval);

Powered by Google App Engine
This is Rietveld 408576698