[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] evas premul changes



On Sat, Sep 16, 2006 at 01:42:45PM +0900, Carsten Haitzler wrote:
> 
> sounds good - one thing i did notice - gradient fills are a lot slower than
> images... :) i noticed when cross-fading wallpapers @ 1600x1200 with gradient
> bg's :)
> 

The current edje implementation of grads does more recalculating than it
needs to each frame. For instance, for diagonal grads (top left to
bottom right) it is recalculating the fill every step of the way, even
if you're just fading. I was planning to cache the calculated fill, and
only recalc if the size and/or fill params were different between the
two states. BUT, this calculation will now be inside evas, so the edje
side of things will be simpler, and hopefully the evas implementation
will cache.

rephorm.