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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_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_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 4b2ee2b91795a0c4cdaa62b3343c2f6ec7b3cbb1..a8477179306fb3fdbb0ddb966943f07fa54b4aaa 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1512,6 +1512,20 @@ void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(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 GL_APIENTRY
+GLES2ScheduleSolidColorOverlayPlaneCHROMIUM(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::GetGLContext()->ScheduleSolidColorOverlayPlaneCHROMIUM(
+ plane_z_order, bounds_x, bounds_y, bounds_width, bounds_height, red,
+ green, blue, alpha);
+}
void GL_APIENTRY GLES2SwapInterval(GLint interval) {
gles2::GetGLContext()->SwapInterval(interval);
}
@@ -2754,6 +2768,11 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
},
{
+ "glScheduleSolidColorOverlayPlaneCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glScheduleSolidColorOverlayPlaneCHROMIUM),
+ },
+ {
"glSwapInterval",
reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
},

Powered by Google App Engine
This is Rietveld 408576698