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

Re: [E-devel] Premultiply or not

On Tue, Jul 04, 2006 at 12:11:10AM +0900, Carsten Haitzler wrote:
> On Sun, 2 Jul 2006 23:57:15 GMT "jose_ogp@juno.com" <jose_ogp@juno.com> babbled:
> > 	But, "setting" a color space, either globally or per obj,
> > has only one real meaning - that the color space in question is
> > going to be used as the current context for gfx ops.
> oooh no - for me it means that became the api with which u dealt with evas.
> evas internally would do whatever it damn well pleased. :) the only guarantee u
> had is that u could present data in format X and get it back in format X. what
> happend later was entirely out of scope and goign to happen in premul ARGB.

With the added stipulation that the data returned may not be exactly the
data given (due to colorspaces not mapping 1-1 on each other). Unless
you plan on keeping the untouched data around somewhere (which would
double the memory usage).