On Wed, Aug 17, 2011 at 4:37 PM, Enlightenment SVN
<[email protected]> wrote:
> Log:
> emotion/smart - Use ARGB32 when it's the format returned by the module.
>
> Author: antognolli
> Date: 2011-08-17 12:37:31 -0700 (Wed, 17 Aug 2011)
> New Revision: 62542
> Trac: http://trac.enlightenment.org/e/changeset/62542
>
> Modified:
> trunk/emotion/src/lib/emotion_smart.c
>
> Modified: trunk/emotion/src/lib/emotion_smart.c
> ===================================================================
> --- trunk/emotion/src/lib/emotion_smart.c 2011-08-17 18:24:45 UTC (rev
> 62541)
> +++ trunk/emotion/src/lib/emotion_smart.c 2011-08-17 19:37:31 UTC (rev
> 62542)
> @@ -1520,6 +1520,7 @@
> }
> else if (format == EMOTION_FORMAT_BGRA)
> {
> + evas_object_image_colorspace_set(obj, EVAS_COLORSPACE_ARGB8888);
> if (sd->module->bgra_data_get(sd->video, &bgra_data))
> {
> evas_object_image_data_set(obj, bgra_data);
Actually, a couple of lines above we have:
if ((w != iw) || (h != ih))
{
evas_object_image_colorspace_set(obj, EVAS_COLORSPACE_YCBCR422P601_PL);
Does it make sense to always set this colorspace even when we are not
using it? I think we could just remove this line...
--
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel