On Tue, 17 Apr 2012 01:05:27 +1000 David Seikel <onef...@gmail.com> said:

> On Mon, 16 Apr 2012 07:05:13 +0000 (GMT) Rajeev Ranjan
> <rajee...@samsung.com> wrote:
> 
> > Hi Gustavo,
> >    Thanks for your information on evas_image_loader when pixels are
> > being scanned and sparse_alpha flag is being set. But this common
> > function "evas_common_image_set_alpha_sparse" is being called only
> > for loaders of svg and tiff files, not for other formats.
> > 
> > Besides in this function, we are already scanning image data texels
> > in order to determine alpha_sparse. So if we do similar stuff for
> > determining opacity of image in some other function, then scanning
> > will happen twice for any image while loading which will affect the
> > performance(load time). Then the option we are left with is to set
> > the apha flag here itself in this function while scanning the image
> > data and call this function from loaders for all image formats.
> 
> Perhaps not for image formats that don't actually support alpha?

there is no point scanning as they already have the alpha flag off which means
more optimized rendering paths, so it's moot. the issue is images that are
actually solid but some ninny saved them as images WITH an alpha channel. it's
cleaning up after ninnies :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to