Closed Bug 847286 Opened 12 years ago Closed 9 years ago

layers conflate OMTA animation generation from transitions and from animations

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: birtles)

References

Details

(Keywords: perf)

While doing code inspection in order to fix bug 822721, I noticed an issue with the animation generation member of Layer. The purpose of the animation generation is for us to known whether we need to send new information to the layer tree from the style system. I *think* (though I don't entirely remember) that it's possible for a element that is simultaneously undergoing both animations and transitions to end up with a different animation generation on its ElementTransitions and its ElementAnimations. If that happens, then AddAnimationsAndTransitionsToLayer in nsDisplayList.cpp will end up giving the layer the result from animations (and ignoring the one from transitions). https://hg.mozilla.org/users/dbaron_mozilla.com/patches/raw-file/1b19c4c230a0/separate-generation-counters is a shot at what we'd need to do to fix this, although the patch needs a little cleanup. I'm a little hesitant to touch this code given its current testing situation (bug 788549), though.
Depends on: 1229280
Fixed by bug 1229280.
Assignee: nobody → bbirtles
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.