Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common
Modified Files:
evas_image_main.c
Log Message:
fix image dirties with yuv and software rendering
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- evas_image_main.c 12 Apr 2008 00:32:25 -0000 1.60
+++ evas_image_main.c 15 Apr 2008 15:20:53 -0000 1.61
@@ -193,8 +193,11 @@
}
static void
-_evas_common_rgba_image_dirty_region(Image_Entry* im, int x, int y, int w, int
h)
+_evas_common_rgba_image_dirty_region(Image_Entry* ie, int x, int y, int w, int
h)
{
+ RGBA_Image *im = (RGBA_Image *) ie;
+
+ im->flags |= RGBA_IMAGE_IS_DIRTY;
}
/* Only called when references > 0. Need to provide a fresh copie of im. */
@@ -346,7 +349,7 @@
void
evas_common_image_colorspace_normalize(RGBA_Image *im)
{
- if ((!im->cs.data) ||
+ if ((!im->cs.data) ||
((!im->cs.dirty) && (!(im->flags & RGBA_IMAGE_IS_DIRTY)))) return;
switch (im->cache_entry.space)
{
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs