Closed
Bug 1356573
Opened 8 years ago
Closed 7 years ago
Retain AnimatedGeometryRoot with frame tree
Categories
(Core :: Web Painting, enhancement)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox55 | --- | affected |
People
(Reporter: sinker, Unassigned)
References
(Blocks 1 open bug)
Details
AGRs (AnimatedGeometryRoot) are rarely changed.
Retaining AGRs can avoid wasting time on repeatedly building them.
AGRs are built during running |BuildDisplayList|. They are maintained by
the |DisplayListBuilder|. When a frame is visited for building display list,
|AutoBuildingDisplayList| is used to notify |DisplayListBuilder|
partly to maintain AGRs.
|RecomputeCurrentAnimatedGeometryRoot()| of |DisplayListBuilder| is another
place about maintaining AGRs with |DisplayListBuilder|.
Whenever a display item is built, |nsDisplayItem| would keep a pointer to
current AGR from |DisplayListBuilder|, returned by |FindAnimatedGeometryRootFor()|.
FrameLayerBuilder heavily rely on AGRs of items.
Comment 1•7 years ago
|
||
We added this as part of retained-dl.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•