Open Bug 1690677 Opened 4 years ago Updated 4 years ago

Refactor out Skia blending code used for animated images

Categories

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

task

Tracking

()

People

(Reporter: aosmond, Unassigned)

References

(Blocks 1 open bug)

Details

We use the SkBlitRow code to blend animated image partial frames into complete frames. We need to refactor this into something more maintainable for Skia updates since this isn't even exposed as a public API anymore.

https://searchfox.org/mozilla-central/rev/927e525f481a93a8f63d27a78ae6201e42b1b1fb/gfx/skia/skia/src/core/SkBlitRow_D32.cpp#293

Another option is to reuse/share somehow the SWGL blending code:

https://searchfox.org/mozilla-central/rev/927e525f481a93a8f63d27a78ae6201e42b1b1fb/gfx/wr/swgl/src/composite.h#369

You need to log in before you can comment on or make changes to this bug.