New issue
Advanced search Search tips

Issue 674977 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Painting of clipping mask images is too complex (and slow)

Project Member Reported by schenney@chromium.org, Dec 16 2016

Issue description

Chrome Version: ToT
OS: All

To paint the contents of clipping mask layers, we use the full paint machinery including paint offsets, several layers of paint methods in a call hierarchy, layout object queries and more.

All we need to do is fill the area bounded by the clip rects with black.

This will save all those method calls, and a bunch of if checks that slow down every other paint operation, and makes border-radius for composited children much more efficient and less complex.
 
Status: Fixed (was: Started)
The case for border-radius on composited children has been fixed. Other cases, for canvas border radius and others, need the infrastructure and apply the clip in different ways.

Sign in to add a comment