Open
Bug 1478871
Opened 6 years ago
Updated 2 years ago
Don't call AnimationHelper::SetAnimations every time we sample animations
Categories
(Core :: Graphics: WebRender, enhancement, P4)
Core
Graphics: WebRender
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox63 | --- | affected |
People
(Reporter: hiro, Unassigned)
References
(Blocks 1 open bug)
Details
The function should called just once we synchronize the animations with the main-thread.
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Blocks: stage-wr-trains
Updated•6 years ago
|
Priority: P3 → P4
Comment 1•6 years ago
|
||
I believe this is an optimization (a nice-to-have). Please move it back to stage-wr-trains if I've misunderstood.
Reporter | ||
Comment 2•6 years ago
|
||
Yes, that's right. If AnimationHelper::SampleAnimations appears in profiles (I guess it will appears in sites that have many animations), we should fix this.
Here is the place in question, we should call AnimationHelper::SetAnimations() outside SampleAnimations.
https://hg.mozilla.org/mozilla-central/file/06173200ede0/gfx/layers/AnimationHelper.cpp#l644
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•