Closed Bug 873505 Opened 12 years ago Closed 12 years ago

Set frame's animation time based on desired time, not actual time

Categories

(Core :: Graphics: ImageLib, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: joe, Assigned: joe)

References

Details

Attachments

(1 file)

Our current image animation code uses the refresh driver's time as the current animation time, but we should really use the expected time (so we'll skip frames if we slip) instead. This is important to ensure that animations can be synchronized. https://tbpl.mozilla.org/?tree=Try&rev=fcf0389df19d
Attachment #751062 - Flags: review?(seth)
Comment on attachment 751062 [details] [diff] [review] set animation time based on frame's timeout Review of attachment 751062 [details] [diff] [review]: ----------------------------------------------------------------- Looks good!
Attachment #751062 - Flags: review?(seth) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Depends on: 876332
Depends on: 877186
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: