-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
Issue #92366 points out that DisplayList can be a lot slower rendering very complex scrolling pictures.
One tool that SkPicture uses to reduce rendering time is to maintain a BoundingBox Hierarchy for the picture. If such a hierarchy is available, it can use that data structure to home in on the draw records that intersect the clip. If it has no hierarchy then it will render all records.
The reason this may be important for #92366 is that it is rendering a picture with hundreds of thousands of lines, but only a tiny fraction of a percent of those lines fit in the scrolling window at any time. If the picture paint code can skip over a lot of those records quickly then it can more quickly draw only what is visible.
Adding such a mechanism to DisplayList may provide huge improvements for apps like the above sample.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status