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

Unified Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_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_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index 86c547d287fffd131d4d993bb353e037c599d87a..df1d555b6b048b36a90c3782835a1823d51dcfb5 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -2206,6 +2206,23 @@ void GLES2TraceImplementation::ScheduleOverlayPlaneCHROMIUM(
bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
}
+void GLES2TraceImplementation::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) {
+ TRACE_EVENT_BINARY_EFFICIENT0(
+ "gpu", "GLES2Trace::ScheduleSolidColorOverlayPlaneCHROMIUM");
+ gl_->ScheduleSolidColorOverlayPlaneCHROMIUM(plane_z_order, bounds_x, bounds_y,
+ bounds_width, bounds_height, red,
+ green, blue, alpha);
+}
+
void GLES2TraceImplementation::SwapInterval(GLint interval) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval");
gl_->SwapInterval(interval);

Powered by Google App Engine
This is Rietveld 408576698