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

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

Issue 1409193007: gpu: Add CHROMIUM_schedule_ca_layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 5 years, 1 month 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1e707668d71a38d6b75f024f7864db4941fca1a8..b96fdae37805a00d0dc9a0aff53b7d8afda7f7b8 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1516,6 +1516,16 @@ 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 GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
+ const GLfloat* contents_rect,
+ GLfloat opacity,
+ const GLuint background_color,
+ const GLfloat* bounds_size,
+ const GLfloat* transform) {
+ gles2::GetGLContext()->ScheduleCALayerCHROMIUM(
+ contents_texture_id, contents_rect, opacity, background_color,
+ bounds_size, transform);
+}
void GL_APIENTRY GLES2SwapInterval(GLint interval) {
gles2::GetGLContext()->SwapInterval(interval);
}
@@ -2856,6 +2866,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
},
{
+ "glScheduleCALayerCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glScheduleCALayerCHROMIUM),
+ },
+ {
"glSwapInterval",
reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
},
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698