GNOME Bugzilla – Bug 753821
assrender: improve overlay blending performance
Last modified: 2015-10-02 14:24:19 UTC
Created attachment 309575 [details] [review] optimize blending Skip empty source pixels when blending an image. There can be hundreds of images to blend at each frame, so this brings a nice performance boost.
Review of attachment 309575 [details] [review]: I wonder why we don't focus on moving toward the blending API we have in the CompositionOverlay code ?
Blending of libass images is special since you need to blend many 1bpp images, each having a different ARGB color. It might be possible to optimise the code but I'm not sure the generic composition blending code could help here.
Thanks, I simply didn't know.
commit 3b1e0951696298ae373b0a5b1e8216f0e992be7d Author: Arnaud Vrac <avrac@freebox.fr> Date: Thu Jun 25 19:17:36 2015 +0200 assrender: optimize blending Skip empty source pixels when blending an image. There can be hundreds of images to blend at each frame, so this brings a nice performance boost. https://bugzilla.gnome.org/show_bug.cgi?id=753821