From d745f1ab5e11fab3fabdd47626ac4b39e9d42c2f Mon Sep 17 00:00:00 2001 From: ccameron Date: Thu, 17 Dec 2015 17:26:18 -0800 Subject: Mac CoreAnimation: Add more CALayer parameters Clipping and unsupported 3D intersections account for 20% of the frames that fail to be rendered by the CoreAnimation renderer. Add parameters to the GL extension to support these functions. Also add a parameter for edge anti-aliasing, since that will be needed in the future. TBR=ben BUG=533681 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1534623002 Cr-Commit-Position: refs/heads/master@{#365965} --- .../gles2/gles2_call_visitor_chromium_extension_autogen.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'mojo/public') diff --git a/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h b/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h index ba6a5e9..b2d8e24 100644 --- a/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h +++ b/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h @@ -378,14 +378,22 @@ VISIT_GL_CALL(ScheduleCALayerCHROMIUM, (GLuint contents_texture_id, const GLfloat* contents_rect, GLfloat opacity, - const GLuint background_color, - const GLfloat* bounds_size, + 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), (contents_texture_id, contents_rect, opacity, background_color, - bounds_size, + edge_aa_mask, + bounds_rect, + is_clipped, + clip_rect, + sorting_context_id, transform)) VISIT_GL_CALL(CommitOverlayPlanesCHROMIUM, void, (), ()) VISIT_GL_CALL(SwapInterval, void, (GLint interval), (interval)) -- cgit v1.1