evas: start work on making the loader module a public API.
authorCedric Bail <cedric.bail@samsung.com>
Thu, 25 Apr 2013 06:07:11 +0000 (15:07 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Mon, 6 May 2013 10:02:04 +0000 (19:02 +0900)
commit6f802ab2340b95d9c6422b814bc71e5707ed9353
tree39876765b687227356a29259c67c363c6e5f7dc7
parentc5b0d28d73d2e5a534d071e9e14b34ec9b4c2726
evas: start work on making the loader module a public API.

Goal is to be able to remove all internal Evas call from inside all
loader module. To do so we are going to open and hold a reference to the
file from outside of the module, read the header, create the image data,
load the data, close that reference.

Once that done, the next step is to let the file remain open as soon as
the filename/key is set and add an API to set an Eina_File directly. This
way edje can maintain the same file open as it use for an edje object,
keeping things in sync and avoid rendering glitch during update.
14 files changed:
src/lib/evas/common/evas_image_load.c
src/lib/evas/include/evas_private.h
src/modules/evas/loaders/bmp/evas_image_load_bmp.c
src/modules/evas/loaders/eet/evas_image_load_eet.c
src/modules/evas/loaders/gif/evas_image_load_gif.c
src/modules/evas/loaders/ico/evas_image_load_ico.c
src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
src/modules/evas/loaders/pmaps/evas_image_load_pmaps.c
src/modules/evas/loaders/png/evas_image_load_png.c
src/modules/evas/loaders/psd/evas_image_load_psd.c
src/modules/evas/loaders/tga/evas_image_load_tga.c
src/modules/evas/loaders/tiff/evas_image_load_tiff.c
src/modules/evas/loaders/wbmp/evas_image_load_wbmp.c
src/modules/evas/loaders/webp/evas_image_load_webp.c