forked from enlightenment/efl
efl/evas_cache: copied images should be considered loaded.
Whenever we copy an image, making it write-able (evas_object_image_data_get(o, 1)) or just start painting a pristine buffer (evas_object_image_size_set(o, w, h)), we must mark the image as loaded to avoid trying to load it (and failing, marking the whole thing as EVAS_LOAD_ERROR_GENERIC). SVN revision: 81409
This commit is contained in:
parent
3a22bb3d5b
commit
7c19e1b34d
|
@ -1,4 +1,8 @@
|
|||
2012-12-20 Carsten Haitzler (The Rasterman)
|
||||
2012-12-19 Gustavo Sverzut Barbieri (k-s)
|
||||
|
||||
* Fixed RGBA_Image->flags.loaded for copied images.
|
||||
|
||||
2012-12-19 Carsten Haitzler (The Rasterman)
|
||||
|
||||
* Fixed 24bpp issue with rendering in evas. It shows itself
|
||||
only under qemu/kvm with the cirruse driver that I have found.
|
||||
|
@ -6,7 +10,7 @@
|
|||
just never comes up on any vaguely modern gfx system.
|
||||
* Fixed 24bpp ximage convert back from 24bpp to 32bpp in
|
||||
ecore-x. Only shows itself in qemu/kvm.
|
||||
|
||||
|
||||
2012-12-18 Gustavo Sverzut Barbieri (k-s)
|
||||
|
||||
* Fixed many memory problems with ecore_evas_extn
|
||||
|
|
1
NEWS
1
NEWS
|
@ -84,3 +84,4 @@ Fixes:
|
|||
* Fix uninitialized data in Evas OpenGL engine.
|
||||
* Fix the line drawing clipping problem on arm gl driver.
|
||||
* Fix many memory problems with ecore_evas_extn.
|
||||
* Fix Evas RGBA_Image->flags.loaded for copied images.
|
||||
|
|
|
@ -877,6 +877,7 @@ evas_cache_image_copied_data(Evas_Cache_Image *cache,
|
|||
return NULL;
|
||||
}
|
||||
im->references = 1;
|
||||
im->flags.loaded = EINA_TRUE;
|
||||
if (cache->func.debug) cache->func.debug("copied-data", im);
|
||||
return im;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue