Open
Bug 1091782
Opened 10 years ago
Updated 2 years ago
Updating active layer APNG shouldn't require building a display list
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: BenWa, Unassigned)
References
Details
In bug 1091240 we're spending a lot of CPU time building a display list to update a small 16x16 APNG. If it's already an active layer we should try to avoid building a display list entirely and just swap the image.
We're investigating how to speed up the display list building code for the system app on b2g seperatly in bug 1091763.
Comment 2•10 years ago
|
||
I thought we had most of the pieces for this, but after talking to Matt we have even more than I thought. Much of the code is behind the layout.animated-image-layers.enabled pref (which is set to false by default). The one small piece that we appear to be missing is to have background images ask to invalidate their layer only (if they have one) so we can avoid a full display list paint. (That code is in ImageLoader::FrameChanged/DoRedraw.)
Flags: needinfo?(tnikkel)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•