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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

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: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index b722d6e7f3e573dce8e1abec72e88bed619ad092..e7bef5860fc4dc88c021346c11a992bc3be97850 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2823,6 +2823,23 @@ void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
}
}
+void 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) {
+ gles2::cmds::ScheduleSolidColorOverlayPlaneCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::ScheduleSolidColorOverlayPlaneCHROMIUM>();
+ if (c) {
+ c->Init(plane_z_order, bounds_x, bounds_y, bounds_width, bounds_height, red,
+ green, blue, alpha);
+ }
+}
+
void SwapInterval(GLint interval) {
gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>();
if (c) {

Powered by Google App Engine
This is Rietveld 408576698