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

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

Issue 2163493002: Break glScheduleCALayerCHROMIUM into smaller functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp37_cleanup_calayeroverlay
Patch Set: Comments from piman. Created 4 years, 5 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
« 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 136c12e962f50b2e1e99d48898bcb05e9d69ece3..f263bf67171089adb5fb554bcf8be139b4430f70 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1467,21 +1467,24 @@ 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
+GLES2ScheduleCALayerSharedStateCHROMIUM(GLfloat opacity,
+ GLboolean is_clipped,
+ const GLfloat* clip_rect,
+ GLint sorting_context_id,
+ const GLfloat* transform) {
+ gles2::GetGLContext()->ScheduleCALayerSharedStateCHROMIUM(
+ opacity, is_clipped, clip_rect, sorting_context_id, transform);
+}
void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
const GLfloat* contents_rect,
- GLfloat opacity,
GLuint background_color,
GLuint edge_aa_mask,
const GLfloat* bounds_rect,
- GLboolean is_clipped,
- const GLfloat* clip_rect,
- GLint sorting_context_id,
- const GLfloat* transform,
GLuint filter) {
gles2::GetGLContext()->ScheduleCALayerCHROMIUM(
- contents_texture_id, contents_rect, opacity, background_color,
- edge_aa_mask, bounds_rect, is_clipped, clip_rect, sorting_context_id,
- transform, filter);
+ contents_texture_id, contents_rect, background_color, edge_aa_mask,
+ bounds_rect, filter);
}
void GL_APIENTRY
GLES2ScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures) {
@@ -2820,6 +2823,11 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
},
{
+ "glScheduleCALayerSharedStateCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glScheduleCALayerSharedStateCHROMIUM),
+ },
+ {
"glScheduleCALayerCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glScheduleCALayerCHROMIUM),
},
« 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