diff options
author | ccameron <ccameron@chromium.org> | 2015-12-17 17:26:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 01:27:43 +0000 |
commit | d745f1ab5e11fab3fabdd47626ac4b39e9d42c2f (patch) | |
tree | 3e9dccf740c6b695e5a8e48d8af02eafcd56a306 /mojo/public | |
parent | 2a9ce42ea227c59df51704d988ff887e2f6011e3 (diff) | |
download | chromium_src-d745f1ab5e11fab3fabdd47626ac4b39e9d42c2f.zip chromium_src-d745f1ab5e11fab3fabdd47626ac4b39e9d42c2f.tar.gz chromium_src-d745f1ab5e11fab3fabdd47626ac4b39e9d42c2f.tar.bz2 |
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}
Diffstat (limited to 'mojo/public')
-rw-r--r-- | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h | 14 |
1 files changed, 11 insertions, 3 deletions
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)) |