On Tue, 17 Apr 2012 00:36:49 +0900 Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:
> 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 :) Ah good to know. Yes, I'm familiar with such ninnies. The Second Life virtual world platform suffers from Z buffer ordering problems with transparencies, and sometimes said ninnies leave alpha channels laying around that should not be there. Which causes problems. I've had to download many of those, remove the alpha channel, then upload them again. Many times. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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