setting image size for custom image data.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@70987
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* Add CServe2 and image cache2 that makes use of it. Several changes
in the buffer and software engines to use the right cache if CServe2
is requested for the application.
+
+2012-05-14 Carsten Haitzler (The Rasterman)
+
+ * Fix pixman rendering support if you set alpha flag AFTER
+ setting image size for custom image data.
+
{
im->cs.dirty = 1;
evas_common_rgba_image_scalecache_dirty(&im->cache_entry);
+#ifdef HAVE_PIXMAN
+# ifdef PIXMAN_IMAGE
+ if (im->pixman.im)
+ {
+ pixman_image_unref(im->pixman.im);
+ im->pixman.im = NULL;
+ }
+ _evas_common_rgba_image_post_surface((Image_Entry *)im);
+# endif
+#endif
}
EAPI void
return im;
}
im = (RGBA_Image *) evas_cache_image_alone(&im->cache_entry);
- evas_common_image_colorspace_dirty(im);
-
im->cache_entry.flags.alpha = has_alpha ? 1 : 0;
+ evas_common_image_colorspace_dirty(im);
return im;
}