Closed Bug 1621474 Opened 6 years ago Closed 6 years ago

Minor cleanups in WebRender animation code

Categories

(Core :: Graphics: WebRender, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(5 files)

there are some redundant code I'd like to clean up. There may be more room though.

It's not necessary to be converted, it's simply copied.

Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6f0d44986dcb Drop into() calls for LayoutTransform in WrTransformProperty. r=kats https://hg.mozilla.org/integration/autoland/rev/9fa301ad4bcc Add a generic WrAnimationPropertyValue. r=kats https://hg.mozilla.org/integration/autoland/rev/d94e42873dd0 Factor out a generic function to convert WrAnimationPropertyValue<T> array into Vec<PropertyValue<T>>. r=kats https://hg.mozilla.org/integration/autoland/rev/2f9c6c600774 Introduce WrAnimations struct to reduce the numbers of arguments of SampleAnimations. r=kats https://hg.mozilla.org/integration/autoland/rev/ae2a8d6e0c95 Use Variant::match in AnimatedValue iterations. r=kats
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: