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

Unified Diff: gpu/command_buffer/client/gles2_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_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 9f8bfba251ac4a266ea0f1caa68de5751421cc54..920eb5302ce5f63c7a07831e1d6c6972babc935e 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3504,6 +3504,28 @@ void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
CheckGLError();
}
+void GLES2Implementation::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) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG(
+ "[" << GetLogPrefix() << "] glScheduleSolidColorOverlayPlaneCHROMIUM("
+ << plane_z_order << ", " << bounds_x << ", " << bounds_y << ", "
+ << bounds_width << ", " << bounds_height << ", " << red << ", "
+ << green << ", " << blue << ", " << alpha << ")");
+ helper_->ScheduleSolidColorOverlayPlaneCHROMIUM(
+ plane_z_order, bounds_x, bounds_y, bounds_width, bounds_height, red,
+ green, blue, alpha);
+ CheckGLError();
+}
+
void GLES2Implementation::FlushDriverCachesCHROMIUM() {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM("

Powered by Google App Engine
This is Rietveld 408576698