On Thu, Sep 24, 2009 at 4:12 PM, Cedric BAIL <cedric.b...@free.fr> wrote:
> > Hum, sorry my bad. I didn't read that code since sometime and in fact > I don't see why info.loader could be NULL. It is set by > evas_common_load_rgba_image_module_from_file when it try to find the > right loader. So this change my diagnostic, do you have the right > module build and do you call > evas_common_load_rgba_image_module_from_file at some point ? > > No worries. If I'm not misstaken the evas_common_load_image_from_file will call the evas_cache_image_request which will create a new image entry by calling _evas_cache_image_entry_new which in turn will look at the global 'eic' struct that contains a function pointer to a function called constructor. I belive this one is set to ...rgba_image_module_from_file somewhere. And I call evas_common_load_image_from_file in the eng_image_load function in the evas engine. If you mean the loader module it is the one that is built when I build evas. Something else I think is strange is that the 'functions' pointer of the evas module (info.module) (which is what info.loader is set to) remains untouched. When I tried to reset info.loader to its original value from info.module.functions (I think), it crached in the update_internals in the render loop instead. I do not know if there is any error in my evas engine, but it has worked for a long time with an older revision from 2008. Is there any info somewhere on how to setup the different evas engines that comes with evas, like the buffer engine? Or is there any source code I can look at somewhere? /Mikael ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel