aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-04-22 09:19:23 +1000
committerDavid Walter Seikel2012-04-22 09:19:23 +1000
commitc963d75dfdeec11f82e79e727062fbf89afa2c04 (patch)
tree895633dbf641110be46f117c29890c49b3ffc0bd /libraries/evas/src
parentAdding the new extantz viewer and grid manager. (diff)
downloadSledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.zip
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.gz
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.bz2
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.xz
Update EFL to latest beta.
Diffstat (limited to 'libraries/evas/src')
-rw-r--r--libraries/evas/src/Makefile.in8
-rw-r--r--libraries/evas/src/bin/Makefile.am2
-rw-r--r--libraries/evas/src/bin/Makefile.in9
-rw-r--r--libraries/evas/src/bin/evas_cserve_main.c3
-rw-r--r--libraries/evas/src/examples/Makefile.am2
-rw-r--r--libraries/evas/src/examples/Makefile.in9
-rw-r--r--libraries/evas/src/examples/evas-box.c2
-rw-r--r--libraries/evas/src/examples/evas-hints.c3
-rw-r--r--libraries/evas/src/lib/Evas.h310
-rw-r--r--libraries/evas/src/lib/Evas_GL.h2
-rw-r--r--libraries/evas/src/lib/Makefile.am10
-rw-r--r--libraries/evas/src/lib/Makefile.in21
-rw-r--r--libraries/evas/src/lib/cache/Makefile.am1
-rw-r--r--libraries/evas/src/lib/cache/Makefile.in9
-rw-r--r--libraries/evas/src/lib/cache/evas_cache_image.c338
-rw-r--r--libraries/evas/src/lib/canvas/Makefile.am1
-rw-r--r--libraries/evas/src/lib/canvas/Makefile.in15
-rw-r--r--libraries/evas/src/lib/canvas/evas_callbacks.c9
-rw-r--r--libraries/evas/src/lib/canvas/evas_events.c17
-rw-r--r--libraries/evas/src/lib/canvas/evas_map.c34
-rw-r--r--libraries/evas/src/lib/canvas/evas_object_image.c40
-rw-r--r--libraries/evas/src/lib/canvas/evas_object_main.c19
-rw-r--r--libraries/evas/src/lib/canvas/evas_object_textblock.c180
-rw-r--r--libraries/evas/src/lib/canvas/evas_render.c63
-rw-r--r--libraries/evas/src/lib/cserve/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/Makefile.am2
-rw-r--r--libraries/evas/src/lib/engines/common/Makefile.in10
-rw-r--r--libraries/evas/src/lib/engines/common/evas_draw_main.c65
-rw-r--r--libraries/evas/src/lib/engines/common/evas_font_load.c8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_image_main.c77
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in13
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_polygon_main.c8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_sample.c3
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_tiler.c96
-rw-r--r--libraries/evas/src/lib/engines/common_16/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common_8/Makefile.in8
-rw-r--r--libraries/evas/src/lib/file/Makefile.am3
-rw-r--r--libraries/evas/src/lib/file/Makefile.in10
-rw-r--r--libraries/evas/src/lib/file/evas_module.c4
-rw-r--r--libraries/evas/src/lib/file/evas_path.c4
-rw-r--r--libraries/evas/src/lib/include/Makefile.in8
-rw-r--r--libraries/evas/src/lib/include/evas_blend_ops.h12
-rw-r--r--libraries/evas/src/lib/include/evas_common.h92
-rw-r--r--libraries/evas/src/lib/include/evas_private.h3
-rw-r--r--libraries/evas/src/modules/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/Makefile.am3
-rw-r--r--libraries/evas/src/modules/engines/Makefile.in27
-rw-r--r--libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h3
-rw-r--r--libraries/evas/src/modules/engines/buffer/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/buffer/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_engine.c69
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_engine.h8
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_outbuf.c31
-rw-r--r--libraries/evas/src/modules/engines/direct3d/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/directfb/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/directfb/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/directfb/evas_engine.c3
-rw-r--r--libraries/evas/src/modules/engines/fb/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/fb/evas_engine.c13
-rw-r--r--libraries/evas/src/modules/engines/fb/evas_outbuf.c7
-rw-r--r--libraries/evas/src/modules/engines/gl_cocoa/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_common/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_common/evas_gl_line.c5
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h18
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd18
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h18
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd18
-rw-r--r--libraries/evas/src/modules/engines/gl_sdl/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_x11/evas_engine.c565
-rw-r--r--libraries/evas/src/modules/engines/psl1ght/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_16/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/software_16/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_16_sdl/Makefile.am4
-rw-r--r--libraries/evas/src/modules/engines/software_16_sdl/Makefile.in50
-rw-r--r--libraries/evas/src/modules/engines/software_16_wince/Makefile.am1
-rw-r--r--libraries/evas/src/modules/engines/software_16_wince/Makefile.in25
-rw-r--r--libraries/evas/src/modules/engines/software_16_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_8/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/software_8/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/software_8_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_ddraw/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_gdi/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_generic/Makefile.am4
-rw-r--r--libraries/evas/src/modules/engines/software_generic/Makefile.in11
-rw-r--r--libraries/evas/src/modules/engines/software_generic/evas_engine.c24
-rw-r--r--libraries/evas/src/modules/engines/software_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/Makefile.in10
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/evas_engine.c184
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c4
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h3
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/Makefile.am3
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/Makefile.in11
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/evas_engine.c12
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/evas_engine.h3
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c5
-rw-r--r--libraries/evas/src/modules/loaders/Makefile.in10
-rw-r--r--libraries/evas/src/modules/loaders/bmp/Makefile.am7
-rw-r--r--libraries/evas/src/modules/loaders/bmp/Makefile.in13
-rw-r--r--libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c108
-rw-r--r--libraries/evas/src/modules/loaders/edb/Makefile.in8
-rw-r--r--libraries/evas/src/modules/loaders/eet/Makefile.am2
-rw-r--r--libraries/evas/src/modules/loaders/eet/Makefile.in9
-rw-r--r--libraries/evas/src/modules/loaders/generic/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/generic/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/gif/Makefile.am2
-rw-r--r--libraries/evas/src/modules/loaders/gif/Makefile.in9
-rw-r--r--libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c15
-rw-r--r--libraries/evas/src/modules/loaders/ico/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/ico/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c28
-rw-r--r--libraries/evas/src/modules/loaders/jpeg/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/jpeg/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c85
-rw-r--r--libraries/evas/src/modules/loaders/pmaps/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/pmaps/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/png/Makefile.am3
-rw-r--r--libraries/evas/src/modules/loaders/png/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/psd/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/psd/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c16
-rw-r--r--libraries/evas/src/modules/loaders/svg/Makefile.am2
-rw-r--r--libraries/evas/src/modules/loaders/svg/Makefile.in9
-rw-r--r--libraries/evas/src/modules/loaders/tga/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/tga/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c10
-rw-r--r--libraries/evas/src/modules/loaders/tiff/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/tiff/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/wbmp/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/wbmp/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/xpm/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/xpm/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c3
-rw-r--r--libraries/evas/src/modules/savers/Makefile.in8
-rw-r--r--libraries/evas/src/modules/savers/edb/Makefile.in8
-rw-r--r--libraries/evas/src/modules/savers/eet/Makefile.am2
-rw-r--r--libraries/evas/src/modules/savers/eet/Makefile.in9
-rw-r--r--libraries/evas/src/modules/savers/jpeg/Makefile.am2
-rw-r--r--libraries/evas/src/modules/savers/jpeg/Makefile.in9
-rw-r--r--libraries/evas/src/modules/savers/png/Makefile.am5
-rw-r--r--libraries/evas/src/modules/savers/png/Makefile.in12
-rw-r--r--libraries/evas/src/modules/savers/tiff/Makefile.am2
-rw-r--r--libraries/evas/src/modules/savers/tiff/Makefile.in9
-rw-r--r--libraries/evas/src/static_deps/Makefile.in8
-rw-r--r--libraries/evas/src/static_deps/liblinebreak/Makefile.in8
-rw-r--r--libraries/evas/src/tests/Makefile.in8
-rw-r--r--libraries/evas/src/tests/evas_test_textblock.c32
159 files changed, 2164 insertions, 1396 deletions
diff --git a/libraries/evas/src/Makefile.in b/libraries/evas/src/Makefile.in
index 68cdb12..a40ffc2 100644
--- a/libraries/evas/src/Makefile.in
+++ b/libraries/evas/src/Makefile.in
@@ -156,6 +156,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
156EVIL_CFLAGS = @EVIL_CFLAGS@ 156EVIL_CFLAGS = @EVIL_CFLAGS@
157EVIL_LIBS = @EVIL_LIBS@ 157EVIL_LIBS = @EVIL_LIBS@
158EXEEXT = @EXEEXT@ 158EXEEXT = @EXEEXT@
159EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
160EXOTIC_LIBS = @EXOTIC_LIBS@
159FGREP = @FGREP@ 161FGREP = @FGREP@
160FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 162FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
161FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 163FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -206,6 +208,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
206PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 208PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
207PIXMAN_LIBS = @PIXMAN_LIBS@ 209PIXMAN_LIBS = @PIXMAN_LIBS@
208PKG_CONFIG = @PKG_CONFIG@ 210PKG_CONFIG = @PKG_CONFIG@
211PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209PNG_CFLAGS = @PNG_CFLAGS@ 213PNG_CFLAGS = @PNG_CFLAGS@
210PNG_LIBS = @PNG_LIBS@ 214PNG_LIBS = @PNG_LIBS@
211RANLIB = @RANLIB@ 215RANLIB = @RANLIB@
@@ -224,8 +228,6 @@ VERSION = @VERSION@
224VMAJ = @VMAJ@ 228VMAJ = @VMAJ@
225WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 229WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
226WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 230WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
227WIN32_CFLAGS = @WIN32_CFLAGS@
228WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
229XCB_CFLAGS = @XCB_CFLAGS@ 231XCB_CFLAGS = @XCB_CFLAGS@
230XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 232XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
231XCB_GL_LIBS = @XCB_GL_LIBS@ 233XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -299,8 +301,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
299evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 301evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
300evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 302evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
301evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 303evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
302evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
303evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/bin/Makefile.am b/libraries/evas/src/bin/Makefile.am
index 987e14b..7159eaa 100644
--- a/libraries/evas/src/bin/Makefile.am
+++ b/libraries/evas/src/bin/Makefile.am
@@ -18,8 +18,6 @@ AM_CPPFLAGS = \
18@pthread_cflags@ \ 18@pthread_cflags@ \
19@PIXMAN_CFLAGS@ 19@PIXMAN_CFLAGS@
20 20
21AM_CFLAGS = @WIN32_CFLAGS@
22
23bin_PROGRAMS = evas_cserve evas_cserve_tool 21bin_PROGRAMS = evas_cserve evas_cserve_tool
24 22
25evas_cserve_SOURCES = \ 23evas_cserve_SOURCES = \
diff --git a/libraries/evas/src/bin/Makefile.in b/libraries/evas/src/bin/Makefile.in
index 136b34c..1a23abe 100644
--- a/libraries/evas/src/bin/Makefile.in
+++ b/libraries/evas/src/bin/Makefile.in
@@ -162,6 +162,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
162EVIL_CFLAGS = @EVIL_CFLAGS@ 162EVIL_CFLAGS = @EVIL_CFLAGS@
163EVIL_LIBS = @EVIL_LIBS@ 163EVIL_LIBS = @EVIL_LIBS@
164EXEEXT = @EXEEXT@ 164EXEEXT = @EXEEXT@
165EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
166EXOTIC_LIBS = @EXOTIC_LIBS@
165FGREP = @FGREP@ 167FGREP = @FGREP@
166FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 168FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
167FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 169FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -212,6 +214,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
212PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 214PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
213PIXMAN_LIBS = @PIXMAN_LIBS@ 215PIXMAN_LIBS = @PIXMAN_LIBS@
214PKG_CONFIG = @PKG_CONFIG@ 216PKG_CONFIG = @PKG_CONFIG@
217PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
218PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
215PNG_CFLAGS = @PNG_CFLAGS@ 219PNG_CFLAGS = @PNG_CFLAGS@
216PNG_LIBS = @PNG_LIBS@ 220PNG_LIBS = @PNG_LIBS@
217RANLIB = @RANLIB@ 221RANLIB = @RANLIB@
@@ -230,8 +234,6 @@ VERSION = @VERSION@
230VMAJ = @VMAJ@ 234VMAJ = @VMAJ@
231WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 235WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
232WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 236WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
233WIN32_CFLAGS = @WIN32_CFLAGS@
234WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
235XCB_CFLAGS = @XCB_CFLAGS@ 237XCB_CFLAGS = @XCB_CFLAGS@
236XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 238XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
237XCB_GL_LIBS = @XCB_GL_LIBS@ 239XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -305,8 +307,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
305evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 307evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
306evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 308evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
307evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 309evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
308evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
309evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
310evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 310evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
311evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 311evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
312evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 312evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -406,7 +406,6 @@ MAINTAINERCLEANFILES = Makefile.in
406@EVAS_CSERVE_TRUE@@pthread_cflags@ \ 406@EVAS_CSERVE_TRUE@@pthread_cflags@ \
407@EVAS_CSERVE_TRUE@@PIXMAN_CFLAGS@ 407@EVAS_CSERVE_TRUE@@PIXMAN_CFLAGS@
408 408
409@EVAS_CSERVE_TRUE@AM_CFLAGS = @WIN32_CFLAGS@
410@EVAS_CSERVE_TRUE@evas_cserve_SOURCES = \ 409@EVAS_CSERVE_TRUE@evas_cserve_SOURCES = \
411@EVAS_CSERVE_TRUE@evas_cserve_main.c 410@EVAS_CSERVE_TRUE@evas_cserve_main.c
412 411
diff --git a/libraries/evas/src/bin/evas_cserve_main.c b/libraries/evas/src/bin/evas_cserve_main.c
index 7d4d95a..92718da 100644
--- a/libraries/evas/src/bin/evas_cserve_main.c
+++ b/libraries/evas/src/bin/evas_cserve_main.c
@@ -642,10 +642,9 @@ mem_cache_adjust(void)
642{ 642{
643 int pval = cache_max_adjust; 643 int pval = cache_max_adjust;
644 int max = 0; 644 int max = 0;
645 int mem_used;
646 645
647 if (mem_total <= 0) return; 646 if (mem_total <= 0) return;
648 mem_used = mem_total - mem_free - mem_cached - mem_buffers; 647 //int mem_used = mem_total - mem_free - mem_cached - mem_buffers;
649#if 0 // this lets the image cache to grow to fill all real free ram, if 648#if 0 // this lets the image cache to grow to fill all real free ram, if
650 // there is any (ie ram unused by disk cache) 649 // there is any (ie ram unused by disk cache)
651 if (mem_free < mem_total) 650 if (mem_free < mem_total)
diff --git a/libraries/evas/src/examples/Makefile.am b/libraries/evas/src/examples/Makefile.am
index ffa9274..a52e3f8 100644
--- a/libraries/evas/src/examples/Makefile.am
+++ b/libraries/evas/src/examples/Makefile.am
@@ -26,8 +26,6 @@ AM_CPPFLAGS = \
26@FONTCONFIG_CFLAGS@ \ 26@FONTCONFIG_CFLAGS@ \
27@pthread_cflags@ 27@pthread_cflags@
28 28
29AM_CFLAGS = @WIN32_CFLAGS@
30
31examples_PROGRAMS = 29examples_PROGRAMS =
32 30
33if BUILD_ENGINE_BUFFER 31if BUILD_ENGINE_BUFFER
diff --git a/libraries/evas/src/examples/Makefile.in b/libraries/evas/src/examples/Makefile.in
index f58d297..1cc1108 100644
--- a/libraries/evas/src/examples/Makefile.in
+++ b/libraries/evas/src/examples/Makefile.in
@@ -289,6 +289,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
289EVIL_CFLAGS = @EVIL_CFLAGS@ 289EVIL_CFLAGS = @EVIL_CFLAGS@
290EVIL_LIBS = @EVIL_LIBS@ 290EVIL_LIBS = @EVIL_LIBS@
291EXEEXT = @EXEEXT@ 291EXEEXT = @EXEEXT@
292EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
293EXOTIC_LIBS = @EXOTIC_LIBS@
292FGREP = @FGREP@ 294FGREP = @FGREP@
293FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 295FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
294FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 296FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -339,6 +341,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
339PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 341PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
340PIXMAN_LIBS = @PIXMAN_LIBS@ 342PIXMAN_LIBS = @PIXMAN_LIBS@
341PKG_CONFIG = @PKG_CONFIG@ 343PKG_CONFIG = @PKG_CONFIG@
344PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
345PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
342PNG_CFLAGS = @PNG_CFLAGS@ 346PNG_CFLAGS = @PNG_CFLAGS@
343PNG_LIBS = @PNG_LIBS@ 347PNG_LIBS = @PNG_LIBS@
344RANLIB = @RANLIB@ 348RANLIB = @RANLIB@
@@ -357,8 +361,6 @@ VERSION = @VERSION@
357VMAJ = @VMAJ@ 361VMAJ = @VMAJ@
358WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 362WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
359WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 363WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
360WIN32_CFLAGS = @WIN32_CFLAGS@
361WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
362XCB_CFLAGS = @XCB_CFLAGS@ 364XCB_CFLAGS = @XCB_CFLAGS@
363XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 365XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
364XCB_GL_LIBS = @XCB_GL_LIBS@ 366XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -432,8 +434,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
432evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 434evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
433evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 435evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
434evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 436evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
435evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
436evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
437evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 437evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
438evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 438evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
439evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 439evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -539,7 +539,6 @@ files_DATA = $(am__append_3) $(am__append_4)
539@BUILD_EXAMPLES_TRUE@ @pthread_cflags@ $(am__append_1) \ 539@BUILD_EXAMPLES_TRUE@ @pthread_cflags@ $(am__append_1) \
540@BUILD_EXAMPLES_TRUE@ @ECORE_EVAS_CFLAGS@ @EDJE_CFLAGS@ \ 540@BUILD_EXAMPLES_TRUE@ @ECORE_EVAS_CFLAGS@ @EDJE_CFLAGS@ \
541@BUILD_EXAMPLES_TRUE@ $(am__empty) 541@BUILD_EXAMPLES_TRUE@ $(am__empty)
542@BUILD_EXAMPLES_TRUE@AM_CFLAGS = @WIN32_CFLAGS@
543@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_SOURCES = evas-buffer-simple.c 542@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_SOURCES = evas-buffer-simple.c
544@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_LDADD = $(top_builddir)/src/lib/libevas.la 543@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_LDADD = $(top_builddir)/src/lib/libevas.la
545@BUILD_EXAMPLES_TRUE@evas_init_shutdown_SOURCES = evas-init-shutdown.c 544@BUILD_EXAMPLES_TRUE@evas_init_shutdown_SOURCES = evas-init-shutdown.c
diff --git a/libraries/evas/src/examples/evas-box.c b/libraries/evas/src/examples/evas-box.c
index 13f12cf..ec79535 100644
--- a/libraries/evas/src/examples/evas-box.c
+++ b/libraries/evas/src/examples/evas-box.c
@@ -5,7 +5,7 @@
5 * one). See stdout/stderr for output. 5 * one). See stdout/stderr for output.
6 * 6 *
7 * @verbatim 7 * @verbatim
8 * gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas` 8 * gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina`
9 * @endverbatim 9 * @endverbatim
10 */ 10 */
11 11
diff --git a/libraries/evas/src/examples/evas-hints.c b/libraries/evas/src/examples/evas-hints.c
index c42444c..78c09ba 100644
--- a/libraries/evas/src/examples/evas-hints.c
+++ b/libraries/evas/src/examples/evas-hints.c
@@ -16,6 +16,8 @@
16 16
17#ifdef HAVE_CONFIG_H 17#ifdef HAVE_CONFIG_H
18#include "config.h" 18#include "config.h"
19#else
20#define __UNUSED__
19#endif 21#endif
20 22
21#include <Ecore.h> 23#include <Ecore.h>
@@ -27,6 +29,7 @@
27 29
28#define WIDTH 320 30#define WIDTH 320
29#define HEIGHT 480 31#define HEIGHT 480
32#define PACKAGE_EXAMPLES_DIR "."
30 33
31static const char commands[] = \ 34static const char commands[] = \
32 "commands are:\n" 35 "commands are:\n"
diff --git a/libraries/evas/src/lib/Evas.h b/libraries/evas/src/lib/Evas.h
index b85bbeb..67d3018 100644
--- a/libraries/evas/src/lib/Evas.h
+++ b/libraries/evas/src/lib/Evas.h
@@ -2,9 +2,10 @@
2@mainpage Evas 2@mainpage Evas
3 3
4@version 1.1 4@version 1.1
5@date 2000-2011 5@date 2000-2012
6 6
7Please see the @ref authors page for contact details. 7Please see the @ref authors page for contact details.
8@link Evas.h Evas API @endlink
8 9
9@link Evas.h Evas API @endlink 10@link Evas.h Evas API @endlink
10 11
@@ -489,7 +490,7 @@ typedef enum _Evas_Event_Flags
489{ 490{
490 EVAS_EVENT_FLAG_NONE = 0, /**< No fancy flags set */ 491 EVAS_EVENT_FLAG_NONE = 0, /**< No fancy flags set */
491 EVAS_EVENT_FLAG_ON_HOLD = (1 << 0), /**< This event is being delivered but should be put "on hold" until the on hold flag is unset. the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */ 492 EVAS_EVENT_FLAG_ON_HOLD = (1 << 0), /**< This event is being delivered but should be put "on hold" until the on hold flag is unset. the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */
492 EVAS_EVENT_FLAG_ON_SCROLL = (1 << 1) /**< This event flag indicates the event occurs while scrolling; for exameple, DOWN event occurs during scrolling; the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */ 493 EVAS_EVENT_FLAG_ON_SCROLL = (1 << 1) /**< This event flag indicates the event occurs while scrolling; for example, DOWN event occurs during scrolling; the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */
493} Evas_Event_Flags; /**< Flags for Events */ 494} Evas_Event_Flags; /**< Flags for Events */
494 495
495/** 496/**
@@ -501,7 +502,7 @@ typedef enum _Evas_Touch_Point_State
501 EVAS_TOUCH_POINT_UP, /**< Touch point is released */ 502 EVAS_TOUCH_POINT_UP, /**< Touch point is released */
502 EVAS_TOUCH_POINT_MOVE, /**< Touch point is moved */ 503 EVAS_TOUCH_POINT_MOVE, /**< Touch point is moved */
503 EVAS_TOUCH_POINT_STILL, /**< Touch point is not moved after pressed */ 504 EVAS_TOUCH_POINT_STILL, /**< Touch point is not moved after pressed */
504 EVAS_TOUCH_POINT_CANCEL /**< Touch point is calcelled */ 505 EVAS_TOUCH_POINT_CANCEL /**< Touch point is cancelled */
505} Evas_Touch_Point_State; 506} Evas_Touch_Point_State;
506 507
507/** 508/**
@@ -527,7 +528,7 @@ typedef enum _Evas_Colorspace
527 EVAS_COLORSPACE_YCBCR422P709_PL,/**< YCbCr 4:2:2 Planar, ITU.BT-709 specifications. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb, then Cr rows */ 528 EVAS_COLORSPACE_YCBCR422P709_PL,/**< YCbCr 4:2:2 Planar, ITU.BT-709 specifications. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb, then Cr rows */
528 EVAS_COLORSPACE_RGB565_A5P, /**< 16bit rgb565 + Alpha plane at end - 5 bits of the 8 being used per alpha byte */ 529 EVAS_COLORSPACE_RGB565_A5P, /**< 16bit rgb565 + Alpha plane at end - 5 bits of the 8 being used per alpha byte */
529 EVAS_COLORSPACE_GRY8, /**< 8bit grayscale */ 530 EVAS_COLORSPACE_GRY8, /**< 8bit grayscale */
530 EVAS_COLORSPACE_YCBCR422601_PL, /**< YCbCr 4:2:2, ITU.BT-601 specifications. The data poitned to is just an array of row pointer, pointing to line of Y,Cb,Y,Cr bytes */ 531 EVAS_COLORSPACE_YCBCR422601_PL, /**< YCbCr 4:2:2, ITU.BT-601 specifications. The data pointed to is just an array of row pointer, pointing to line of Y,Cb,Y,Cr bytes */
531 EVAS_COLORSPACE_YCBCR420NV12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb,Cr rows. */ 532 EVAS_COLORSPACE_YCBCR420NV12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb,Cr rows. */
532 EVAS_COLORSPACE_YCBCR420TM12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of tiled row pointer, pointing to the Y rows, then the Cb,Cr rows. */ 533 EVAS_COLORSPACE_YCBCR420TM12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of tiled row pointer, pointing to the Y rows, then the Cb,Cr rows. */
533} Evas_Colorspace; /**< Colorspaces for pixel data supported by Evas */ 534} Evas_Colorspace; /**< Colorspaces for pixel data supported by Evas */
@@ -536,7 +537,7 @@ typedef enum _Evas_Colorspace
536 * How to pack items into cells in a table. 537 * How to pack items into cells in a table.
537 * @ingroup Evas_Object_Table 538 * @ingroup Evas_Object_Table
538 * 539 *
539 * @see evas_object_table_homogeneous_set() for an explanation of the funcion of 540 * @see evas_object_table_homogeneous_set() for an explanation of the function of
540 * each one. 541 * each one.
541 */ 542 */
542typedef enum _Evas_Object_Table_Homogeneous_Mode 543typedef enum _Evas_Object_Table_Homogeneous_Mode
@@ -693,7 +694,7 @@ typedef enum _Evas_Load_Error
693 EVAS_LOAD_ERROR_NONE = 0, /**< No error on load */ 694 EVAS_LOAD_ERROR_NONE = 0, /**< No error on load */
694 EVAS_LOAD_ERROR_GENERIC = 1, /**< A non-specific error occurred */ 695 EVAS_LOAD_ERROR_GENERIC = 1, /**< A non-specific error occurred */
695 EVAS_LOAD_ERROR_DOES_NOT_EXIST = 2, /**< File (or file path) does not exist */ 696 EVAS_LOAD_ERROR_DOES_NOT_EXIST = 2, /**< File (or file path) does not exist */
696 EVAS_LOAD_ERROR_PERMISSION_DENIED = 3, /**< Permission deinied to an existing file (or path) */ 697 EVAS_LOAD_ERROR_PERMISSION_DENIED = 3, /**< Permission denied to an existing file (or path) */
697 EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 4, /**< Allocation of resources failure prevented load */ 698 EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 4, /**< Allocation of resources failure prevented load */
698 EVAS_LOAD_ERROR_CORRUPT_FILE = 5, /**< File corrupt (but was detected as a known format) */ 699 EVAS_LOAD_ERROR_CORRUPT_FILE = 5, /**< File corrupt (but was detected as a known format) */
699 EVAS_LOAD_ERROR_UNKNOWN_FORMAT = 6 /**< File is not a known format */ 700 EVAS_LOAD_ERROR_UNKNOWN_FORMAT = 6 /**< File is not a known format */
@@ -721,7 +722,7 @@ typedef enum _Evas_Pixel_Import_Pixel_Format
721{ 722{
722 EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */ 723 EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */
723 EVAS_PIXEL_FORMAT_ARGB32 = 1, /**< ARGB 32bit pixel format with A in the high byte per 32bit pixel word */ 724 EVAS_PIXEL_FORMAT_ARGB32 = 1, /**< ARGB 32bit pixel format with A in the high byte per 32bit pixel word */
724 EVAS_PIXEL_FORMAT_YUV420P_601 = 2 /**< YUV 420 Planar format with CCIR 601 color encoding wuth contiguous planes in the order Y, U and V */ 725 EVAS_PIXEL_FORMAT_YUV420P_601 = 2 /**< YUV 420 Planar format with CCIR 601 color encoding with contiguous planes in the order Y, U and V */
725} Evas_Pixel_Import_Pixel_Format; /**< Pixel format for import call. See evas_object_image_pixels_import() */ 726} Evas_Pixel_Import_Pixel_Format; /**< Pixel format for import call. See evas_object_image_pixels_import() */
726 727
727struct _Evas_Pixel_Import_Source 728struct _Evas_Pixel_Import_Source
@@ -809,10 +810,10 @@ typedef enum _Evas_Render_Op
809 EVAS_RENDER_BLEND_REL = 1, /**< d = d*(1 - sa) + s*da */ 810 EVAS_RENDER_BLEND_REL = 1, /**< d = d*(1 - sa) + s*da */
810 EVAS_RENDER_COPY = 2, /**< d = s */ 811 EVAS_RENDER_COPY = 2, /**< d = s */
811 EVAS_RENDER_COPY_REL = 3, /**< d = s*da */ 812 EVAS_RENDER_COPY_REL = 3, /**< d = s*da */
812 EVAS_RENDER_ADD = 4, /**< d = d + s */ 813 EVAS_RENDER_ADD = 4, /* d = d + s */
813 EVAS_RENDER_ADD_REL = 5, /**< d = d + s*da */ 814 EVAS_RENDER_ADD_REL = 5, /**< d = d + s*da */
814 EVAS_RENDER_SUB = 6, /**< d = d - s */ 815 EVAS_RENDER_SUB = 6, /**< d = d - s */
815 EVAS_RENDER_SUB_REL = 7, /**< d = d - s*da */ 816 EVAS_RENDER_SUB_REL = 7, /* d = d - s*da */
816 EVAS_RENDER_TINT = 8, /**< d = d*s + d*(1 - sa) + s*(1 - da) */ 817 EVAS_RENDER_TINT = 8, /**< d = d*s + d*(1 - sa) + s*(1 - da) */
817 EVAS_RENDER_TINT_REL = 9, /**< d = d*(1 - sa + s) */ 818 EVAS_RENDER_TINT_REL = 9, /**< d = d*(1 - sa + s) */
818 EVAS_RENDER_MASK = 10, /**< d = d*sa */ 819 EVAS_RENDER_MASK = 10, /**< d = d*sa */
@@ -1280,7 +1281,7 @@ EAPI Eina_Bool evas_async_events_put (const void *target, Ev
1280 * directly, too, and not yet with its @b objects. They are the 1281 * directly, too, and not yet with its @b objects. They are the
1281 * functions you need to use at a minimum to get a working canvas. 1282 * functions you need to use at a minimum to get a working canvas.
1282 * 1283 *
1283 * Some of the funcions in this group are exemplified @ref 1284 * Some of the functions in this group are exemplified @ref
1284 * Example_Evas_Events "here". 1285 * Example_Evas_Events "here".
1285 */ 1286 */
1286 1287
@@ -1422,13 +1423,13 @@ EAPI void evas_damage_rectangle_add (Evas *e, int x, int y,
1422 * was just after this function took place. 1423 * was just after this function took place.
1423 * 1424 *
1424 * We call it "obscured region" because the most common use case for 1425 * We call it "obscured region" because the most common use case for
1425 * this rendering (partial) freeze is something else (most problaby 1426 * this rendering (partial) freeze is something else (most probably
1426 * other canvas) being on top of the specified rectangular region, 1427 * other canvas) being on top of the specified rectangular region,
1427 * thus shading it completely from the user's final scene in a 1428 * thus shading it completely from the user's final scene in a
1428 * display. To avoid unnecessary processing, one should indicate to the 1429 * display. To avoid unnecessary processing, one should indicate to the
1429 * obscured canvas not to bother about the non-important area. 1430 * obscured canvas not to bother about the non-important area.
1430 * 1431 *
1431 * The majority of users won't have to worry about this funcion, as 1432 * The majority of users won't have to worry about this function, as
1432 * they'll be using just one canvas in their applications, with 1433 * they'll be using just one canvas in their applications, with
1433 * nothing inset or on top of it in any form. 1434 * nothing inset or on top of it in any form.
1434 * 1435 *
@@ -2077,7 +2078,7 @@ EAPI void evas_pointer_canvas_xy_get (const Evas *e, Evas_Co
2077 * Returns a bitmask with the mouse buttons currently pressed, set to 1 2078 * Returns a bitmask with the mouse buttons currently pressed, set to 1
2078 * 2079 *
2079 * @param e The pointer to the Evas Canvas 2080 * @param e The pointer to the Evas Canvas
2080 * @return A bitmask of the currently depressed buttons on the cavas 2081 * @return A bitmask of the currently depressed buttons on the canvas
2081 * @ingroup Evas_Pointer_Group 2082 * @ingroup Evas_Pointer_Group
2082 * 2083 *
2083 * Calling this function will return a 32-bit integer with the 2084 * Calling this function will return a 32-bit integer with the
@@ -2150,7 +2151,7 @@ EAPI Eina_Bool evas_pointer_inside_get (const Evas *e) EINA_WA
2150 * its internal states changing (an object got focused, the rendering 2151 * its internal states changing (an object got focused, the rendering
2151 * is updated, etc). 2152 * is updated, etc).
2152 * 2153 *
2153 * Some of the funcions in this group are exemplified @ref 2154 * Some of the functions in this group are exemplified @ref
2154 * Example_Evas_Events "here". 2155 * Example_Evas_Events "here".
2155 * 2156 *
2156 * @ingroup Evas_Canvas 2157 * @ingroup Evas_Canvas
@@ -2308,14 +2309,14 @@ EAPI void *evas_event_callback_del_full (Evas *e, Evas_Callb
2308 * @param data The data pointer to be passed to the callback 2309 * @param data The data pointer to be passed to the callback
2309 * 2310 *
2310 * Evas has a stack of callbacks that get called after all the callbacks for 2311 * Evas has a stack of callbacks that get called after all the callbacks for
2311 * an event have triggered (all the objects it triggers on and al the callbacks 2312 * an event have triggered (all the objects it triggers on and all the callbacks
2312 * in each object triggered). When all these have been called, the stack is 2313 * in each object triggered). When all these have been called, the stack is
2313 * unwond from most recently to least recently pushed item and removed from the 2314 * unwond from most recently to least recently pushed item and removed from the
2314 * stack calling the callback set for it. 2315 * stack calling the callback set for it.
2315 * 2316 *
2316 * This is intended for doing reverse logic-like processing, example - when a 2317 * This is intended for doing reverse logic-like processing, example - when a
2317 * child object that happens to get the event later is meant to be able to 2318 * child object that happens to get the event later is meant to be able to
2318 * "steal" functions from a parent and thus on unwind of this stack hav its 2319 * "steal" functions from a parent and thus on unwind of this stack have its
2319 * function called first, thus being able to set flags, or return 0 from the 2320 * function called first, thus being able to set flags, or return 0 from the
2320 * post-callback that stops all other post-callbacks in the current stack from 2321 * post-callback that stops all other post-callbacks in the current stack from
2321 * being called (thus basically allowing a child to take control, if the event 2322 * being called (thus basically allowing a child to take control, if the event
@@ -2359,7 +2360,7 @@ EAPI void evas_post_event_callback_remove_full (Evas *e, Evas_Objec
2359 * an Evas canvas. 2360 * an Evas canvas.
2360 * 2361 *
2361 * There might be scenarios during a graphical user interface 2362 * There might be scenarios during a graphical user interface
2362 * program's use when the developer whishes the users wouldn't be able 2363 * program's use when the developer wishes the users wouldn't be able
2363 * to deliver input events to this application. It may, for example, 2364 * to deliver input events to this application. It may, for example,
2364 * be the time for it to populate a view or to change some 2365 * be the time for it to populate a view or to change some
2365 * layout. Assuming proper behavior with user interaction during this 2366 * layout. Assuming proper behavior with user interaction during this
@@ -2367,7 +2368,14 @@ EAPI void evas_post_event_callback_remove_full (Evas *e, Evas_Objec
2367 * programmer can then tell the canvas to ignore input events, 2368 * programmer can then tell the canvas to ignore input events,
2368 * bringing it back to normal behavior when he/she wants. 2369 * bringing it back to normal behavior when he/she wants.
2369 * 2370 *
2370 * Some of the funcions in this group are exemplified @ref 2371 * Most of the time use of freezing events is done like this:
2372 * @code
2373 * evas_event_freeze(my_evas_canvas);
2374 * function_that_does_work_which_cant_be_interrupted_by_events();
2375 * evas_event_thaw(my_evas_canvas);
2376 * @endcode
2377 *
2378 * Some of the functions in this group are exemplified @ref
2371 * Example_Evas_Events "here". 2379 * Example_Evas_Events "here".
2372 * 2380 *
2373 * @ingroup Evas_Canvas_Events 2381 * @ingroup Evas_Canvas_Events
@@ -2416,7 +2424,7 @@ EAPI Evas_Event_Flags evas_event_default_flags_get (const Evas *e) EINA_AR
2416 * of this kind during the freeze will get @b discarded. Every freeze 2424 * of this kind during the freeze will get @b discarded. Every freeze
2417 * call must be matched by a thaw call in order to completely thaw out 2425 * call must be matched by a thaw call in order to completely thaw out
2418 * a canvas (i.e. these calls may be nested). The most common use is 2426 * a canvas (i.e. these calls may be nested). The most common use is
2419 * when you don't want the user to interect with your user interface 2427 * when you don't want the user to interact with your user interface
2420 * when you're populating a view or changing the layout. 2428 * when you're populating a view or changing the layout.
2421 * 2429 *
2422 * Example: 2430 * Example:
@@ -2494,13 +2502,18 @@ EAPI void evas_event_thaw_eval (Evas *e) EINA_ARG_NONN
2494 * Functions to tell Evas that input events happened and should be 2502 * Functions to tell Evas that input events happened and should be
2495 * processed. 2503 * processed.
2496 * 2504 *
2505 * @warning Most of the time these functions are @b not what you're looking for.
2506 * These functions should only be used if you're not working with ecore evas(or
2507 * another input handling system). If you're not using ecore evas please
2508 * consider using it, in most situation it will make life a lot easier.
2509 *
2497 * As explained in @ref intro_not_evas, Evas does not know how to poll 2510 * As explained in @ref intro_not_evas, Evas does not know how to poll
2498 * for input events, so the developer should do it and then feed such 2511 * for input events, so the developer should do it and then feed such
2499 * events to the canvas to be processed. This is only required if 2512 * events to the canvas to be processed. This is only required if
2500 * operating Evas directly. Modules such as Ecore_Evas do that for 2513 * operating Evas directly. Modules such as Ecore_Evas do that for
2501 * you. 2514 * you.
2502 * 2515 *
2503 * Some of the funcions in this group are exemplified @ref 2516 * Some of the functions in this group are exemplified @ref
2504 * Example_Evas_Events "here". 2517 * Example_Evas_Events "here".
2505 * 2518 *
2506 * @ingroup Evas_Canvas_Events 2519 * @ingroup Evas_Canvas_Events
@@ -2928,7 +2941,7 @@ EAPI const Eina_List *evas_font_path_list (const Evas *e) EINA_WA
2928 * - textblock and 2941 * - textblock and
2929 * - image. 2942 * - image.
2930 * 2943 *
2931 * These functions apply to @b any Evas object, whichever type thay 2944 * These functions apply to @b any Evas object, whichever type that
2932 * may have. 2945 * may have.
2933 * 2946 *
2934 * @note The built-in types which are most used are rectangles, text 2947 * @note The built-in types which are most used are rectangles, text
@@ -2939,14 +2952,21 @@ EAPI const Eina_List *evas_font_path_list (const Evas *e) EINA_WA
2939/** 2952/**
2940 * @defgroup Evas_Object_Group_Basic Basic Object Manipulation 2953 * @defgroup Evas_Object_Group_Basic Basic Object Manipulation
2941 * 2954 *
2942 * Methods that are broadly used, like those that change the color, 2955 * Almost every evas object created will have some generic function used to
2943 * clippers and geometry of an Evas object. 2956 * manipulate it. That's because there are a number of basic actions to be done
2944 * 2957 * to objects that are irrespective of the object's type, things like:
2945 * An example on the most used functions in this group can be seen @ref 2958 * @li Showing/Hiding
2946 * Example_Evas_Object_Manipulation "here". 2959 * @li Setting(and getting) geometry
2947 * 2960 * @li Bring up or down a layer
2948 * For function dealing with stacking, the examples are gathered @ref 2961 * @li Color management
2949 * Example_Evas_Stacking "here". 2962 * @li Handling focus
2963 * @li Clipping
2964 * @li Reference counting
2965 *
2966 * All of this issues are handled through the functions here grouped. Examples
2967 * of these function can be seen in @ref Example_Evas_Object_Manipulation(which
2968 * deals with the most common ones) and in @ref Example_Evas_Stacking(which
2969 * deals with stacking functions).
2950 * 2970 *
2951 * @ingroup Evas_Object_Group 2971 * @ingroup Evas_Object_Group
2952 */ 2972 */
@@ -3444,7 +3464,7 @@ EAPI void evas_object_hide (Evas_Object *obj) EINA
3444 * @return @c EINA_TRUE if the object is visible, @c EINA_FALSE 3464 * @return @c EINA_TRUE if the object is visible, @c EINA_FALSE
3445 * otherwise. 3465 * otherwise.
3446 * 3466 *
3447 * This retrieves an object's visibily as the one enforced by 3467 * This retrieves an object's visibility as the one enforced by
3448 * evas_object_show() and evas_object_hide(). 3468 * evas_object_show() and evas_object_hide().
3449 * 3469 *
3450 * @note The value returned isn't, by any means, influenced by 3470 * @note The value returned isn't, by any means, influenced by
@@ -3492,7 +3512,7 @@ EAPI void evas_object_color_set (Evas_Object *obj, int
3492 * Retrieves the “main” color's RGB component (and alpha channel) 3512 * Retrieves the “main” color's RGB component (and alpha channel)
3493 * values, <b>which range from 0 to 255</b>. For the alpha channel, 3513 * values, <b>which range from 0 to 255</b>. For the alpha channel,
3494 * which defines the object's transparency level, 0 means totally 3514 * which defines the object's transparency level, 0 means totally
3495 * trasparent, while 255 means opaque. These color values are 3515 * transparent, while 255 means opaque. These color values are
3496 * premultiplied by the alpha value. 3516 * premultiplied by the alpha value.
3497 * 3517 *
3498 * Usually you’ll use this attribute for text and rectangle objects, 3518 * Usually you’ll use this attribute for text and rectangle objects,
@@ -4406,7 +4426,7 @@ EAPI Eina_Bool evas_object_freeze_events_get(const Evas_Object *obj) EIN
4406 * @image rtf map-uv-mapping-1.png 4426 * @image rtf map-uv-mapping-1.png
4407 * @image latex map-uv-mapping-1.eps 4427 * @image latex map-uv-mapping-1.eps
4408 * 4428 *
4409 * Images need some special handlign when mapped. Evas can easily take care 4429 * Images need some special handling when mapped. Evas can easily take care
4410 * of objects and do almost anything with them, but it's completely oblivious 4430 * of objects and do almost anything with them, but it's completely oblivious
4411 * to the content of images, so each point in the map needs to be told to what 4431 * to the content of images, so each point in the map needs to be told to what
4412 * pixel in the source image it belongs. Failing to do may sometimes result 4432 * pixel in the source image it belongs. Failing to do may sometimes result
@@ -4572,7 +4592,7 @@ EAPI void evas_object_map_set (Evas_Object *obj, cons
4572 * Get current object transformation map. 4592 * Get current object transformation map.
4573 * 4593 *
4574 * This returns the current internal map set on the indicated object. It is 4594 * This returns the current internal map set on the indicated object. It is
4575 * intended for read-only acces and is only valid as long as the object is 4595 * intended for read-only access and is only valid as long as the object is
4576 * not deleted or the map on the object is not changed. If you wish to modify 4596 * not deleted or the map on the object is not changed. If you wish to modify
4577 * the map and set it back do the following: 4597 * the map and set it back do the following:
4578 * 4598 *
@@ -4678,7 +4698,7 @@ EAPI void evas_map_util_points_color_set (Evas_Map *
4678 * 4698 *
4679 * This rotates the indicated map's coordinates around the center coordinate 4699 * This rotates the indicated map's coordinates around the center coordinate
4680 * given by @p cx and @p cy as the rotation center. The points will have their 4700 * given by @p cx and @p cy as the rotation center. The points will have their
4681 * X and Y coordinates rotated clockwise by @p degrees degress (360.0 is a 4701 * X and Y coordinates rotated clockwise by @p degrees degrees (360.0 is a
4682 * full rotation). Negative values for degrees will rotate counter-clockwise 4702 * full rotation). Negative values for degrees will rotate counter-clockwise
4683 * by that amount. All coordinates are canvas global coordinates. 4703 * by that amount. All coordinates are canvas global coordinates.
4684 * 4704 *
@@ -4698,7 +4718,7 @@ EAPI void evas_map_util_rotate (Evas_Map *
4698 * Like evas_map_util_rotate(), this zooms the points of the map from a center 4718 * Like evas_map_util_rotate(), this zooms the points of the map from a center
4699 * point. That center is defined by @p cx and @p cy. The @p zoomx and @p zoomy 4719 * point. That center is defined by @p cx and @p cy. The @p zoomx and @p zoomy
4700 * parameters specify how much to zoom in the X and Y direction respectively. 4720 * parameters specify how much to zoom in the X and Y direction respectively.
4701 * A value of 1.0 means "don't zoom". 2.0 means "dobule the size". 0.5 is 4721 * A value of 1.0 means "don't zoom". 2.0 means "double the size". 0.5 is
4702 * "half the size" etc. All coordinates are canvas global coordinates. 4722 * "half the size" etc. All coordinates are canvas global coordinates.
4703 * 4723 *
4704 * @param m map to change. 4724 * @param m map to change.
@@ -4723,9 +4743,9 @@ EAPI void evas_map_util_zoom (Evas_Map *
4723 * evas_map_util_rotate() you provide a center point to rotate around (in 3D). 4743 * evas_map_util_rotate() you provide a center point to rotate around (in 3D).
4724 * 4744 *
4725 * @param m map to change. 4745 * @param m map to change.
4726 * @param dx amount of degrees from 0.0 to 360.0 to rotate arount X axis. 4746 * @param dx amount of degrees from 0.0 to 360.0 to rotate around X axis.
4727 * @param dy amount of degrees from 0.0 to 360.0 to rotate arount Y axis. 4747 * @param dy amount of degrees from 0.0 to 360.0 to rotate around Y axis.
4728 * @param dz amount of degrees from 0.0 to 360.0 to rotate arount Z axis. 4748 * @param dz amount of degrees from 0.0 to 360.0 to rotate around Z axis.
4729 * @param cx rotation's center horizontal position. 4749 * @param cx rotation's center horizontal position.
4730 * @param cy rotation's center vertical position. 4750 * @param cy rotation's center vertical position.
4731 * @param cz rotation's center vertical position. 4751 * @param cz rotation's center vertical position.
@@ -4794,8 +4814,8 @@ EAPI void evas_map_util_3d_lighting (Evas_Map *
4794 * This applies a given perspective (3D) to the map coordinates. X, Y and Z 4814 * This applies a given perspective (3D) to the map coordinates. X, Y and Z
4795 * values are used. The px and py points specify the "infinite distance" point 4815 * values are used. The px and py points specify the "infinite distance" point
4796 * in the 3D conversion (where all lines converge to like when artists draw 4816 * in the 3D conversion (where all lines converge to like when artists draw
4797 * 3D by hand). The @p z0 value specifis the z value at which there is a 1:1 4817 * 3D by hand). The @p z0 value specifies the z value at which there is a 1:1
4798 * mapping between spatial coorinates and screen coordinates. Any points 4818 * mapping between spatial coordinates and screen coordinates. Any points
4799 * on this z value will not have their X and Y values modified in the transform. 4819 * on this z value will not have their X and Y values modified in the transform.
4800 * Those further away (Z value higher) will shrink into the distance, and 4820 * Those further away (Z value higher) will shrink into the distance, and
4801 * those less than this value will expand and become bigger. The @p foc value 4821 * those less than this value will expand and become bigger. The @p foc value
@@ -4805,8 +4825,8 @@ EAPI void evas_map_util_3d_lighting (Evas_Map *
4805 * control and @p foc must be greater than 0. 4825 * control and @p foc must be greater than 0.
4806 * 4826 *
4807 * @param m map to change. 4827 * @param m map to change.
4808 * @param px The pespective distance X coordinate 4828 * @param px The perspective distance X coordinate
4809 * @param py The pespective distance Y coordinate 4829 * @param py The perspective distance Y coordinate
4810 * @param z0 The "0" z plane value 4830 * @param z0 The "0" z plane value
4811 * @param foc The focal distance 4831 * @param foc The focal distance
4812 */ 4832 */
@@ -4885,7 +4905,7 @@ EAPI void evas_map_alpha_set (Evas_Map *m, Eina_Bool
4885/** 4905/**
4886 * get the alpha flag for map rendering 4906 * get the alpha flag for map rendering
4887 * 4907 *
4888 * This gets the alph flag for map rendering. 4908 * This gets the alpha flag for map rendering.
4889 * 4909 *
4890 * @param m map to get the alpha from. Must not be NULL. 4910 * @param m map to get the alpha from. Must not be NULL.
4891 */ 4911 */
@@ -4926,17 +4946,17 @@ EAPI int evas_map_count_get (const Evas_Map *m) EINA
4926 * 4946 *
4927 * This sets the fixed point's coordinate in the map. Note that points 4947 * This sets the fixed point's coordinate in the map. Note that points
4928 * describe the outline of a quadrangle and are ordered either clockwise 4948 * describe the outline of a quadrangle and are ordered either clockwise
4929 * or anit-clock-wise. It is suggested to keep your quadrangles concave and 4949 * or anti-clock-wise. It is suggested to keep your quadrangles concave and
4930 * non-complex, though these polygon modes may work, they may not render 4950 * non-complex, though these polygon modes may work, they may not render
4931 * a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 4951 * a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2,
4932 * 2 and 3, and 3 and 0 to describe the edges of the quandrangle. 4952 * 2 and 3, and 3 and 0 to describe the edges of the quadrangle.
4933 * 4953 *
4934 * The X and Y and Z coordinates are in canvas units. Z is optional and may 4954 * The X and Y and Z coordinates are in canvas units. Z is optional and may
4935 * or may not be honored in drawing. Z is a hint and does not affect the 4955 * or may not be honored in drawing. Z is a hint and does not affect the
4936 * X and Y rendered coordinates. It may be used for calculating fills with 4956 * X and Y rendered coordinates. It may be used for calculating fills with
4937 * perspective correct rendering. 4957 * perspective correct rendering.
4938 * 4958 *
4939 * Remember all coordinates are canvas global ones like with move and reize 4959 * Remember all coordinates are canvas global ones like with move and resize
4940 * in evas. 4960 * in evas.
4941 * 4961 *
4942 * @param m map to change point. Must not be @c NULL. 4962 * @param m map to change point. Must not be @c NULL.
@@ -5466,7 +5486,7 @@ EAPI void evas_object_size_hint_padding_set (Evas_Object *obj, Evas
5466 * 5486 *
5467 * @param obj The object to attach the data pointer to 5487 * @param obj The object to attach the data pointer to
5468 * @param key The string key for the data to access it 5488 * @param key The string key for the data to access it
5469 * @param data The ponter to the data to be attached 5489 * @param data The pointer to the data to be attached
5470 * 5490 *
5471 * This attaches the pointer @p data to the object @p obj, given the 5491 * This attaches the pointer @p data to the object @p obj, given the
5472 * access string @p key. This pointer will stay "hooked" to the object 5492 * access string @p key. This pointer will stay "hooked" to the object
@@ -6124,13 +6144,99 @@ EAPI void *evas_object_intercept_move_callback_del (Evas_Obje
6124 * 6144 *
6125 * @brief Function to create evas rectangle objects. 6145 * @brief Function to create evas rectangle objects.
6126 * 6146 *
6127 * This function may seem useless given there are no functions to manipulate 6147 * There is only one function to deal with rectangle objects, this may make this
6128 * the created rectangle, however the rectangle is actually very useful and can 6148 * function seem useless given there are no functions to manipulate the created
6129 * be manipulate using the generic @ref Evas_Object_Group 6149 * rectangle, however the rectangle is actually very useful and should be
6130 * "evas object functions". 6150 * manipulated using the generic @ref Evas_Object_Group "evas object functions".
6151 *
6152 * The evas rectangle server a number of key functions when working on evas
6153 * programs:
6154 * @li Background
6155 * @li Debugging
6156 * @li Clipper
6157 *
6158 * @section Background
6131 * 6159 *
6132 * For an example of use of an evas_object_rectangle see @ref 6160 * One extremely common requirement of evas programs is to have a solid color
6133 * Example_Evas_Object_Manipulation "here". 6161 * background, this can be accomplished with the following very simple code:
6162 * @code
6163 * Evas_Object *bg = evas_object_rectangle_add(evas_canvas);
6164 * //Here we set the rectangles red, green, blue and opacity levels
6165 * evas_object_color_set(bg, 255, 255, 255, 255); // opaque white background
6166 * evas_object_resize(bg, WIDTH, HEIGHT); // covers full canvas
6167 * evas_object_show(bg);
6168 * @endcode
6169 *
6170 * This however will have issues if the @c evas_canvas is resized, however most
6171 * windows are created using ecore evas and that has a solution to using the
6172 * rectangle as a background:
6173 * @code
6174 * Evas_Object *bg = evas_object_rectangle_add(ecore_evas_get(ee));
6175 * //Here we set the rectangles red, green, blue and opacity levels
6176 * evas_object_color_set(bg, 255, 255, 255, 255); // opaque white background
6177 * evas_object_resize(bg, WIDTH, HEIGHT); // covers full canvas
6178 * evas_object_show(bg);
6179 * ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
6180 * @endcode
6181 * So this gives us a white background to our window that will be resized
6182 * together with it.
6183 *
6184 * @section Debugging
6185 *
6186 * Debugging is a major part of any programmers task and when debugging visual
6187 * issues with evas programs the rectangle is an extremely useful tool. The
6188 * rectangle's simplicity means that it's easier to pinpoint issues with it than
6189 * with more complex objects. Therefore a common technique to use when writing
6190 * an evas program and not getting the desired visual result is to replace the
6191 * misbehaving object for a solid color rectangle and seeing how it interacts
6192 * with the other elements, this often allows us to notice clipping, parenting
6193 * or positioning issues. Once the issues have been identified and corrected the
6194 * rectangle can be replaced for the original part and in all likelihood any
6195 * remaining issues will be specific to that object's type.
6196 *
6197 * @section clipping Clipping
6198 *
6199 * Clipping serves two main functions:
6200 * @li Limiting visibility(i.e. hiding portions of an object).
6201 * @li Applying a layer of color to an object.
6202 *
6203 * @subsection hiding Limiting visibility
6204 *
6205 * It is often necessary to show only parts of an object, while it may be
6206 * possible to create an object that corresponds only to the part that must be
6207 * shown(and it isn't always possible) it's usually easier to use a a clipper. A
6208 * clipper is a rectangle that defines what's visible and what is not. The way
6209 * to do this is to create a solid white rectangle(which is the default, no need
6210 * to call evas_object_color_set()) and give it a position and size of what
6211 * should be visible. The following code exemplifies showing the center half of
6212 * @c my_evas_object:
6213 * @code
6214 * Evas_Object *clipper = evas_object_rectangle_add(evas_canvas);
6215 * evas_object_move(clipper, my_evas_object_x / 4, my_evas_object_y / 4);
6216 * evas_object_resize(clipper, my_evas_object_width / 2, my_evas_object_height / 2);
6217 * evas_object_clip_set(my_evas_object, clipper);
6218 * evas_object_show(clipper);
6219 * @endcode
6220 *
6221 * @subsection color Layer of color
6222 *
6223 * In the @ref clipping section we used a solid white clipper, which produced no
6224 * change in the color of the clipped object, it just hid what was outside the
6225 * clippers area. It is however sometimes desirable to change the of color an
6226 * object, this can be accomplished using a clipper that has a non-white color.
6227 * Clippers with color work by multiplying the colors of clipped object. The
6228 * following code will show how to remove all the red from an object:
6229 * @code
6230 * Evas_Object *clipper = evas_object_rectangle_add(evas);
6231 * evas_object_move(clipper, my_evas_object_x, my_evas_object_y);
6232 * evas_object_resize(clipper, my_evas_object_width, my_evas_object_height);
6233 * evas_object_color_set(clipper, 0, 255, 255, 255);
6234 * evas_object_clip_set(obj, clipper);
6235 * evas_object_show(clipper);
6236 * @endcode
6237 *
6238 * For an example that more fully exercise the use of an evas object rectangle
6239 * see @ref Example_Evas_Object_Manipulation.
6134 * 6240 *
6135 * @ingroup Evas_Object_Specific 6241 * @ingroup Evas_Object_Specific
6136 */ 6242 */
@@ -6172,7 +6278,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6172 * object's area</b> with that given pixel data. One could use just a 6278 * object's area</b> with that given pixel data. One could use just a
6173 * sub-region of the original image or even have it tiled repeatedly 6279 * sub-region of the original image or even have it tiled repeatedly
6174 * on the image object. For the common case of having the whole source 6280 * on the image object. For the common case of having the whole source
6175 * image to be displayed on the image object, streched to the 6281 * image to be displayed on the image object, stretched to the
6176 * destination's size, there's also a function helper, to be used 6282 * destination's size, there's also a function helper, to be used
6177 * instead of evas_object_image_fill_set(): 6283 * instead of evas_object_image_fill_set():
6178 * @code 6284 * @code
@@ -6208,7 +6314,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6208 * at a given image, at full size, and will desire that the navigation 6314 * at a given image, at full size, and will desire that the navigation
6209 * to the adjacent images on his/her album be fluid and fast. Thus, 6315 * to the adjacent images on his/her album be fluid and fast. Thus,
6210 * while displaying a given image, the program can be on the 6316 * while displaying a given image, the program can be on the
6211 * background loading the next and previous imagens already, so that 6317 * background loading the next and previous images already, so that
6212 * displaying them on the sequence is just a matter of repainting the 6318 * displaying them on the sequence is just a matter of repainting the
6213 * screen (and not decoding image data). 6319 * screen (and not decoding image data).
6214 * 6320 *
@@ -6247,7 +6353,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6247 * are also some tips on how to boost the performance of your 6353 * are also some tips on how to boost the performance of your
6248 * application. If the animation involves resizing of an image (thus, 6354 * application. If the animation involves resizing of an image (thus,
6249 * re-scaling), you'd better turn off smooth scaling on it @b during 6355 * re-scaling), you'd better turn off smooth scaling on it @b during
6250 * the animation, turning it back on afterwrads, for less 6356 * the animation, turning it back on afterwards, for less
6251 * computations. Also, in this case you'd better flag the image object 6357 * computations. Also, in this case you'd better flag the image object
6252 * in question not to cache scaled versions of it: 6358 * in question not to cache scaled versions of it:
6253 * @code 6359 * @code
@@ -6290,7 +6396,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6290 * your own data as an image's pixel data, fetch an image's pixel data 6396 * your own data as an image's pixel data, fetch an image's pixel data
6291 * for saving/altering, convert images between different color spaces 6397 * for saving/altering, convert images between different color spaces
6292 * and even advanced operations like setting a native surface as image 6398 * and even advanced operations like setting a native surface as image
6293 * objecs' data. 6399 * objects' data.
6294 * 6400 *
6295 * @section Evas_Object_Image_Color_Spaces Color spaces 6401 * @section Evas_Object_Image_Color_Spaces Color spaces
6296 * 6402 *
@@ -6679,7 +6785,7 @@ EAPI double evas_object_image_border_scale_get (const Ev
6679 * 6785 *
6680 * See the following image to better understand the effects of this 6786 * See the following image to better understand the effects of this
6681 * call. On this diagram, both image object and original image source 6787 * call. On this diagram, both image object and original image source
6682 * have @c a x @c a dimentions and the image itself is a circle, with 6788 * have @c a x @c a dimensions and the image itself is a circle, with
6683 * empty space around it: 6789 * empty space around it:
6684 * 6790 *
6685 * @image html image-fill.png 6791 * @image html image-fill.png
@@ -6689,7 +6795,7 @@ EAPI double evas_object_image_border_scale_get (const Ev
6689 * @warning The default values for the fill parameters are @p x = 0, 6795 * @warning The default values for the fill parameters are @p x = 0,
6690 * @p y = 0, @p w = 0 and @p h = 0. Thus, if you're not using the 6796 * @p y = 0, @p w = 0 and @p h = 0. Thus, if you're not using the
6691 * evas_object_image_filled_add() helper and want your image 6797 * evas_object_image_filled_add() helper and want your image
6692 * displayed, you'll have to set valid values with this fuction on 6798 * displayed, you'll have to set valid values with this function on
6693 * your object. 6799 * your object.
6694 * 6800 *
6695 * @note evas_object_image_filled_set() is a helper function which 6801 * @note evas_object_image_filled_set() is a helper function which
@@ -6823,7 +6929,7 @@ EAPI void evas_object_image_data_set (Evas_Obj
6823 * This is best suited for when you want to modify an existing image, 6929 * This is best suited for when you want to modify an existing image,
6824 * without changing its dimensions. 6930 * without changing its dimensions.
6825 * 6931 *
6826 * @note The contents' formart returned by it depend on the color 6932 * @note The contents' format returned by it depend on the color
6827 * space of the given image object. 6933 * space of the given image object.
6828 * 6934 *
6829 * @note You may want to use evas_object_image_data_update_add() to 6935 * @note You may want to use evas_object_image_data_update_add() to
@@ -7022,7 +7128,7 @@ EAPI Eina_Bool evas_object_image_save (const Ev
7022EAPI Eina_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels) EINA_ARG_NONNULL(1, 2); 7128EAPI Eina_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels) EINA_ARG_NONNULL(1, 2);
7023 7129
7024/** 7130/**
7025 * Set the callback function to get pixels from a canva's image. 7131 * Set the callback function to get pixels from a canvas' image.
7026 * 7132 *
7027 * @param obj The given canvas pointer. 7133 * @param obj The given canvas pointer.
7028 * @param func The callback function. 7134 * @param func The callback function.
@@ -7403,7 +7509,7 @@ EAPI Eina_Bool evas_object_image_extension_can_load_get(const char *file);
7403 * Check if a file extension may be supported by @ref Evas_Object_Image. 7509 * Check if a file extension may be supported by @ref Evas_Object_Image.
7404 * 7510 *
7405 * @param file The file to check, it should be an Eina_Stringshare. 7511 * @param file The file to check, it should be an Eina_Stringshare.
7406 * @return EINA_TRUE if we may be able to opeen it, EINA_FALSE if it's unlikely. 7512 * @return EINA_TRUE if we may be able to open it, EINA_FALSE if it's unlikely.
7407 * @since 1.1.0 7513 * @since 1.1.0
7408 * 7514 *
7409 * This functions is threadsafe. 7515 * This functions is threadsafe.
@@ -7607,7 +7713,7 @@ EAPI void evas_object_image_animated_frame_set(Evas_Object *obj, int frame_num);
7607/** 7713/**
7608 * Text style type creation macro. This one will impose shadow 7714 * Text style type creation macro. This one will impose shadow
7609 * directions on the style type variable -- use the @c 7715 * directions on the style type variable -- use the @c
7610 * EVAS_TEXT_STYLE_SHADOW_DIRECTION_* values on 's', incremmentally. 7716 * EVAS_TEXT_STYLE_SHADOW_DIRECTION_* values on 's', incrementally.
7611 */ 7717 */
7612#define EVAS_TEXT_STYLE_SHADOW_DIRECTION_SET(x, s) \ 7718#define EVAS_TEXT_STYLE_SHADOW_DIRECTION_SET(x, s) \
7613 do { x = ((x) & ~EVAS_TEXT_STYLE_MASK_SHADOW_DIRECTION) | (s); } while (0) 7719 do { x = ((x) & ~EVAS_TEXT_STYLE_MASK_SHADOW_DIRECTION) | (s); } while (0)
@@ -7686,7 +7792,7 @@ EAPI const char *evas_object_text_font_source_get (const Evas_Object *obj
7686 * 7792 *
7687 * This function allows the font name and size of a text object to be 7793 * This function allows the font name and size of a text object to be
7688 * set. The @p font string has to follow fontconfig's convention on 7794 * set. The @p font string has to follow fontconfig's convention on
7689 * naming fonts, as it's the underlying lybrary used to query system 7795 * naming fonts, as it's the underlying library used to query system
7690 * fonts by Evas (see the @c fc-list command's output, on your system, 7796 * fonts by Evas (see the @c fc-list command's output, on your system,
7691 * to get an idea). 7797 * to get an idea).
7692 * 7798 *
@@ -8286,6 +8392,40 @@ EAPI void evas_object_textblock_style_set(Evas_Object *o
8286EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 8392EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
8287 8393
8288/** 8394/**
8395 * Push ts to the top of the user style stack.
8396 *
8397 * FIXME: API is solid but currently only supports 1 style in the stack.
8398 *
8399 * The user style overrides the corresponding elements of the regular style.
8400 * This is the proper way to do theme overrides in code.
8401 * @param obj the Evas object to set the style to.
8402 * @param ts the style to set.
8403 * @return Returns no value.
8404 * @see evas_object_textblock_style_set
8405 * @since 1.2.0
8406 */
8407EAPI void evas_object_textblock_style_user_push(Evas_Object *obj, Evas_Textblock_Style *ts) EINA_ARG_NONNULL(1);
8408
8409/**
8410 * Del the from the top of the user style stack.
8411 *
8412 * @param obj the object to get the style from.
8413 * @see evas_object_textblock_style_get
8414 * @since 1.2.0
8415 */
8416EAPI void evas_object_textblock_style_user_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
8417
8418/**
8419 * Get (don't remove) the style at the top of the user style stack.
8420 *
8421 * @param obj the object to get the style from.
8422 * @return the style of the object.
8423 * @see evas_object_textblock_style_get
8424 * @since 1.2.0
8425 */
8426EAPI const Evas_Textblock_Style *evas_object_textblock_style_user_peek(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
8427
8428/**
8289 * @brief Set the "replacement character" to use for the given textblock object. 8429 * @brief Set the "replacement character" to use for the given textblock object.
8290 * 8430 *
8291 * @param obj The given textblock object. 8431 * @param obj The given textblock object.
@@ -8320,7 +8460,7 @@ EAPI void evas_object_textblock_valign_set(Evas_Object *
8320 * @brief Gets the vertical alignment of a textblock 8460 * @brief Gets the vertical alignment of a textblock
8321 * 8461 *
8322 * @param obj The given textblock object. 8462 * @param obj The given textblock object.
8323 * @return The elignment set for the object 8463 * @return The alignment set for the object
8324 * @since 1.1.0 8464 * @since 1.1.0
8325 */ 8465 */
8326EAPI double evas_object_textblock_valign_get(const Evas_Object *obj); 8466EAPI double evas_object_textblock_valign_get(const Evas_Object *obj);
@@ -8524,7 +8664,7 @@ EAPI void evas_textblock_node_format_remove_pair(Evas_Ob
8524 * @param n the format node to update according. 8664 * @param n the format node to update according.
8525 * @deprecated duplicate of evas_textblock_cursor_at_format_set 8665 * @deprecated duplicate of evas_textblock_cursor_at_format_set
8526 */ 8666 */
8527EINA_DEPRECATED EAPI void evas_textblock_cursor_set_at_format(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *n) EINA_ARG_NONNULL(1, 2); 8667EAPI void evas_textblock_cursor_set_at_format(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *n) EINA_ARG_NONNULL(1, 2);
8528 8668
8529/** 8669/**
8530 * Return the format node at the position pointed by cur. 8670 * Return the format node at the position pointed by cur.
@@ -8847,7 +8987,7 @@ EAPI char *evas_textblock_cursor_content_get(const Evas_T
8847 * get, except for the case of the last char of a line which depends on the 8987 * get, except for the case of the last char of a line which depends on the
8848 * paragraph direction. 8988 * paragraph direction.
8849 * 8989 *
8850 * in '|' cursor mode (i.e a line between two chars) it is very varyable. 8990 * in '|' cursor mode (i.e a line between two chars) it is very variable.
8851 * For example consider the following visual string: 8991 * For example consider the following visual string:
8852 * "abcCBA" (ABC are rtl chars), a cursor pointing on A should actually draw 8992 * "abcCBA" (ABC are rtl chars), a cursor pointing on A should actually draw
8853 * a '|' between the c and the C. 8993 * a '|' between the c and the C.
@@ -9348,7 +9488,7 @@ struct _Evas_Smart_Cb_Description
9348 return; \ 9488 return; \
9349 if (!prefix##_parent_sc) \ 9489 if (!prefix##_parent_sc) \
9350 prefix##_parent_sc = parent_func(); \ 9490 prefix##_parent_sc = parent_func(); \
9351 evas_smart_class_inherit(sc, (const Evas_Smart_Class *)prefix##_parent_sc); \ 9491 evas_smart_class_inherit(sc, prefix##_parent_sc); \
9352 prefix##_smart_set_user(api); \ 9492 prefix##_smart_set_user(api); \
9353 } \ 9493 } \
9354 static Evas_Smart * prefix##_smart_class_new(void) \ 9494 static Evas_Smart * prefix##_smart_class_new(void) \
@@ -9557,7 +9697,7 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s);
9557 * @return 1 on success, 0 on failure. 9697 * @return 1 on success, 0 on failure.
9558 * @ingroup Evas_Smart_Group 9698 * @ingroup Evas_Smart_Group
9559 */ 9699 */
9560#define evas_smart_class_inherit(sc, parent_sc) evas_smart_class_inherit_full(sc, parent_sc, sizeof(*parent_sc)) 9700#define evas_smart_class_inherit(sc, parent_sc) evas_smart_class_inherit_full(sc, (Evas_Smart_Class *)parent_sc, sizeof(*parent_sc))
9561 9701
9562/** 9702/**
9563 * @} 9703 * @}
@@ -9576,13 +9716,13 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s);
9576 * used on the icon object. 9716 * used on the icon object.
9577 * 9717 *
9578 * Besides that, generally smart objects implement a <b>specific 9718 * Besides that, generally smart objects implement a <b>specific
9579 * API</b>, so that users interect with its own custom features. The 9719 * API</b>, so that users interact with its own custom features. The
9580 * API takes form of explicit exported functions one may call and 9720 * API takes form of explicit exported functions one may call and
9581 * <b>smart callbacks</b>. 9721 * <b>smart callbacks</b>.
9582 * 9722 *
9583 * @section Evas_Smart_Object_Group_Callbacks Smart events and callbacks 9723 * @section Evas_Smart_Object_Group_Callbacks Smart events and callbacks
9584 * 9724 *
9585 * Smart objects can elect events (smart events, from now on) ocurring 9725 * Smart objects can elect events (smart events, from now on) occurring
9586 * inside of them to be reported back to their users via callback 9726 * inside of them to be reported back to their users via callback
9587 * functions (smart callbacks). This way, you can extend Evas' own 9727 * functions (smart callbacks). This way, you can extend Evas' own
9588 * object events. They are defined by an <b>event string</b>, which 9728 * object events. They are defined by an <b>event string</b>, which
@@ -9590,7 +9730,7 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s);
9590 * definition for the callback functions: #Evas_Smart_Cb. 9730 * definition for the callback functions: #Evas_Smart_Cb.
9591 * 9731 *
9592 * When defining an #Evas_Smart_Class, smart object implementors are 9732 * When defining an #Evas_Smart_Class, smart object implementors are
9593 * strongly encorauged to properly set the Evas_Smart_Class::callbacks 9733 * strongly encouraged to properly set the Evas_Smart_Class::callbacks
9594 * callbacks description array, so that the users of the smart object 9734 * callbacks description array, so that the users of the smart object
9595 * can have introspection on its events API <b>at run time</b>. 9735 * can have introspection on its events API <b>at run time</b>.
9596 * 9736 *
@@ -9890,7 +10030,7 @@ EAPI void *evas_object_smart_callback_del_full(Evas_Object *obj, con
9890 * object should include a list of possible events and what type of @p 10030 * object should include a list of possible events and what type of @p
9891 * event_info to expect for each of them. Also, when defining an 10031 * event_info to expect for each of them. Also, when defining an
9892 * #Evas_Smart_Class, smart object implementors are strongly 10032 * #Evas_Smart_Class, smart object implementors are strongly
9893 * encorauged to properly set the Evas_Smart_Class::callbacks 10033 * encouraged to properly set the Evas_Smart_Class::callbacks
9894 * callbacks description array, so that the users of the smart object 10034 * callbacks description array, so that the users of the smart object
9895 * can have introspection on its events API <b>at run time</b>. 10035 * can have introspection on its events API <b>at run time</b>.
9896 * 10036 *
@@ -9949,7 +10089,7 @@ EAPI Eina_Bool evas_object_smart_callbacks_descriptions_set(Evas_Object
9949 * @param instance_count Returns how many instance callbacks 10089 * @param instance_count Returns how many instance callbacks
9950 * descriptions are known. 10090 * descriptions are known.
9951 * 10091 *
9952 * This call searchs for registered callback descriptions for both 10092 * This call searches for registered callback descriptions for both
9953 * instance and class of the given smart object. These arrays will be 10093 * instance and class of the given smart object. These arrays will be
9954 * sorted by Evas_Smart_Cb_Description::name and also @c NULL 10094 * sorted by Evas_Smart_Cb_Description::name and also @c NULL
9955 * terminated, so both @a class_count and @a instance_count can be 10095 * terminated, so both @a class_count and @a instance_count can be
@@ -10052,7 +10192,7 @@ EAPI void evas_object_smart_need_recalculate_set(Evas_Object *obj,
10052EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 10192EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
10053 10193
10054/** 10194/**
10055 * Call the @b calculate() smart function immediataly on a given smart 10195 * Call the @b calculate() smart function immediately on a given smart
10056 * object. 10196 * object.
10057 * 10197 *
10058 * @param obj the smart object's handle 10198 * @param obj the smart object's handle
@@ -10091,7 +10231,7 @@ EAPI void evas_smart_objects_calculate (Evas *e);
10091 * that this function returns the value of. It starts at the value of 0 and 10231 * that this function returns the value of. It starts at the value of 0 and
10092 * will increase (and eventually wrap around to negative values and so on) by 10232 * will increase (and eventually wrap around to negative values and so on) by
10093 * 1 every time objects are calculated. You can use this counter to ensure 10233 * 1 every time objects are calculated. You can use this counter to ensure
10094 * you dont re-do calculations withint the same calculation generation/run 10234 * you don't re-do calculations withint the same calculation generation/run
10095 * if the calculations maybe cause self-feeding effects. 10235 * if the calculations maybe cause self-feeding effects.
10096 * 10236 *
10097 * @ingroup Evas_Smart_Object_Group 10237 * @ingroup Evas_Smart_Object_Group
@@ -10348,7 +10488,7 @@ EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get (void) EINA
10348 Evas_Object_Box_Option *(*prepend) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to prepend child elements in boxes */ 10488 Evas_Object_Box_Option *(*prepend) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to prepend child elements in boxes */
10349 Evas_Object_Box_Option *(*insert_before) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element before another in boxes */ 10489 Evas_Object_Box_Option *(*insert_before) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element before another in boxes */
10350 Evas_Object_Box_Option *(*insert_after) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element after another in boxes */ 10490 Evas_Object_Box_Option *(*insert_after) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element after another in boxes */
10351 Evas_Object_Box_Option *(*insert_at) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, unsigned int pos); /**< Smart function to insert a child element at a given positon on boxes */ 10491 Evas_Object_Box_Option *(*insert_at) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, unsigned int pos); /**< Smart function to insert a child element at a given position on boxes */
10352 Evas_Object *(*remove) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to remove a child element from boxes */ 10492 Evas_Object *(*remove) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to remove a child element from boxes */
10353 Evas_Object *(*remove_at) (Evas_Object *o, Evas_Object_Box_Data *priv, unsigned int pos); /**< Smart function to remove a child element from boxes, by its position */ 10493 Evas_Object *(*remove_at) (Evas_Object *o, Evas_Object_Box_Data *priv, unsigned int pos); /**< Smart function to remove a child element from boxes, by its position */
10354 Eina_Bool (*property_set) (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args); /**< Smart function to set a custom property on a box child */ 10494 Eina_Bool (*property_set) (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args); /**< Smart function to set a custom property on a box child */
@@ -10472,7 +10612,7 @@ EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get (void) EINA
10472 * with the default values. May be used to extend that API. 10612 * with the default values. May be used to extend that API.
10473 * 10613 *
10474 * @param api The box API struct to set back, most probably with 10614 * @param api The box API struct to set back, most probably with
10475 * overriden fields (on class extensions scenarios) 10615 * overridden fields (on class extensions scenarios)
10476 */ 10616 */
10477EAPI void evas_object_box_smart_set (Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1); 10617EAPI void evas_object_box_smart_set (Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1);
10478 10618
@@ -10697,7 +10837,7 @@ EAPI void evas_object_box_layout_homogeneous_horizontal
10697 * of this overall child width in its allocated cell (@c 0.0 to 10837 * of this overall child width in its allocated cell (@c 0.0 to
10698 * extreme left, @c 1.0 to extreme right). A value of @c -1.0 to 10838 * extreme left, @c 1.0 to extreme right). A value of @c -1.0 to
10699 * @c align_x makes the box try to resize this child element to the exact 10839 * @c align_x makes the box try to resize this child element to the exact
10700 * width of its cell (respecting the minimun and maximum size hints on 10840 * width of its cell (respecting the minimum and maximum size hints on
10701 * the child's width and accounting for its horizontal padding 10841 * the child's width and accounting for its horizontal padding
10702 * hints). The child's @c padding_t, @c padding_b and @c align_y 10842 * hints). The child's @c padding_t, @c padding_b and @c align_y
10703 * properties apply for padding/alignment relative to the overall 10843 * properties apply for padding/alignment relative to the overall
@@ -10978,7 +11118,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_insert_at
10978 * On removal, you'll get an unparented object again, just as it was 11118 * On removal, you'll get an unparented object again, just as it was
10979 * before you inserted it in the box. The 11119 * before you inserted it in the box. The
10980 * _Evas_Object_Box_Api::option_free box smart callback will be called 11120 * _Evas_Object_Box_Api::option_free box smart callback will be called
10981 * automatilly for you and, also, the @c "child,removed" smart event 11121 * automatically for you and, also, the @c "child,removed" smart event
10982 * will take place. 11122 * will take place.
10983 * 11123 *
10984 * @note This call will trigger the box's _Evas_Object_Box_Api::remove 11124 * @note This call will trigger the box's _Evas_Object_Box_Api::remove
@@ -10997,7 +11137,7 @@ EAPI Eina_Bool evas_object_box_remove
10997 * 11137 *
10998 * On removal, you'll get an unparented object again, just as it was 11138 * On removal, you'll get an unparented object again, just as it was
10999 * before you inserted it in the box. The @c option_free() box smart 11139 * before you inserted it in the box. The @c option_free() box smart
11000 * callback will be called automatilly for you and, also, the 11140 * callback will be called automatically for you and, also, the
11001 * @c "child,removed" smart event will take place. 11141 * @c "child,removed" smart event will take place.
11002 * 11142 *
11003 * @note This function will fail if the given position is invalid, 11143 * @note This function will fail if the given position is invalid,
@@ -11589,8 +11729,8 @@ EAPI Eina_List *evas_object_grid_children_get (const
11589 { 11729 {
11590 int saved_memory; /**< current amount of saved memory, in bytes */ 11730 int saved_memory; /**< current amount of saved memory, in bytes */
11591 int wasted_memory; /**< current amount of wasted memory, in bytes */ 11731 int wasted_memory; /**< current amount of wasted memory, in bytes */
11592 int saved_memory_peak; /**< peak ammount of saved memory, in bytes */ 11732 int saved_memory_peak; /**< peak amount of saved memory, in bytes */
11593 int wasted_memory_peak; /**< peak ammount of wasted memory, in bytes */ 11733 int wasted_memory_peak; /**< peak amount of wasted memory, in bytes */
11594 double saved_time_image_header_load; /**< time, in seconds, saved in header loads by sharing cached loads instead */ 11734 double saved_time_image_header_load; /**< time, in seconds, saved in header loads by sharing cached loads instead */
11595 double saved_time_image_data_load; /**< time, in seconds, saved in data loads by sharing cached loads instead */ 11735 double saved_time_image_data_load; /**< time, in seconds, saved in data loads by sharing cached loads instead */
11596 }; 11736 };
@@ -11803,7 +11943,7 @@ EAPI void evas_color_rgb_to_hsv (int r, int g, int b, f
11803 * @param g The Green component of the color. 11943 * @param g The Green component of the color.
11804 * @param b The Blue component of the color. 11944 * @param b The Blue component of the color.
11805 * 11945 *
11806 * This function pre-multiplies a given rbg triplet by an alpha 11946 * This function pre-multiplies a given rgb triplet by an alpha
11807 * factor. Alpha factor is used to define transparency. 11947 * factor. Alpha factor is used to define transparency.
11808 * 11948 *
11809 * @ingroup Evas_Utils 11949 * @ingroup Evas_Utils
@@ -12233,7 +12373,7 @@ EAPI Evas_Modifier_Mask evas_key_modifier_mask_get (const Evas *e, const c
12233 * modifiers that must and mustn't, respectively, be pressed along 12373 * modifiers that must and mustn't, respectively, be pressed along
12234 * with @p keyname key in order to trigger this new key 12374 * with @p keyname key in order to trigger this new key
12235 * grab. Modifiers can be things such as Shift and Ctrl as well as 12375 * grab. Modifiers can be things such as Shift and Ctrl as well as
12236 * user defigned types via evas_key_modifier_add(). Retrieve them with 12376 * user defined types via evas_key_modifier_add(). Retrieve them with
12237 * evas_key_modifier_mask_get() or use @c 0 for empty masks. 12377 * evas_key_modifier_mask_get() or use @c 0 for empty masks.
12238 * 12378 *
12239 * @p exclusive will make the given object the only one permitted to 12379 * @p exclusive will make the given object the only one permitted to
diff --git a/libraries/evas/src/lib/Evas_GL.h b/libraries/evas/src/lib/Evas_GL.h
index fdfbaad..76937eb 100644
--- a/libraries/evas/src/lib/Evas_GL.h
+++ b/libraries/evas/src/lib/Evas_GL.h
@@ -404,7 +404,7 @@ EAPI void evas_gl_free (Evas_GL *evas_gl) EINA
404 * As long as the Evas creates a config object for the user, it takes care 404 * As long as the Evas creates a config object for the user, it takes care
405 * of the backward compatibility issue. 405 * of the backward compatibility issue.
406 */ 406 */
407EAPI Evas_GL_Config *evas_gl_config_new (); 407EAPI Evas_GL_Config *evas_gl_config_new (void);
408 408
409/** 409/**
410 * Frees a config object created from evas_gl_config_new. 410 * Frees a config object created from evas_gl_config_new.
diff --git a/libraries/evas/src/lib/Makefile.am b/libraries/evas/src/lib/Makefile.am
index 2a1a92d..1240b2b 100644
--- a/libraries/evas/src/lib/Makefile.am
+++ b/libraries/evas/src/lib/Makefile.am
@@ -76,13 +76,11 @@ SUBDIRS += ../modules/engines/software_8_x11/
76EVAS_STATIC_MODULE += ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la 76EVAS_STATIC_MODULE += ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la
77EVAS_STATIC_LIBADD += @evas_engine_software_8_x11_libs@ 77EVAS_STATIC_LIBADD += @evas_engine_software_8_x11_libs@
78endif 78endif
79if EVAS_STATIC_BUILD_SOFTWARE_SDL 79if EVAS_STATIC_BUILD_SOFTWARE_16_SDL
80SUBDIRS += \ 80SUBDIRS += \
81 ../modules/engines/software_16_sdl/ \ 81 ../modules/engines/software_16_sdl/
82 ../modules/engines/software_sdl/
83EVAS_STATIC_MODULE += \ 82EVAS_STATIC_MODULE += \
84 ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la \ 83 ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la
85 ../modules/engines/software_sdl/libevas_engine_software_sdl.la
86EVAS_STATIC_LIBADD += @SDL_LIBS@ 84EVAS_STATIC_LIBADD += @SDL_LIBS@
87endif 85endif
88if EVAS_STATIC_BUILD_SOFTWARE_DDRAW 86if EVAS_STATIC_BUILD_SOFTWARE_DDRAW
@@ -201,8 +199,6 @@ AM_CPPFLAGS = \
201@pthread_cflags@ \ 199@pthread_cflags@ \
202@PIXMAN_CFLAGS@ 200@PIXMAN_CFLAGS@
203 201
204AM_CFLAGS = @WIN32_CFLAGS@
205
206lib_LTLIBRARIES = libevas.la 202lib_LTLIBRARIES = libevas.la
207 203
208includes_HEADERS = Evas.h Evas_GL.h 204includes_HEADERS = Evas.h Evas_GL.h
diff --git a/libraries/evas/src/lib/Makefile.in b/libraries/evas/src/lib/Makefile.in
index ffe71d1..cb04330 100644
--- a/libraries/evas/src/lib/Makefile.in
+++ b/libraries/evas/src/lib/Makefile.in
@@ -83,15 +83,13 @@ host_triplet = @host@
83@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_36 = ../modules/engines/software_8_x11/ 83@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_36 = ../modules/engines/software_8_x11/
84@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_37 = ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la 84@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_37 = ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la
85@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_38 = @evas_engine_software_8_x11_libs@ 85@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_38 = @evas_engine_software_8_x11_libs@
86@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am__append_39 = \ 86@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am__append_39 = \
87@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_16_sdl/ \ 87@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@ ../modules/engines/software_16_sdl/
88@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_sdl/
89 88
90@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am__append_40 = \ 89@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am__append_40 = \
91@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la \ 90@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@ ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la
92@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_sdl/libevas_engine_software_sdl.la
93 91
94@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am__append_41 = @SDL_LIBS@ 92@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am__append_41 = @SDL_LIBS@
95@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_42 = ../modules/engines/software_ddraw/ 93@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_42 = ../modules/engines/software_ddraw/
96@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_43 = ../modules/engines/software_ddraw/libevas_engine_software_ddraw.la 94@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_43 = ../modules/engines/software_ddraw/libevas_engine_software_ddraw.la
97@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_44 = @evas_engine_software_ddraw_libs@ 95@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_44 = @evas_engine_software_ddraw_libs@
@@ -346,6 +344,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
346EVIL_CFLAGS = @EVIL_CFLAGS@ 344EVIL_CFLAGS = @EVIL_CFLAGS@
347EVIL_LIBS = @EVIL_LIBS@ 345EVIL_LIBS = @EVIL_LIBS@
348EXEEXT = @EXEEXT@ 346EXEEXT = @EXEEXT@
347EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
348EXOTIC_LIBS = @EXOTIC_LIBS@
349FGREP = @FGREP@ 349FGREP = @FGREP@
350FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 350FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
351FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 351FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -396,6 +396,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
396PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 396PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
397PIXMAN_LIBS = @PIXMAN_LIBS@ 397PIXMAN_LIBS = @PIXMAN_LIBS@
398PKG_CONFIG = @PKG_CONFIG@ 398PKG_CONFIG = @PKG_CONFIG@
399PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
400PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
399PNG_CFLAGS = @PNG_CFLAGS@ 401PNG_CFLAGS = @PNG_CFLAGS@
400PNG_LIBS = @PNG_LIBS@ 402PNG_LIBS = @PNG_LIBS@
401RANLIB = @RANLIB@ 403RANLIB = @RANLIB@
@@ -414,8 +416,6 @@ VERSION = @VERSION@
414VMAJ = @VMAJ@ 416VMAJ = @VMAJ@
415WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 417WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
416WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 418WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
417WIN32_CFLAGS = @WIN32_CFLAGS@
418WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
419XCB_CFLAGS = @XCB_CFLAGS@ 419XCB_CFLAGS = @XCB_CFLAGS@
420XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 420XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
421XCB_GL_LIBS = @XCB_GL_LIBS@ 421XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -489,8 +489,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
489evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 489evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
490evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 490evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
491evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 491evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
492evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
493evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
494evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 492evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
495evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 493evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
496evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 494evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -625,7 +623,6 @@ AM_CPPFLAGS = \
625@pthread_cflags@ \ 623@pthread_cflags@ \
626@PIXMAN_CFLAGS@ 624@PIXMAN_CFLAGS@
627 625
628AM_CFLAGS = @WIN32_CFLAGS@
629lib_LTLIBRARIES = libevas.la 626lib_LTLIBRARIES = libevas.la
630includes_HEADERS = Evas.h Evas_GL.h 627includes_HEADERS = Evas.h Evas_GL.h
631includesdir = $(includedir)/evas-@VMAJ@ 628includesdir = $(includedir)/evas-@VMAJ@
diff --git a/libraries/evas/src/lib/cache/Makefile.am b/libraries/evas/src/lib/cache/Makefile.am
index d417262..78d58d2 100644
--- a/libraries/evas/src/lib/cache/Makefile.am
+++ b/libraries/evas/src/lib/cache/Makefile.am
@@ -7,7 +7,6 @@ AM_CPPFLAGS = -I. \
7 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 7 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
8 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 8 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
9 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 9 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
10 @WIN32_CPPFLAGS@ \
11 @EVIL_CFLAGS@ \ 10 @EVIL_CFLAGS@ \
12 @FREETYPE_CFLAGS@ \ 11 @FREETYPE_CFLAGS@ \
13 @PIXMAN_CFLAGS@ \ 12 @PIXMAN_CFLAGS@ \
diff --git a/libraries/evas/src/lib/cache/Makefile.in b/libraries/evas/src/lib/cache/Makefile.in
index 2b50c81..fce77cc 100644
--- a/libraries/evas/src/lib/cache/Makefile.in
+++ b/libraries/evas/src/lib/cache/Makefile.in
@@ -147,6 +147,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
147EVIL_CFLAGS = @EVIL_CFLAGS@ 147EVIL_CFLAGS = @EVIL_CFLAGS@
148EVIL_LIBS = @EVIL_LIBS@ 148EVIL_LIBS = @EVIL_LIBS@
149EXEEXT = @EXEEXT@ 149EXEEXT = @EXEEXT@
150EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
151EXOTIC_LIBS = @EXOTIC_LIBS@
150FGREP = @FGREP@ 152FGREP = @FGREP@
151FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 153FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
152FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 154FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -197,6 +199,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
197PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 199PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
198PIXMAN_LIBS = @PIXMAN_LIBS@ 200PIXMAN_LIBS = @PIXMAN_LIBS@
199PKG_CONFIG = @PKG_CONFIG@ 201PKG_CONFIG = @PKG_CONFIG@
202PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
203PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
200PNG_CFLAGS = @PNG_CFLAGS@ 204PNG_CFLAGS = @PNG_CFLAGS@
201PNG_LIBS = @PNG_LIBS@ 205PNG_LIBS = @PNG_LIBS@
202RANLIB = @RANLIB@ 206RANLIB = @RANLIB@
@@ -215,8 +219,6 @@ VERSION = @VERSION@
215VMAJ = @VMAJ@ 219VMAJ = @VMAJ@
216WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 220WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
217WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 221WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
218WIN32_CFLAGS = @WIN32_CFLAGS@
219WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
220XCB_CFLAGS = @XCB_CFLAGS@ 222XCB_CFLAGS = @XCB_CFLAGS@
221XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 223XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
222XCB_GL_LIBS = @XCB_GL_LIBS@ 224XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -290,8 +292,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
290evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 292evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
291evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 293evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
292evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 294evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
293evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
294evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
295evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 295evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
296evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 296evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
297evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 297evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -381,7 +381,6 @@ AM_CPPFLAGS = -I. \
381 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 381 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
382 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 382 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
383 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 383 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
384 @WIN32_CPPFLAGS@ \
385 @EVIL_CFLAGS@ \ 384 @EVIL_CFLAGS@ \
386 @FREETYPE_CFLAGS@ \ 385 @FREETYPE_CFLAGS@ \
387 @PIXMAN_CFLAGS@ \ 386 @PIXMAN_CFLAGS@ \
diff --git a/libraries/evas/src/lib/cache/evas_cache_image.c b/libraries/evas/src/lib/cache/evas_cache_image.c
index 73e4f8a..d5b72c5 100644
--- a/libraries/evas/src/lib/cache/evas_cache_image.c
+++ b/libraries/evas/src/lib/cache/evas_cache_image.c
@@ -42,10 +42,10 @@ static void _evas_cache_image_entry_preload_remove(Image_Entry *ie, const void *
42 42
43#define FREESTRC(Var) \ 43#define FREESTRC(Var) \
44 if (Var) \ 44 if (Var) \
45 { \ 45{ \
46 eina_stringshare_del(Var); \ 46 eina_stringshare_del(Var); \
47 Var = NULL; \ 47 Var = NULL; \
48 } 48}
49 49
50static void _evas_cache_image_dirty_add(Image_Entry *im); 50static void _evas_cache_image_dirty_add(Image_Entry *im);
51static void _evas_cache_image_dirty_del(Image_Entry *im); 51static void _evas_cache_image_dirty_del(Image_Entry *im);
@@ -210,9 +210,9 @@ _evas_cache_image_entry_delete(Evas_Cache_Image *cache, Image_Entry *ie)
210 if (ie->flags.delete_me == 1) return; 210 if (ie->flags.delete_me == 1) return;
211 if (ie->preload) 211 if (ie->preload)
212 { 212 {
213 ie->flags.delete_me = 1; 213 ie->flags.delete_me = 1;
214 _evas_cache_image_entry_preload_remove(ie, NULL); 214 _evas_cache_image_entry_preload_remove(ie, NULL);
215 return; 215 return;
216 } 216 }
217#endif 217#endif
218 218
@@ -247,10 +247,10 @@ _timestamp_compare(Image_Timestamp *tstamp, struct stat *st)
247#ifdef _STAT_VER_LINUX 247#ifdef _STAT_VER_LINUX
248#if (defined __USE_MISC && defined st_mtime) 248#if (defined __USE_MISC && defined st_mtime)
249 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtim.tv_nsec) 249 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtim.tv_nsec)
250 return EINA_FALSE; 250 return EINA_FALSE;
251#else 251#else
252 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtimensec) 252 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtimensec)
253 return EINA_FALSE; 253 return EINA_FALSE;
254#endif 254#endif
255#endif 255#endif
256 return EINA_TRUE; 256 return EINA_TRUE;
@@ -285,8 +285,8 @@ _evas_cache_image_entry_new(Evas_Cache_Image *cache,
285 ie = cache->func.alloc(); 285 ie = cache->func.alloc();
286 if (!ie) 286 if (!ie)
287 { 287 {
288 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED; 288 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
289 return NULL; 289 return NULL;
290 } 290 }
291 ie->cache = cache; 291 ie->cache = cache;
292 if (hkey) ie->cache_key = eina_stringshare_add(hkey); 292 if (hkey) ie->cache_key = eina_stringshare_add(hkey);
@@ -307,7 +307,7 @@ _evas_cache_image_entry_new(Evas_Cache_Image *cache,
307 LKI(ie->lock); 307 LKI(ie->lock);
308 LKI(ie->lock_cancel); 308 LKI(ie->lock_cancel);
309#endif 309#endif
310 310
311 if (lo) ie->load_opts = *lo; 311 if (lo) ie->load_opts = *lo;
312 if (ie->file) 312 if (ie->file)
313 { 313 {
@@ -326,8 +326,8 @@ _evas_cache_image_entry_new(Evas_Cache_Image *cache,
326 326
327static void 327static void
328_evas_cache_image_entry_surface_alloc__locked(Evas_Cache_Image *cache, 328_evas_cache_image_entry_surface_alloc__locked(Evas_Cache_Image *cache,
329 Image_Entry *ie, 329 Image_Entry *ie,
330 unsigned int wmin, 330 unsigned int wmin,
331 unsigned int hmin) 331 unsigned int hmin)
332{ 332{
333 if ((ie->allocated.w == wmin) && (ie->allocated.h == hmin)) return; 333 if ((ie->allocated.w == wmin) && (ie->allocated.h == hmin)) return;
@@ -376,16 +376,16 @@ _evas_cache_image_async_heavy(void *data)
376 if ((!current->flags.loaded) && 376 if ((!current->flags.loaded) &&
377 ((Evas_Image_Load_Func*) current->info.module)->threadable) 377 ((Evas_Image_Load_Func*) current->info.module)->threadable)
378 { 378 {
379 error = cache->func.load(current); 379 error = cache->func.load(current);
380 if (cache->func.debug) cache->func.debug("load", current); 380 if (cache->func.debug) cache->func.debug("load", current);
381 current->load_error = error; 381 current->load_error = error;
382 if (error != EVAS_LOAD_ERROR_NONE) 382 if (error != EVAS_LOAD_ERROR_NONE)
383 { 383 {
384 current->flags.loaded = 0; 384 current->flags.loaded = 0;
385 _evas_cache_image_entry_surface_alloc(cache, current, 385 _evas_cache_image_entry_surface_alloc(cache, current,
386 current->w, current->h); 386 current->w, current->h);
387 } 387 }
388 else 388 else
389 { 389 {
390 current->flags.loaded = 1; 390 current->flags.loaded = 1;
391 } 391 }
@@ -416,11 +416,11 @@ _evas_cache_image_async_end(void *data)
416 ie->flags.preload_done = ie->flags.loaded; 416 ie->flags.preload_done = ie->flags.loaded;
417 while ((tmp = ie->targets)) 417 while ((tmp = ie->targets))
418 { 418 {
419 evas_object_inform_call_image_preloaded((Evas_Object*) tmp->target); 419 evas_object_inform_call_image_preloaded((Evas_Object*) tmp->target);
420 ie->targets = (Evas_Cache_Target *) 420 ie->targets = (Evas_Cache_Target *)
421 eina_inlist_remove(EINA_INLIST_GET(ie->targets), 421 eina_inlist_remove(EINA_INLIST_GET(ie->targets),
422 EINA_INLIST_GET(ie->targets)); 422 EINA_INLIST_GET(ie->targets));
423 free(tmp); 423 free(tmp);
424 } 424 }
425} 425}
426 426
@@ -429,14 +429,14 @@ _evas_cache_image_async_cancel(void *data)
429{ 429{
430 Evas_Cache_Image *cache = NULL; 430 Evas_Cache_Image *cache = NULL;
431 Image_Entry *ie = (Image_Entry *)data; 431 Image_Entry *ie = (Image_Entry *)data;
432 432
433 ie->preload = NULL; 433 ie->preload = NULL;
434 ie->cache->pending = eina_list_remove(ie->cache->pending, ie); 434 ie->cache->pending = eina_list_remove(ie->cache->pending, ie);
435 if ((ie->flags.delete_me) || (ie->flags.dirty)) 435 if ((ie->flags.delete_me) || (ie->flags.dirty))
436 { 436 {
437 ie->flags.delete_me = 0; 437 ie->flags.delete_me = 0;
438 _evas_cache_image_entry_delete(ie->cache, ie); 438 _evas_cache_image_entry_delete(ie->cache, ie);
439 return; 439 return;
440 } 440 }
441 if (ie->flags.loaded) _evas_cache_image_async_end(ie); 441 if (ie->flags.loaded) _evas_cache_image_async_end(ie);
442#ifdef EVAS_FRAME_QUEUING 442#ifdef EVAS_FRAME_QUEUING
@@ -485,41 +485,41 @@ _evas_cache_image_entry_preload_remove(Image_Entry *ie, const void *target)
485{ 485{
486 if (target) 486 if (target)
487 { 487 {
488 Evas_Cache_Target *tg; 488 Evas_Cache_Target *tg;
489 489
490 EINA_INLIST_FOREACH(ie->targets, tg) 490 EINA_INLIST_FOREACH(ie->targets, tg)
491 { 491 {
492 if (tg->target == target) 492 if (tg->target == target)
493 { 493 {
494 // FIXME: No callback when we cancel only for one target ? 494 // FIXME: No callback when we cancel only for one target ?
495 ie->targets = (Evas_Cache_Target *) 495 ie->targets = (Evas_Cache_Target *)
496 eina_inlist_remove(EINA_INLIST_GET(ie->targets), 496 eina_inlist_remove(EINA_INLIST_GET(ie->targets),
497 EINA_INLIST_GET(tg)); 497 EINA_INLIST_GET(tg));
498 free(tg); 498 free(tg);
499 break; 499 break;
500 } 500 }
501 } 501 }
502 } 502 }
503 else 503 else
504 { 504 {
505 Evas_Cache_Target *tg; 505 Evas_Cache_Target *tg;
506 506
507 while (ie->targets) 507 while (ie->targets)
508 { 508 {
509 tg = ie->targets; 509 tg = ie->targets;
510 ie->targets = (Evas_Cache_Target *) 510 ie->targets = (Evas_Cache_Target *)
511 eina_inlist_remove(EINA_INLIST_GET(ie->targets), 511 eina_inlist_remove(EINA_INLIST_GET(ie->targets),
512 EINA_INLIST_GET(tg)); 512 EINA_INLIST_GET(tg));
513 free(tg); 513 free(tg);
514 } 514 }
515 } 515 }
516 516
517 if ((!ie->targets) && (ie->preload) && (!ie->flags.pending)) 517 if ((!ie->targets) && (ie->preload) && (!ie->flags.pending))
518 { 518 {
519 ie->cache->preload = eina_list_remove(ie->cache->preload, ie); 519 ie->cache->preload = eina_list_remove(ie->cache->preload, ie);
520 ie->cache->pending = eina_list_append(ie->cache->pending, ie); 520 ie->cache->pending = eina_list_append(ie->cache->pending, ie);
521 ie->flags.pending = 1; 521 ie->flags.pending = 1;
522 evas_preload_thread_cancel(ie->preload); 522 evas_preload_thread_cancel(ie->preload);
523 } 523 }
524} 524}
525#endif 525#endif
@@ -566,7 +566,7 @@ evas_cache_image_init(const Evas_Cache_Image_Func *cb)
566 { 566 {
567 LKI(engine_lock); 567 LKI(engine_lock);
568 LKI(wakeup); 568 LKI(wakeup);
569 eina_condition_new(&cond_wakeup, &wakeup); 569 eina_condition_new(&cond_wakeup, &wakeup);
570 } 570 }
571#endif 571#endif
572 572
@@ -616,9 +616,9 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
616#ifdef BUILD_ASYNC_PRELOAD 616#ifdef BUILD_ASYNC_PRELOAD
617 EINA_LIST_FREE(cache->preload, im) 617 EINA_LIST_FREE(cache->preload, im)
618 { 618 {
619 /* By doing that we are protecting us from destroying image when the cache is no longer available. */ 619 /* By doing that we are protecting us from destroying image when the cache is no longer available. */
620 im->flags.delete_me = 1; 620 im->flags.delete_me = 1;
621 _evas_cache_image_entry_preload_remove(im, NULL); 621 _evas_cache_image_entry_preload_remove(im, NULL);
622 } 622 }
623 evas_async_events_process(); 623 evas_async_events_process();
624#endif 624#endif
@@ -642,21 +642,21 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
642 eina_hash_foreach(cache->activ, _evas_cache_image_free_cb, &delete_list); 642 eina_hash_foreach(cache->activ, _evas_cache_image_free_cb, &delete_list);
643 while (delete_list) 643 while (delete_list)
644 { 644 {
645 _evas_cache_image_entry_delete(cache, eina_list_data_get(delete_list)); 645 _evas_cache_image_entry_delete(cache, eina_list_data_get(delete_list));
646 delete_list = eina_list_remove_list(delete_list, delete_list); 646 delete_list = eina_list_remove_list(delete_list, delete_list);
647 } 647 }
648 648
649#ifdef BUILD_ASYNC_PRELOAD 649#ifdef BUILD_ASYNC_PRELOAD
650 /* Now wait for all pending image to die */ 650 /* Now wait for all pending image to die */
651 while (cache->pending) 651 while (cache->pending)
652 { 652 {
653 evas_async_events_process(); 653 evas_async_events_process();
654 LKL(wakeup); 654 LKL(wakeup);
655 // the lazy bum who did eain threads and converted this code 655 // the lazy bum who did eain threads and converted this code
656 // didn't bother to worry about Eina_Lock being a different type 656 // didn't bother to worry about Eina_Lock being a different type
657 // to a pthread mutex. 657 // to a pthread mutex.
658 if (cache->pending) eina_condition_wait(&cond_wakeup); 658 if (cache->pending) eina_condition_wait(&cond_wakeup);
659 LKU(wakeup); 659 LKU(wakeup);
660 } 660 }
661#endif 661#endif
662 eina_hash_free(cache->activ); 662 eina_hash_free(cache->activ);
@@ -666,7 +666,7 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
666#ifdef BUILD_ASYNC_PRELOAD 666#ifdef BUILD_ASYNC_PRELOAD
667 if (--_evas_cache_mutex_init == 0) 667 if (--_evas_cache_mutex_init == 0)
668 { 668 {
669 eina_condition_free(&cond_wakeup); 669 eina_condition_free(&cond_wakeup);
670 LKD(engine_lock); 670 LKD(engine_lock);
671 LKD(wakeup); 671 LKD(wakeup);
672 } 672 }
@@ -690,8 +690,8 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
690 690
691 if ((!file) || ((!file) && (!key))) 691 if ((!file) || ((!file) && (!key)))
692 { 692 {
693 *error = EVAS_LOAD_ERROR_GENERIC; 693 *error = EVAS_LOAD_ERROR_GENERIC;
694 return NULL; 694 return NULL;
695 } 695 }
696 696
697 /* generate hkey from file+key+load opts */ 697 /* generate hkey from file+key+load opts */
@@ -712,45 +712,45 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
712 (lo->dpi == 0.0) && 712 (lo->dpi == 0.0) &&
713 ((lo->w == 0) || (lo->h == 0)) && 713 ((lo->w == 0) || (lo->h == 0)) &&
714 ((lo->region.w == 0) || (lo->region.h == 0)) && 714 ((lo->region.w == 0) || (lo->region.h == 0)) &&
715 (lo->orientation == 0) 715 (lo->orientation == 0)
716 )) 716 ))
717 { 717 {
718 lo = &prevent; 718 lo = &prevent;
719 } 719 }
720 else 720 else
721 { 721 {
722 memcpy(hkey + size, "//@/", 4); 722 memcpy(hkey + size, "//@/", 4);
723 size += 4; 723 size += 4;
724 size += eina_convert_xtoa(lo->scale_down_by, hkey + size); 724 size += eina_convert_xtoa(lo->scale_down_by, hkey + size);
725 hkey[size] = '/'; 725 hkey[size] = '/';
726 size += 1; 726 size += 1;
727 size += eina_convert_dtoa(lo->dpi, hkey + size); 727 size += eina_convert_dtoa(lo->dpi, hkey + size);
728 hkey[size] = '/'; 728 hkey[size] = '/';
729 size += 1; 729 size += 1;
730 size += eina_convert_xtoa(lo->w, hkey + size); 730 size += eina_convert_xtoa(lo->w, hkey + size);
731 hkey[size] = 'x'; 731 hkey[size] = 'x';
732 size += 1; 732 size += 1;
733 size += eina_convert_xtoa(lo->h, hkey + size); 733 size += eina_convert_xtoa(lo->h, hkey + size);
734 hkey[size] = '/'; 734 hkey[size] = '/';
735 size += 1; 735 size += 1;
736 size += eina_convert_xtoa(lo->region.x, hkey + size); 736 size += eina_convert_xtoa(lo->region.x, hkey + size);
737 hkey[size] = '+'; 737 hkey[size] = '+';
738 size += 1; 738 size += 1;
739 size += eina_convert_xtoa(lo->region.y, hkey + size); 739 size += eina_convert_xtoa(lo->region.y, hkey + size);
740 hkey[size] = '.'; 740 hkey[size] = '.';
741 size += 1; 741 size += 1;
742 size += eina_convert_xtoa(lo->region.w, hkey + size); 742 size += eina_convert_xtoa(lo->region.w, hkey + size);
743 hkey[size] = 'x'; 743 hkey[size] = 'x';
744 size += 1; 744 size += 1;
745 size += eina_convert_xtoa(lo->region.h, hkey + size); 745 size += eina_convert_xtoa(lo->region.h, hkey + size);
746 746
747 if (lo->orientation) 747 if (lo->orientation)
748 { 748 {
749 hkey[size] = '/'; 749 hkey[size] = '/';
750 size += 1; 750 size += 1;
751 hkey[size] = 'o'; 751 hkey[size] = 'o';
752 size += 1; 752 size += 1;
753 } 753 }
754 } 754 }
755 hkey[size] = '\0'; 755 hkey[size] = '\0';
756 756
@@ -768,10 +768,10 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
768 768
769 stat_done = 1; 769 stat_done = 1;
770 if (stat(file, &st) < 0) 770 if (stat(file, &st) < 0)
771 { 771 {
772 stat_failed = 1; 772 stat_failed = 1;
773 ok = 0; 773 ok = 0;
774 } 774 }
775 else if (!_timestamp_compare(&(im->tstamp), &st)) ok = 0; 775 else if (!_timestamp_compare(&(im->tstamp), &st)) ok = 0;
776 if (ok) goto on_ok; 776 if (ok) goto on_ok;
777 /* image we found doesn't match what's on disk (stat info wise) 777 /* image we found doesn't match what's on disk (stat info wise)
@@ -816,10 +816,12 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
816 } 816 }
817 /* as avtive cache find - if we match in lru and its invalid, dirty */ 817 /* as avtive cache find - if we match in lru and its invalid, dirty */
818 _evas_cache_image_dirty_add(im); 818 _evas_cache_image_dirty_add(im);
819 /* this image never used, so it have to be deleted */
820 _evas_cache_image_entry_delete(cache, im);
819 im = NULL; 821 im = NULL;
820 } 822 }
821 if (stat_failed) goto on_stat_error; 823 if (stat_failed) goto on_stat_error;
822 824
823 if (!stat_done) 825 if (!stat_done)
824 { 826 {
825 if (stat(file, &st) < 0) goto on_stat_error; 827 if (stat(file, &st) < 0) goto on_stat_error;
@@ -830,7 +832,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
830 if (!im) goto on_stat_error; 832 if (!im) goto on_stat_error;
831 if (cache->func.debug) cache->func.debug("request", im); 833 if (cache->func.debug) cache->func.debug("request", im);
832 834
833 on_ok: 835on_ok:
834 *error = EVAS_LOAD_ERROR_NONE; 836 *error = EVAS_LOAD_ERROR_NONE;
835#ifdef EVAS_FRAME_QUEUING 837#ifdef EVAS_FRAME_QUEUING
836 LKL(im->lock_references); 838 LKL(im->lock_references);
@@ -841,24 +843,24 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
841#endif 843#endif
842 return im; 844 return im;
843 845
844 on_stat_error: 846on_stat_error:
845#ifndef _WIN32 847#ifndef _WIN32
846 if ((errno == ENOENT) || (errno == ENOTDIR) || 848 if ((errno == ENOENT) || (errno == ENOTDIR) ||
847 (errno == ENAMETOOLONG) || (errno == ELOOP)) 849 (errno == ENAMETOOLONG) || (errno == ELOOP))
848#else 850#else
849 if (errno == ENOENT) 851 if (errno == ENOENT)
850#endif 852#endif
851 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; 853 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
852#ifndef _WIN32 854#ifndef _WIN32
853 else if ((errno == ENOMEM) || (errno == EOVERFLOW)) 855 else if ((errno == ENOMEM) || (errno == EOVERFLOW))
854#else 856#else
855 else if (errno == ENOMEM) 857 else if (errno == ENOMEM)
856#endif 858#endif
857 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED; 859 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
858 else if (errno == EACCES) 860 else if (errno == EACCES)
859 *error = EVAS_LOAD_ERROR_PERMISSION_DENIED; 861 *error = EVAS_LOAD_ERROR_PERMISSION_DENIED;
860 else 862 else
861 *error = EVAS_LOAD_ERROR_GENERIC; 863 *error = EVAS_LOAD_ERROR_GENERIC;
862 864
863 if (im) _evas_cache_image_entry_delete(cache, im); 865 if (im) _evas_cache_image_entry_delete(cache, im);
864 return NULL; 866 return NULL;
@@ -879,7 +881,7 @@ evas_cache_image_drop(Image_Entry *im)
879#ifdef EVAS_FRAME_QUEUING 881#ifdef EVAS_FRAME_QUEUING
880 LKU(im->lock_references); 882 LKU(im->lock_references);
881#endif 883#endif
882 884
883 cache = im->cache; 885 cache = im->cache;
884 886
885 if (references == 0) 887 if (references == 0)
@@ -893,25 +895,25 @@ evas_cache_image_drop(Image_Entry *im)
893 LKU(im->ref_fq_del); 895 LKU(im->ref_fq_del);
894 return; 896 return;
895 } 897 }
896 LKU(im->ref_fq_add); 898 LKU(im->ref_fq_add);
897 LKU(im->ref_fq_del); 899 LKU(im->ref_fq_del);
898#endif 900#endif
899 901
900#ifdef BUILD_ASYNC_PRELOAD 902#ifdef BUILD_ASYNC_PRELOAD
901 if (im->preload) 903 if (im->preload)
902 { 904 {
903 _evas_cache_image_entry_preload_remove(im, NULL); 905 _evas_cache_image_entry_preload_remove(im, NULL);
904 return; 906 return;
905 } 907 }
906#endif 908#endif
907 909
908 if (im->flags.dirty) 910 if (im->flags.dirty)
909 { 911 {
910 _evas_cache_image_entry_delete(cache, im); 912 _evas_cache_image_entry_delete(cache, im);
911 return; 913 return;
912 } 914 }
913 _evas_cache_image_lru_add(im); 915 _evas_cache_image_lru_add(im);
914 if (cache) evas_cache_image_flush(cache); 916 if (cache) evas_cache_image_flush(cache);
915 } 917 }
916} 918}
917 919
@@ -974,10 +976,10 @@ evas_cache_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigned
974 } 976 }
975 _evas_cache_image_dirty_add(im_dirty); 977 _evas_cache_image_dirty_add(im_dirty);
976 } 978 }
977 979
978 if (cache->func.debug) cache->func.debug("dirty-region", im_dirty); 980 if (cache->func.debug) cache->func.debug("dirty-region", im_dirty);
979 if (cache->func.dirty_region) 981 if (cache->func.dirty_region)
980 cache->func.dirty_region(im_dirty, x, y, w, h); 982 cache->func.dirty_region(im_dirty, x, y, w, h);
981 return im_dirty; 983 return im_dirty;
982 984
983on_error: 985on_error:
@@ -1026,7 +1028,7 @@ evas_cache_image_alone(Image_Entry *im)
1026 evas_cache_image_drop(im); 1028 evas_cache_image_drop(im);
1027 } 1029 }
1028 return im_dirty; 1030 return im_dirty;
1029 1031
1030on_error: 1032on_error:
1031 if (im_dirty) _evas_cache_image_entry_delete(cache, im_dirty); 1033 if (im_dirty) _evas_cache_image_entry_delete(cache, im_dirty);
1032 evas_cache_image_drop(im); 1034 evas_cache_image_drop(im);
@@ -1039,12 +1041,12 @@ evas_cache_image_copied_data(Evas_Cache_Image *cache,
1039 DATA32 *image_data, int alpha, int cspace) 1041 DATA32 *image_data, int alpha, int cspace)
1040{ 1042{
1041 Image_Entry *im; 1043 Image_Entry *im;
1042 1044
1043 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) || 1045 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) ||
1044 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) || 1046 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) ||
1045 (cspace == EVAS_COLORSPACE_YCBCR422601_PL)) 1047 (cspace == EVAS_COLORSPACE_YCBCR422601_PL))
1046 w &= ~0x1; 1048 w &= ~0x1;
1047 1049
1048 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL); 1050 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL);
1049 if (!im) return NULL; 1051 if (!im) return NULL;
1050 im->space = cspace; 1052 im->space = cspace;
@@ -1074,8 +1076,8 @@ evas_cache_image_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h, D
1074 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) || 1076 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) ||
1075 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) || 1077 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) ||
1076 (cspace == EVAS_COLORSPACE_YCBCR422601_PL)) 1078 (cspace == EVAS_COLORSPACE_YCBCR422601_PL))
1077 w &= ~0x1; 1079 w &= ~0x1;
1078 1080
1079 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL); 1081 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL);
1080 if (!im) return NULL; 1082 if (!im) return NULL;
1081 im->w = w; 1083 im->w = w;
@@ -1101,7 +1103,7 @@ EAPI void
1101evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h) 1103evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h)
1102{ 1104{
1103 Evas_Cache_Image *cache = im->cache; 1105 Evas_Cache_Image *cache = im->cache;
1104 1106
1105 if ((im->space == EVAS_COLORSPACE_YCBCR422P601_PL) || 1107 if ((im->space == EVAS_COLORSPACE_YCBCR422P601_PL) ||
1106 (im->space == EVAS_COLORSPACE_YCBCR422P709_PL) || 1108 (im->space == EVAS_COLORSPACE_YCBCR422P709_PL) ||
1107 (im->space == EVAS_COLORSPACE_YCBCR422601_PL)) 1109 (im->space == EVAS_COLORSPACE_YCBCR422601_PL))
@@ -1145,7 +1147,7 @@ evas_cache_image_size_set(Image_Entry *im, unsigned int w, unsigned int h)
1145 if (cache->func.debug) cache->func.debug("size_set", im2); 1147 if (cache->func.debug) cache->func.debug("size_set", im2);
1146 return im2; 1148 return im2;
1147 1149
1148 on_error: 1150on_error:
1149 if (im2) _evas_cache_image_entry_delete(cache, im2); 1151 if (im2) _evas_cache_image_entry_delete(cache, im2);
1150 evas_cache_image_drop(im); 1152 evas_cache_image_drop(im);
1151 return NULL; 1153 return NULL;
@@ -1163,26 +1165,26 @@ evas_cache_image_load_data(Image_Entry *im)
1163#ifdef BUILD_ASYNC_PRELOAD 1165#ifdef BUILD_ASYNC_PRELOAD
1164 if (im->preload) 1166 if (im->preload)
1165 { 1167 {
1166 preload = EINA_TRUE; 1168 preload = EINA_TRUE;
1167 if (!im->flags.pending) 1169 if (!im->flags.pending)
1168 { 1170 {
1169 im->cache->preload = eina_list_remove(im->cache->preload, im); 1171 im->cache->preload = eina_list_remove(im->cache->preload, im);
1170 im->cache->pending = eina_list_append(im->cache->pending, im); 1172 im->cache->pending = eina_list_append(im->cache->pending, im);
1171 im->flags.pending = 1; 1173 im->flags.pending = 1;
1172 evas_preload_thread_cancel(im->preload); 1174 evas_preload_thread_cancel(im->preload);
1173 } 1175 }
1174 evas_async_events_process(); 1176 evas_async_events_process();
1175 LKL(wakeup); 1177 LKL(wakeup);
1176 while (im->preload) 1178 while (im->preload)
1177 { 1179 {
1178 eina_condition_wait(&cond_wakeup); 1180 eina_condition_wait(&cond_wakeup);
1179 LKU(wakeup); 1181 LKU(wakeup);
1180 evas_async_events_process(); 1182 evas_async_events_process();
1181 LKL(wakeup); 1183 LKL(wakeup);
1182 } 1184 }
1183 LKU(wakeup); 1185 LKU(wakeup);
1184 } 1186 }
1185 1187
1186 if ((im->flags.loaded) && (!im->flags.animated)) return error; 1188 if ((im->flags.loaded) && (!im->flags.animated)) return error;
1187 LKL(im->lock); 1189 LKL(im->lock);
1188#endif 1190#endif
@@ -1226,7 +1228,7 @@ evas_cache_image_unload_data(Image_Entry *im)
1226#ifdef BUILD_ASYNC_PRELOAD 1228#ifdef BUILD_ASYNC_PRELOAD
1227 LKU(im->lock); 1229 LKU(im->lock);
1228#endif 1230#endif
1229 return; 1231 return;
1230 } 1232 }
1231 im->cache->func.destructor(im); 1233 im->cache->func.destructor(im);
1232#ifdef BUILD_ASYNC_PRELOAD 1234#ifdef BUILD_ASYNC_PRELOAD
@@ -1256,8 +1258,8 @@ evas_cache_image_unload_all(Evas_Cache_Image *cache)
1256EAPI Eina_Bool 1258EAPI Eina_Bool
1257evas_cache_image_is_loaded(Image_Entry *im) 1259evas_cache_image_is_loaded(Image_Entry *im)
1258{ 1260{
1259 if (im->flags.loaded) return EINA_TRUE; 1261 if (im->flags.loaded) return EINA_TRUE;
1260 return EINA_FALSE; 1262 return EINA_FALSE;
1261} 1263}
1262 1264
1263EAPI void 1265EAPI void
@@ -1265,15 +1267,15 @@ evas_cache_image_preload_data(Image_Entry *im, const void *target)
1265{ 1267{
1266#ifdef BUILD_ASYNC_PRELOAD 1268#ifdef BUILD_ASYNC_PRELOAD
1267 RGBA_Image *img = (RGBA_Image *)im; 1269 RGBA_Image *img = (RGBA_Image *)im;
1268 1270
1269 if ((im->flags.loaded) && (img->image.data)) 1271 if ((im->flags.loaded) && (img->image.data))
1270 { 1272 {
1271 evas_object_inform_call_image_preloaded((Evas_Object *)target); 1273 evas_object_inform_call_image_preloaded((Evas_Object *)target);
1272 return; 1274 return;
1273 } 1275 }
1274 im->flags.loaded = 0; 1276 im->flags.loaded = 0;
1275 if (!_evas_cache_image_entry_preload_add(im, target)) 1277 if (!_evas_cache_image_entry_preload_add(im, target))
1276 evas_object_inform_call_image_preloaded((Evas_Object *)target); 1278 evas_object_inform_call_image_preloaded((Evas_Object *)target);
1277#else 1279#else
1278 evas_cache_image_load_data(im); 1280 evas_cache_image_load_data(im);
1279 evas_object_inform_call_image_preloaded((Evas_Object *)target); 1281 evas_object_inform_call_image_preloaded((Evas_Object *)target);
@@ -1319,7 +1321,7 @@ static void
1319_dump_cache(Evas_Cache_Image *cache) 1321_dump_cache(Evas_Cache_Image *cache)
1320{ 1322{
1321 Image_Entry *im; 1323 Image_Entry *im;
1322 1324
1323 printf("--CACHE DUMP----------------------------------------------------\n"); 1325 printf("--CACHE DUMP----------------------------------------------------\n");
1324 printf("cache: %ikb / %ikb\n", 1326 printf("cache: %ikb / %ikb\n",
1325 cache->usage / 1024, 1327 cache->usage / 1024,
@@ -1342,22 +1344,22 @@ EAPI int
1342evas_cache_image_flush(Evas_Cache_Image *cache) 1344evas_cache_image_flush(Evas_Cache_Image *cache)
1343{ 1345{
1344#ifdef CACHEDUMP 1346#ifdef CACHEDUMP
1345 _dump_cache(cache); 1347 _dump_cache(cache);
1346#endif 1348#endif
1347 if (cache->limit == (unsigned int)-1) return -1; 1349 if (cache->limit == (unsigned int)-1) return -1;
1348 1350
1349 while ((cache->lru) && (cache->limit < (unsigned int)cache->usage)) 1351 while ((cache->lru) && (cache->limit < (unsigned int)cache->usage))
1350 { 1352 {
1351 Image_Entry *im; 1353 Image_Entry *im;
1352 1354
1353 im = (Image_Entry *)cache->lru->last; 1355 im = (Image_Entry *)cache->lru->last;
1354 _evas_cache_image_entry_delete(cache, im); 1356 _evas_cache_image_entry_delete(cache, im);
1355 } 1357 }
1356 1358
1357 while ((cache->lru_nodata) && (cache->limit < (unsigned int)cache->usage)) 1359 while ((cache->lru_nodata) && (cache->limit < (unsigned int)cache->usage))
1358 { 1360 {
1359 Image_Entry *im; 1361 Image_Entry *im;
1360 1362
1361 im = (Image_Entry *) cache->lru_nodata->last; 1363 im = (Image_Entry *) cache->lru_nodata->last;
1362 _evas_cache_image_lru_nodata_del(im); 1364 _evas_cache_image_lru_nodata_del(im);
1363 cache->func.surface_delete(im); 1365 cache->func.surface_delete(im);
diff --git a/libraries/evas/src/lib/canvas/Makefile.am b/libraries/evas/src/lib/canvas/Makefile.am
index 79544aa..e302668 100644
--- a/libraries/evas/src/lib/canvas/Makefile.am
+++ b/libraries/evas/src/lib/canvas/Makefile.am
@@ -8,7 +8,6 @@ AM_CPPFLAGS = \
8-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 8-DPACKAGE_BIN_DIR=\"$(bindir)\" \
9-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 9-DPACKAGE_LIB_DIR=\"$(libdir)\" \
10-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 10-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
11@WIN32_CPPFLAGS@ \
12@FREETYPE_CFLAGS@ \ 11@FREETYPE_CFLAGS@ \
13@EET_CFLAGS@ \ 12@EET_CFLAGS@ \
14@FONTCONFIG_CFLAGS@ \ 13@FONTCONFIG_CFLAGS@ \
diff --git a/libraries/evas/src/lib/canvas/Makefile.in b/libraries/evas/src/lib/canvas/Makefile.in
index 75da67a..c7e48bc 100644
--- a/libraries/evas/src/lib/canvas/Makefile.in
+++ b/libraries/evas/src/lib/canvas/Makefile.in
@@ -161,6 +161,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
161EVIL_CFLAGS = @EVIL_CFLAGS@ 161EVIL_CFLAGS = @EVIL_CFLAGS@
162EVIL_LIBS = @EVIL_LIBS@ 162EVIL_LIBS = @EVIL_LIBS@
163EXEEXT = @EXEEXT@ 163EXEEXT = @EXEEXT@
164EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
165EXOTIC_LIBS = @EXOTIC_LIBS@
164FGREP = @FGREP@ 166FGREP = @FGREP@
165FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 167FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
166FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 168FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -211,6 +213,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
211PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 213PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
212PIXMAN_LIBS = @PIXMAN_LIBS@ 214PIXMAN_LIBS = @PIXMAN_LIBS@
213PKG_CONFIG = @PKG_CONFIG@ 215PKG_CONFIG = @PKG_CONFIG@
216PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214PNG_CFLAGS = @PNG_CFLAGS@ 218PNG_CFLAGS = @PNG_CFLAGS@
215PNG_LIBS = @PNG_LIBS@ 219PNG_LIBS = @PNG_LIBS@
216RANLIB = @RANLIB@ 220RANLIB = @RANLIB@
@@ -229,8 +233,6 @@ VERSION = @VERSION@
229VMAJ = @VMAJ@ 233VMAJ = @VMAJ@
230WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 234WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
231WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 235WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
232WIN32_CFLAGS = @WIN32_CFLAGS@
233WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
234XCB_CFLAGS = @XCB_CFLAGS@ 236XCB_CFLAGS = @XCB_CFLAGS@
235XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 237XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
236XCB_GL_LIBS = @XCB_GL_LIBS@ 238XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -304,8 +306,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
304evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 306evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
305evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 307evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
306evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 308evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
307evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
308evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -393,10 +393,9 @@ AM_CPPFLAGS = -I. -I$(top_srcdir)/src/lib \
393 -I$(top_srcdir)/src/lib/include -I$(top_srcdir)/src/lib/cserve \ 393 -I$(top_srcdir)/src/lib/include -I$(top_srcdir)/src/lib/cserve \
394 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 394 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
395 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 395 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
396 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" @WIN32_CPPFLAGS@ \ 396 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" @FREETYPE_CFLAGS@ \
397 @FREETYPE_CFLAGS@ @EET_CFLAGS@ @FONTCONFIG_CFLAGS@ \ 397 @EET_CFLAGS@ @FONTCONFIG_CFLAGS@ @EVAS_CFLAGS@ @EINA_CFLAGS@ \
398 @EVAS_CFLAGS@ @EINA_CFLAGS@ @EVIL_CFLAGS@ @PIXMAN_CFLAGS@ \ 398 @EVIL_CFLAGS@ @PIXMAN_CFLAGS@ $(am__append_1)
399 $(am__append_1)
400noinst_LTLIBRARIES = libevas_canvas.la 399noinst_LTLIBRARIES = libevas_canvas.la
401libevas_canvas_la_SOURCES = \ 400libevas_canvas_la_SOURCES = \
402evas_callbacks.c \ 401evas_callbacks.c \
diff --git a/libraries/evas/src/lib/canvas/evas_callbacks.c b/libraries/evas/src/lib/canvas/evas_callbacks.c
index 93f34f2..47cfb0c 100644
--- a/libraries/evas/src/lib/canvas/evas_callbacks.c
+++ b/libraries/evas/src/lib/canvas/evas_callbacks.c
@@ -172,6 +172,15 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
172 if ((obj->delete_me) || (!obj->layer)) return; 172 if ((obj->delete_me) || (!obj->layer)) return;
173 if ((obj->last_event == event_id) && 173 if ((obj->last_event == event_id) &&
174 (obj->last_event_type == type)) return; 174 (obj->last_event_type == type)) return;
175 if (obj->last_event > event_id)
176 {
177 if ((obj->last_event_type == EVAS_CALLBACK_MOUSE_OUT) &&
178 ((type >= EVAS_CALLBACK_MOUSE_DOWN) &&
179 (type <= EVAS_CALLBACK_MULTI_MOVE)))
180 {
181 return;
182 }
183 }
175 obj->last_event = event_id; 184 obj->last_event = event_id;
176 obj->last_event_type = type; 185 obj->last_event_type = type;
177 if (!(e = obj->layer->evas)) return; 186 if (!(e = obj->layer->evas)) return;
diff --git a/libraries/evas/src/lib/canvas/evas_events.c b/libraries/evas/src/lib/canvas/evas_events.c
index 9b7077e..1ee8388 100644
--- a/libraries/evas/src/lib/canvas/evas_events.c
+++ b/libraries/evas/src/lib/canvas/evas_events.c
@@ -486,8 +486,9 @@ evas_event_feed_mouse_up(Evas *e, int b, Evas_Button_Flags flags, unsigned int t
486 } 486 }
487 if (!obj->delete_me) 487 if (!obj->delete_me)
488 { 488 {
489 if (e->events_frozen <= 0) 489 if ((e->events_frozen <= 0) &&
490 evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_UP, &ev, event_id); 490 (!evas_event_freezes_through(obj)))
491 evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_UP, &ev, event_id);
491 } 492 }
492 if (e->delete_me) break; 493 if (e->delete_me) break;
493 if (obj->pointer_mode == EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN) 494 if (obj->pointer_mode == EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN)
@@ -1668,18 +1669,6 @@ evas_object_freeze_events_set(Evas_Object *obj, Eina_Bool freeze)
1668 if (obj->freeze_events == freeze) return; 1669 if (obj->freeze_events == freeze) return;
1669 obj->freeze_events = freeze; 1670 obj->freeze_events = freeze;
1670 evas_object_smart_member_cache_invalidate(obj, EINA_FALSE, EINA_TRUE); 1671 evas_object_smart_member_cache_invalidate(obj, EINA_FALSE, EINA_TRUE);
1671 if (evas_object_is_in_output_rect(obj,
1672 obj->layer->evas->pointer.x,
1673 obj->layer->evas->pointer.y, 1, 1) &&
1674 ((!obj->precise_is_inside) ||
1675 (evas_object_is_inside(obj,
1676 obj->layer->evas->pointer.x,
1677 obj->layer->evas->pointer.y))))
1678 evas_event_feed_mouse_move(obj->layer->evas,
1679 obj->layer->evas->pointer.x,
1680 obj->layer->evas->pointer.y,
1681 obj->layer->evas->last_timestamp,
1682 NULL);
1683} 1672}
1684 1673
1685EAPI Eina_Bool 1674EAPI Eina_Bool
diff --git a/libraries/evas/src/lib/canvas/evas_map.c b/libraries/evas/src/lib/canvas/evas_map.c
index 2359d5a..5dcb760 100644
--- a/libraries/evas/src/lib/canvas/evas_map.c
+++ b/libraries/evas/src/lib/canvas/evas_map.c
@@ -35,7 +35,7 @@ _evas_map_calc_geom_change(Evas_Object *obj)
35static void 35static void
36_evas_map_calc_map_geometry(Evas_Object *obj) 36_evas_map_calc_map_geometry(Evas_Object *obj)
37{ 37{
38 Evas_Coord x1, x2, y1, y2; 38 Evas_Coord x1, x2, yy1, yy2;
39 const Evas_Map_Point *p, *p_end; 39 const Evas_Map_Point *p, *p_end;
40 Eina_Bool ch = EINA_FALSE; 40 Eina_Bool ch = EINA_FALSE;
41 41
@@ -82,7 +82,7 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
82 p = obj->cur.map->points; 82 p = obj->cur.map->points;
83 p_end = p + obj->cur.map->count; 83 p_end = p + obj->cur.map->count;
84 x1 = x2 = lround(p->x); 84 x1 = x2 = lround(p->x);
85 y1 = y2 = lround(p->y); 85 yy1 = yy2 = lround(p->y);
86 p++; 86 p++;
87 for (; p < p_end; p++) 87 for (; p < p_end; p++)
88 { 88 {
@@ -92,21 +92,21 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
92 y = lround(p->y); 92 y = lround(p->y);
93 if (x < x1) x1 = x; 93 if (x < x1) x1 = x;
94 if (x > x2) x2 = x; 94 if (x > x2) x2 = x;
95 if (y < y1) y1 = y; 95 if (y < yy1) yy1 = y;
96 if (y > y2) y2 = y; 96 if (y > yy2) yy2 = y;
97 } 97 }
98// this causes clip-out bugs now mapped objs canbe opaque!!! 98// this causes clip-out bugs now mapped objs canbe opaque!!!
99// // add 1 pixel of fuzz around the map region to ensure updates are correct 99// // add 1 pixel of fuzz around the map region to ensure updates are correct
100// x1 -= 1; y1 -= 1; 100// x1 -= 1; yy1 -= 1;
101// x2 += 1; y2 += 1; 101// x2 += 1; yy2 += 1;
102 if (obj->cur.map->normal_geometry.x != x1) ch = 1; 102 if (obj->cur.map->normal_geometry.x != x1) ch = 1;
103 if (obj->cur.map->normal_geometry.y != y1) ch = 1; 103 if (obj->cur.map->normal_geometry.y != yy1) ch = 1;
104 if (obj->cur.map->normal_geometry.w != (x2 - x1)) ch = 1; 104 if (obj->cur.map->normal_geometry.w != (x2 - x1)) ch = 1;
105 if (obj->cur.map->normal_geometry.h != (y2 - y1)) ch = 1; 105 if (obj->cur.map->normal_geometry.h != (yy2 - yy1)) ch = 1;
106 obj->cur.map->normal_geometry.x = x1; 106 obj->cur.map->normal_geometry.x = x1;
107 obj->cur.map->normal_geometry.y = y1; 107 obj->cur.map->normal_geometry.y = yy1;
108 obj->cur.map->normal_geometry.w = (x2 - x1); 108 obj->cur.map->normal_geometry.w = (x2 - x1);
109 obj->cur.map->normal_geometry.h = (y2 - y1); 109 obj->cur.map->normal_geometry.h = (yy2 - yy1);
110 if (ch) _evas_map_calc_geom_change(obj); 110 if (ch) _evas_map_calc_geom_change(obj);
111} 111}
112 112
@@ -374,9 +374,11 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
374 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); 374 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
375 return; 375 return;
376 MAGIC_CHECK_END(); 376 MAGIC_CHECK_END();
377 Eina_Bool pchange = EINA_FALSE;
377 378
378 enabled = !!enabled; 379 enabled = !!enabled;
379 if (obj->cur.usemap == enabled) return; 380 if (obj->cur.usemap == enabled) return;
381 pchange = obj->changed;
380 obj->cur.usemap = enabled; 382 obj->cur.usemap = enabled;
381 if (enabled) 383 if (enabled)
382 { 384 {
@@ -405,6 +407,8 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
405 /* This is a bit heavy handed, but it fixes the case of same geometry, but 407 /* This is a bit heavy handed, but it fixes the case of same geometry, but
406 * changed colour or UV settings. */ 408 * changed colour or UV settings. */
407 evas_object_change(obj); 409 evas_object_change(obj);
410 if (!obj->changed_pchange) obj->changed_pchange = pchange;
411 obj->changed_map = EINA_TRUE;
408} 412}
409 413
410EAPI Eina_Bool 414EAPI Eina_Bool
@@ -896,7 +900,7 @@ evas_map_util_3d_lighting(Evas_Map *m,
896 for (i = 0; i < m->count; i++) 900 for (i = 0; i < m->count; i++)
897 { 901 {
898 double x, y, z; 902 double x, y, z;
899 double nx, ny, nz, x1, y1, z1, x2, y2, z2, ln, br; 903 double nx, ny, nz, x1, yy1, z1, x2, yy2, z2, ln, br;
900 int h, j, mr, mg, mb; 904 int h, j, mr, mg, mb;
901 905
902 x = m->points[i].x; 906 x = m->points[i].x;
@@ -907,15 +911,15 @@ evas_map_util_3d_lighting(Evas_Map *m,
907 j = (i + 1) % 4 + (i & ~0x3); // next point 911 j = (i + 1) % 4 + (i & ~0x3); // next point
908 912
909 x1 = m->points[h].x - x; 913 x1 = m->points[h].x - x;
910 y1 = m->points[h].y - y; 914 yy1 = m->points[h].y - y;
911 z1 = m->points[h].z - z; 915 z1 = m->points[h].z - z;
912 916
913 x2 = m->points[j].x - x; 917 x2 = m->points[j].x - x;
914 y2 = m->points[j].y - y; 918 yy2 = m->points[j].y - y;
915 z2 = m->points[j].z - z; 919 z2 = m->points[j].z - z;
916 nx = (y1 * z2) - (z1 * y2); 920 nx = (yy1 * z2) - (z1 * yy2);
917 ny = (z1 * x2) - (x1 * z2); 921 ny = (z1 * x2) - (x1 * z2);
918 nz = (x1 * y2) - (y1 * x2); 922 nz = (x1 * yy2) - (yy1 * x2);
919 923
920 ln = (nx * nx) + (ny * ny) + (nz * nz); 924 ln = (nx * nx) + (ny * ny) + (nz * nz);
921 ln = sqrt(ln); 925 ln = sqrt(ln);
diff --git a/libraries/evas/src/lib/canvas/evas_object_image.c b/libraries/evas/src/lib/canvas/evas_object_image.c
index d9f6378..4ebea08 100644
--- a/libraries/evas/src/lib/canvas/evas_object_image.c
+++ b/libraries/evas/src/lib/canvas/evas_object_image.c
@@ -2908,11 +2908,31 @@ evas_object_image_render(Evas_Object *obj, void *output, void *context, void *su
2908 { 2908 {
2909 Evas_Coord idw, idh, idx, idy; 2909 Evas_Coord idw, idh, idx, idy;
2910 int ix, iy, iw, ih; 2910 int ix, iy, iw, ih;
2911 int img_set = 0;
2911 2912
2912 if (o->dirty_pixels) 2913 if (o->dirty_pixels)
2913 { 2914 {
2914 if (o->func.get_pixels) 2915 if (o->func.get_pixels)
2915 { 2916 {
2917 // Set img object for direct rendering optimization
2918 // Check for image w/h against image geometry w/h
2919 // Check for image color r,g,b,a = {255,255,255,255}
2920 // Check and make sure that there are no maps.
2921 if ( (obj->cur.geometry.w == o->cur.image.w) &&
2922 (obj->cur.geometry.h == o->cur.image.h) &&
2923 (obj->cur.color.r == 255) &&
2924 (obj->cur.color.g == 255) &&
2925 (obj->cur.color.b == 255) &&
2926 (obj->cur.color.a == 255) &&
2927 (!obj->cur.map) )
2928 {
2929 if (obj->layer->evas->engine.func->gl_img_obj_set)
2930 {
2931 obj->layer->evas->engine.func->gl_img_obj_set(output, obj, o->cur.has_alpha);
2932 img_set = 1;
2933 }
2934 }
2935
2916 o->func.get_pixels(o->func.get_pixels_data, obj); 2936 o->func.get_pixels(o->func.get_pixels_data, obj);
2917 if (o->engine_data != pixels) 2937 if (o->engine_data != pixels)
2918 pixels = o->engine_data; 2938 pixels = o->engine_data;
@@ -3152,7 +3172,17 @@ evas_object_image_render(Evas_Object *obj, void *output, void *context, void *su
3152 idy = ydy; 3172 idy = ydy;
3153 if (dobreak_w) break; 3173 if (dobreak_w) break;
3154 } 3174 }
3155 } 3175 }
3176
3177 // Unset img object
3178 if (img_set)
3179 {
3180 if (obj->layer->evas->engine.func->gl_img_obj_set)
3181 {
3182 obj->layer->evas->engine.func->gl_img_obj_set(output, NULL, 0);
3183 img_set = 0;
3184 }
3185 }
3156 } 3186 }
3157} 3187}
3158 3188
@@ -3371,10 +3401,10 @@ evas_object_image_render_pre(Evas_Object *obj)
3371 y = idy; 3401 y = idy;
3372 h = ((int)(idy + idh)) - y; 3402 h = ((int)(idy + idh)) - y;
3373 3403
3374 r.x = ((rr->x - 1) * w) / o->cur.image.w; 3404 r.x = (rr->x * w) / o->cur.image.w;
3375 r.y = ((rr->y - 1) * h) / o->cur.image.h; 3405 r.y = (rr->y * h) / o->cur.image.h;
3376 r.w = ((rr->w + 2) * w) / o->cur.image.w; 3406 r.w = ((rr->w * w) + (o->cur.image.w * 2) - 1) / o->cur.image.w;
3377 r.h = ((rr->h + 2) * h) / o->cur.image.h; 3407 r.h = ((rr->h * h) + (o->cur.image.h * 2) - 1) / o->cur.image.h;
3378 r.x += obj->cur.geometry.x + x; 3408 r.x += obj->cur.geometry.x + x;
3379 r.y += obj->cur.geometry.y + y; 3409 r.y += obj->cur.geometry.y + y;
3380 RECTS_CLIP_TO_RECT(r.x, r.y, r.w, r.h, 3410 RECTS_CLIP_TO_RECT(r.x, r.y, r.w, r.h,
diff --git a/libraries/evas/src/lib/canvas/evas_object_main.c b/libraries/evas/src/lib/canvas/evas_object_main.c
index 86ab498..81fc858 100644
--- a/libraries/evas/src/lib/canvas/evas_object_main.c
+++ b/libraries/evas/src/lib/canvas/evas_object_main.c
@@ -230,7 +230,7 @@ evas_object_clip_changes_clean(Evas_Object *obj)
230} 230}
231 231
232void 232void
233evas_object_render_pre_effect_updates(Eina_Array *rects, Evas_Object *obj, int is_v, int was_v) 233evas_object_render_pre_effect_updates(Eina_Array *rects, Evas_Object *obj, int is_v, int was_v __UNUSED__)
234{ 234{
235 Eina_Rectangle *r; 235 Eina_Rectangle *r;
236 Evas_Object *clipper; 236 Evas_Object *clipper;
@@ -241,7 +241,6 @@ evas_object_render_pre_effect_updates(Eina_Array *rects, Evas_Object *obj, int i
241 241
242 if (obj->smart.smart) goto end; 242 if (obj->smart.smart) goto end;
243 /* FIXME: was_v isn't used... why? */ 243 /* FIXME: was_v isn't used... why? */
244 was_v = 0;
245 if (!obj->clip.clipees) 244 if (!obj->clip.clipees)
246 { 245 {
247 EINA_ARRAY_ITER_NEXT(rects, i, r, it) 246 EINA_ARRAY_ITER_NEXT(rects, i, r, it)
@@ -1042,6 +1041,22 @@ evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a)
1042 if (g > 255) g = 255; if (g < 0) g = 0; 1041 if (g > 255) g = 255; if (g < 0) g = 0;
1043 if (b > 255) b = 255; if (b < 0) b = 0; 1042 if (b > 255) b = 255; if (b < 0) b = 0;
1044 if (a > 255) a = 255; if (a < 0) a = 0; 1043 if (a > 255) a = 255; if (a < 0) a = 0;
1044 if (r > a)
1045 {
1046 r = a;
1047 ERR("Evas only handle pre multiplied color !");
1048 }
1049 if (g > a)
1050 {
1051 g = a;
1052 ERR("Evas only handle pre multiplied color !");
1053 }
1054 if (b > a)
1055 {
1056 b = a;
1057 ERR("Evas only handle pre multiplied color !");
1058 }
1059
1045 if (evas_object_intercept_call_color_set(obj, r, g, b, a)) return; 1060 if (evas_object_intercept_call_color_set(obj, r, g, b, a)) return;
1046 if (obj->smart.smart) 1061 if (obj->smart.smart)
1047 { 1062 {
diff --git a/libraries/evas/src/lib/canvas/evas_object_textblock.c b/libraries/evas/src/lib/canvas/evas_object_textblock.c
index 568911c..ee07e20 100644
--- a/libraries/evas/src/lib/canvas/evas_object_textblock.c
+++ b/libraries/evas/src/lib/canvas/evas_object_textblock.c
@@ -430,6 +430,7 @@ struct _Evas_Object_Textblock
430{ 430{
431 DATA32 magic; 431 DATA32 magic;
432 Evas_Textblock_Style *style; 432 Evas_Textblock_Style *style;
433 Evas_Textblock_Style *style_user;
433 Evas_Textblock_Cursor *cursor; 434 Evas_Textblock_Cursor *cursor;
434 Eina_List *cursors; 435 Eina_List *cursors;
435 Evas_Object_Textblock_Node_Text *text_nodes; 436 Evas_Object_Textblock_Node_Text *text_nodes;
@@ -4185,11 +4186,27 @@ _layout(const Evas_Object *obj, int w, int h, int *w_ret, int *h_ret)
4185 4186
4186 /* Start of logical layout creation */ 4187 /* Start of logical layout creation */
4187 /* setup default base style */ 4188 /* setup default base style */
4188 if ((c->o->style) && (c->o->style->default_tag))
4189 { 4189 {
4190 c->fmt = _layout_format_push(c, NULL, NULL); 4190 Eina_Bool finalize = EINA_FALSE;
4191 _format_fill(c->obj, c->fmt, c->o->style->default_tag); 4191 if ((c->o->style) && (c->o->style->default_tag))
4192 _format_finalize(c->obj, c->fmt); 4192 {
4193 c->fmt = _layout_format_push(c, NULL, NULL);
4194 _format_fill(c->obj, c->fmt, c->o->style->default_tag);
4195 finalize = EINA_TRUE;
4196 }
4197
4198 if ((c->o->style_user) && (c->o->style_user->default_tag))
4199 {
4200 if (!c->fmt)
4201 {
4202 c->fmt = _layout_format_push(c, NULL, NULL);
4203 }
4204 _format_fill(c->obj, c->fmt, c->o->style_user->default_tag);
4205 finalize = EINA_TRUE;
4206 }
4207
4208 if (finalize)
4209 _format_finalize(c->obj, c->fmt);
4193 } 4210 }
4194 if (!c->fmt) 4211 if (!c->fmt)
4195 { 4212 {
@@ -4485,9 +4502,9 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4485 { 4502 {
4486 // format MUST be KEY='VALUE'[KEY='VALUE']... 4503 // format MUST be KEY='VALUE'[KEY='VALUE']...
4487 const char *p; 4504 const char *p;
4488 const char *key_start, *key_stop, *val_start, *val_stop; 4505 const char *key_start, *key_stop, *val_start;
4489 4506
4490 key_start = key_stop = val_start = val_stop = NULL; 4507 key_start = key_stop = val_start = NULL;
4491 p = ts->style_text; 4508 p = ts->style_text;
4492 while (*p) 4509 while (*p)
4493 { 4510 {
@@ -4504,19 +4521,54 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4504 else if (!val_start) 4521 else if (!val_start)
4505 { 4522 {
4506 if (((*p) == '\'') && (*(p + 1))) 4523 if (((*p) == '\'') && (*(p + 1)))
4507 val_start = p + 1; 4524 {
4508 } 4525 val_start = ++p;
4509 else if (!val_stop) 4526 }
4510 {
4511 if (((*p) == '\'') && (p > ts->style_text) && (p[-1] != '\\'))
4512 val_stop = p;
4513 } 4527 }
4514 if ((key_start) && (key_stop) && (val_start) && (val_stop)) 4528 if ((key_start) && (key_stop) && (val_start))
4515 { 4529 {
4516 char *tags, *replaces; 4530 char *tags, *replaces = NULL;
4517 Evas_Object_Style_Tag *tag; 4531 Evas_Object_Style_Tag *tag;
4518 size_t tag_len = key_stop - key_start; 4532 const char *val_stop = NULL;
4519 size_t replace_len = val_stop - val_start; 4533 size_t tag_len;
4534 size_t replace_len;
4535
4536 {
4537 Eina_Strbuf *buf = eina_strbuf_new();
4538 val_stop = val_start;
4539 while(*p)
4540 {
4541 if (*p == '\'')
4542 {
4543 /* Break if we found the tag end */
4544 if (p[-1] != '\\')
4545 {
4546 eina_strbuf_append_length(buf, val_stop,
4547 p - val_stop);
4548 break;
4549 }
4550 else
4551 {
4552 eina_strbuf_append_length(buf, val_stop,
4553 p - val_stop - 1);
4554 eina_strbuf_append_char(buf, '\'');
4555 val_stop = p + 1;
4556 }
4557 }
4558 p++;
4559 }
4560 replaces = eina_strbuf_string_steal(buf);
4561 eina_strbuf_free(buf);
4562 }
4563 /* If we didn't find an end, just aboart. */
4564 if (!*p)
4565 {
4566 if (replaces) free(replaces);
4567 break;
4568 }
4569
4570 tag_len = key_stop - key_start;
4571 replace_len = val_stop - val_start;
4520 4572
4521 tags = malloc(tag_len + 1); 4573 tags = malloc(tag_len + 1);
4522 if (tags) 4574 if (tags)
@@ -4525,12 +4577,6 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4525 tags[tag_len] = 0; 4577 tags[tag_len] = 0;
4526 } 4578 }
4527 4579
4528 replaces = malloc(replace_len + 1);
4529 if (replaces)
4530 {
4531 memcpy(replaces, val_start, replace_len);
4532 replaces[replace_len] = 0;
4533 }
4534 if ((tags) && (replaces)) 4580 if ((tags) && (replaces))
4535 { 4581 {
4536 if (!strcmp(tags, "DEFAULT")) 4582 if (!strcmp(tags, "DEFAULT"))
@@ -4561,7 +4607,7 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4561 if (tags) free(tags); 4607 if (tags) free(tags);
4562 if (replaces) free(replaces); 4608 if (replaces) free(replaces);
4563 } 4609 }
4564 key_start = key_stop = val_start = val_stop = NULL; 4610 key_start = key_stop = val_start = NULL;
4565 } 4611 }
4566 p++; 4612 p++;
4567 } 4613 }
@@ -4576,13 +4622,15 @@ evas_textblock_style_get(const Evas_Textblock_Style *ts)
4576} 4622}
4577 4623
4578/* textblock styles */ 4624/* textblock styles */
4579EAPI void 4625
4580evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts) 4626static void
4627_textblock_style_generic_set(Evas_Object *obj, Evas_Textblock_Style *ts,
4628 Evas_Textblock_Style **obj_ts)
4581{ 4629{
4582 TB_HEAD(); 4630 TB_HEAD();
4583 if (ts == o->style) return; 4631 if (ts == *obj_ts) return;
4584 if ((ts) && (ts->delete_me)) return; 4632 if ((ts) && (ts->delete_me)) return;
4585 if (o->style) 4633 if (*obj_ts)
4586 { 4634 {
4587 Evas_Textblock_Style *old_ts; 4635 Evas_Textblock_Style *old_ts;
4588 if (o->markup_text) 4636 if (o->markup_text)
@@ -4591,7 +4639,7 @@ evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
4591 o->markup_text = NULL; 4639 o->markup_text = NULL;
4592 } 4640 }
4593 4641
4594 old_ts = o->style; 4642 old_ts = *obj_ts;
4595 old_ts->objects = eina_list_remove(old_ts->objects, obj); 4643 old_ts->objects = eina_list_remove(old_ts->objects, obj);
4596 if ((old_ts->delete_me) && (!old_ts->objects)) 4644 if ((old_ts->delete_me) && (!old_ts->objects))
4597 evas_textblock_style_free(old_ts); 4645 evas_textblock_style_free(old_ts);
@@ -4600,12 +4648,19 @@ evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
4600 { 4648 {
4601 ts->objects = eina_list_append(ts->objects, obj); 4649 ts->objects = eina_list_append(ts->objects, obj);
4602 } 4650 }
4603 o->style = ts; 4651 *obj_ts = ts;
4604 4652
4605 _evas_textblock_invalidate_all(o); 4653 _evas_textblock_invalidate_all(o);
4606 _evas_textblock_changed(o, obj); 4654 _evas_textblock_changed(o, obj);
4607} 4655}
4608 4656
4657EAPI void
4658evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
4659{
4660 TB_HEAD();
4661 _textblock_style_generic_set(obj, ts, &(o->style));
4662}
4663
4609EAPI const Evas_Textblock_Style * 4664EAPI const Evas_Textblock_Style *
4610evas_object_textblock_style_get(const Evas_Object *obj) 4665evas_object_textblock_style_get(const Evas_Object *obj)
4611{ 4666{
@@ -4614,6 +4669,27 @@ evas_object_textblock_style_get(const Evas_Object *obj)
4614} 4669}
4615 4670
4616EAPI void 4671EAPI void
4672evas_object_textblock_style_user_push(Evas_Object *obj, Evas_Textblock_Style *ts)
4673{
4674 TB_HEAD();
4675 _textblock_style_generic_set(obj, ts, &(o->style_user));
4676}
4677
4678EAPI const Evas_Textblock_Style *
4679evas_object_textblock_style_user_peek(const Evas_Object *obj)
4680{
4681 TB_HEAD_RETURN(NULL);
4682 return o->style_user;
4683}
4684
4685EAPI void
4686evas_object_textblock_style_user_pop(Evas_Object *obj)
4687{
4688 TB_HEAD();
4689 _textblock_style_generic_set(obj, NULL, &(o->style_user));
4690}
4691
4692EAPI void
4617evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch) 4693evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch)
4618{ 4694{
4619 TB_HEAD(); 4695 TB_HEAD();
@@ -4902,7 +4978,7 @@ evas_object_textblock_text_markup_set(Evas_Object *obj, const char *text)
4902 o->markup_text = NULL; 4978 o->markup_text = NULL;
4903 } 4979 }
4904 _nodes_clear(obj); 4980 _nodes_clear(obj);
4905 if (!o->style) 4981 if (!o->style && !o->style_user)
4906 { 4982 {
4907 if (text != o->markup_text) 4983 if (text != o->markup_text)
4908 { 4984 {
@@ -5244,7 +5320,7 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text)
5244 const char *escape; 5320 const char *escape;
5245 5321
5246 escape = _escaped_char_get(esc_start, esc_end + 1); 5322 escape = _escaped_char_get(esc_start, esc_end + 1);
5247 eina_strbuf_append(sbuf, escape); 5323 if (escape) eina_strbuf_append(sbuf, escape);
5248 esc_start = esc_end = NULL; 5324 esc_start = esc_end = NULL;
5249 } 5325 }
5250 else if (*p == 0) 5326 else if (*p == 0)
@@ -5650,7 +5726,6 @@ EAPI Eina_Bool
5650evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur) 5726evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur)
5651{ 5727{
5652 if (!cur || !cur->node) return EINA_FALSE; 5728 if (!cur || !cur->node) return EINA_FALSE;
5653 if (evas_textblock_cursor_format_is_visible_get(cur)) return EINA_TRUE;
5654 return (_evas_textblock_cursor_node_format_at_pos_get(cur)) ? 5729 return (_evas_textblock_cursor_node_format_at_pos_get(cur)) ?
5655 EINA_TRUE : EINA_FALSE; 5730 EINA_TRUE : EINA_FALSE;
5656} 5731}
@@ -5977,9 +6052,9 @@ evas_textblock_cursor_format_prev(Evas_Textblock_Cursor *cur)
5977#else 6052#else
5978 6053
5979#define BREAK_AFTER(i) \ 6054#define BREAK_AFTER(i) \
5980 ((!str[i + 1]) || \ 6055 ((!text[i + 1]) || \
5981 (_is_white(str[i]) && !_is_white(str[i + 1])) || \ 6056 (_is_white(text[i]) && !_is_white(text[i + 1])) || \
5982 (!_is_white(str[i]) && _is_white(str[i + 1]))) 6057 (!_is_white(text[i]) && _is_white(text[i + 1])))
5983 6058
5984#endif 6059#endif
5985 6060
@@ -7241,7 +7316,13 @@ _evas_textblock_node_format_new(Evas_Object_Textblock *o, const char *_format)
7241 } 7316 }
7242 } 7317 }
7243 7318
7244 match = _style_match_tag(o->style, format, format_len, &replace_len); 7319 if (!o->style_user || !(match = _style_match_tag(o->style_user, format,
7320 format_len, &replace_len)))
7321 {
7322 match = _style_match_tag(o->style, format, format_len,
7323 &replace_len);
7324 }
7325
7245 if (match) 7326 if (match)
7246 { 7327 {
7247 if (match[0] != '-') 7328 if (match[0] != '-')
@@ -7633,6 +7714,7 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
7633 } 7714 }
7634 fnode = _evas_textblock_cursor_node_format_at_pos_get(cur1); 7715 fnode = _evas_textblock_cursor_node_format_at_pos_get(cur1);
7635 7716
7717 n1->dirty = n2->dirty = EINA_TRUE;
7636 if (should_merge) 7718 if (should_merge)
7637 { 7719 {
7638 /* We call this function instead of the cursor one because we already 7720 /* We call this function instead of the cursor one because we already
@@ -7646,7 +7728,6 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
7646 evas_textblock_cursor_copy(cur1, o->cursor); 7728 evas_textblock_cursor_copy(cur1, o->cursor);
7647 7729
7648 _evas_textblock_changed(o, cur1->obj); 7730 _evas_textblock_changed(o, cur1->obj);
7649 n1->dirty = n2->dirty = EINA_TRUE;
7650} 7731}
7651 7732
7652 7733
@@ -8022,6 +8103,7 @@ evas_textblock_cursor_format_is_visible_get(const Evas_Textblock_Cursor *cur)
8022 8103
8023 if (!cur) return EINA_FALSE; 8104 if (!cur) return EINA_FALSE;
8024 if (!cur->node) return EINA_FALSE; 8105 if (!cur->node) return EINA_FALSE;
8106 if (!evas_textblock_cursor_is_format(cur)) return EINA_FALSE;
8025 text = eina_ustrbuf_string_get(cur->node->unicode); 8107 text = eina_ustrbuf_string_get(cur->node->unicode);
8026 return EVAS_TEXTBLOCK_IS_VISIBLE_FORMAT_CHAR(text[cur->pos]); 8108 return EVAS_TEXTBLOCK_IS_VISIBLE_FORMAT_CHAR(text[cur->pos]);
8027} 8109}
@@ -9016,12 +9098,22 @@ _size_native_calc_line_finalize(const Evas_Object *obj, Eina_List *items,
9016 Eina_List *i; 9098 Eina_List *i;
9017 9099
9018 it = eina_list_data_get(items); 9100 it = eina_list_data_get(items);
9019 /* If there are no text items yet, calc ascent/descent
9020 * according to the current format. */
9021 if (it && (*ascent + *descent == 0))
9022 _layout_format_ascent_descent_adjust(obj, ascent, descent, it->format);
9023
9024 *w = 0; 9101 *w = 0;
9102
9103 if (it)
9104 {
9105 /* If there are no text items yet, calc ascent/descent
9106 * according to the current format. */
9107 if (*ascent + *descent == 0)
9108 _layout_format_ascent_descent_adjust(obj, ascent, descent,
9109 it->format);
9110
9111 /* Add margins. */
9112 if (it->format)
9113 *w = it->format->margin.l + it->format->margin.r;
9114 }
9115
9116
9025 /* Adjust all the item sizes according to the final line size, 9117 /* Adjust all the item sizes according to the final line size,
9026 * and update the x positions of all the items of the line. */ 9118 * and update the x positions of all the items of the line. */
9027 EINA_LIST_FOREACH(items, i, it) 9119 EINA_LIST_FOREACH(items, i, it)
@@ -9226,6 +9318,10 @@ evas_object_textblock_free(Evas_Object *obj)
9226 9318
9227 evas_object_textblock_clear(obj); 9319 evas_object_textblock_clear(obj);
9228 evas_object_textblock_style_set(obj, NULL); 9320 evas_object_textblock_style_set(obj, NULL);
9321 while (evas_object_textblock_style_user_peek(obj))
9322 {
9323 evas_object_textblock_style_user_pop(obj);
9324 }
9229 o = (Evas_Object_Textblock *)(obj->object_data); 9325 o = (Evas_Object_Textblock *)(obj->object_data);
9230 free(o->cursor); 9326 free(o->cursor);
9231 while (o->cursors) 9327 while (o->cursors)
diff --git a/libraries/evas/src/lib/canvas/evas_render.c b/libraries/evas/src/lib/canvas/evas_render.c
index cdedaec..32ce988 100644
--- a/libraries/evas/src/lib/canvas/evas_render.c
+++ b/libraries/evas/src/lib/canvas/evas_render.c
@@ -612,6 +612,8 @@ pending_change(void *data, void *gdata __UNUSED__)
612 obj->changed_move_only = 0; 612 obj->changed_move_only = 0;
613 obj->changed_nomove = 0; 613 obj->changed_nomove = 0;
614 obj->changed_move = 0; 614 obj->changed_move = 0;
615 obj->changed_map = 0;
616 obj->changed_pchange = 0;
615 } 617 }
616 return obj->changed ? EINA_TRUE : EINA_FALSE; 618 return obj->changed ? EINA_TRUE : EINA_FALSE;
617} 619}
@@ -984,6 +986,8 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
984 o2->changed_move_only = 0; 986 o2->changed_move_only = 0;
985 o2->changed_nomove = 0; 987 o2->changed_nomove = 0;
986 o2->changed_move = 0; 988 o2->changed_move = 0;
989 o2->changed_map = 0;
990 o2->changed_pchange = 0;
987 continue; 991 continue;
988 } 992 }
989 if (o2->changed) 993 if (o2->changed)
@@ -994,6 +998,8 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
994 o2->changed_move_only = 0; 998 o2->changed_move_only = 0;
995 o2->changed_nomove = 0; 999 o2->changed_nomove = 0;
996 o2->changed_move = 0; 1000 o2->changed_move = 0;
1001 o2->changed_map = 0;
1002 o2->changed_pchange = 0;
997 break; 1003 break;
998 } 1004 }
999 } 1005 }
@@ -1002,16 +1008,21 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
1002 obj->changed_move_only = 0; 1008 obj->changed_move_only = 0;
1003 obj->changed_nomove = 0; 1009 obj->changed_nomove = 0;
1004 obj->changed_move = 0; 1010 obj->changed_move = 0;
1011 obj->changed_map = 0;
1012 obj->changed_pchange = 0;
1005 } 1013 }
1006 else 1014 else
1007 { 1015 {
1008 if (obj->changed) 1016 if (obj->changed)
1009 { 1017 {
1010 changed = 1; 1018 if ((obj->changed_pchange) && (obj->changed_map))
1019 changed = 1;
1011 obj->changed = 0; 1020 obj->changed = 0;
1012 obj->changed_move_only = 0; 1021 obj->changed_move_only = 0;
1013 obj->changed_nomove = 0; 1022 obj->changed_nomove = 0;
1014 obj->changed_move = 0; 1023 obj->changed_move = 0;
1024 obj->changed_map = 0;
1025 obj->changed_pchange = 0;
1015 } 1026 }
1016 } 1027 }
1017 1028
@@ -1144,10 +1155,12 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
1144 e->engine.data.context, 1155 e->engine.data.context,
1145 ecx, ecy, ecw, ech); 1156 ecx, ecy, ecw, ech);
1146 if (obj->cur.cache.clip.visible) 1157 if (obj->cur.cache.clip.visible)
1147 obj->layer->evas->engine.func->image_map_draw 1158 {
1148 (e->engine.data.output, e->engine.data.context, surface, 1159 obj->layer->evas->engine.func->image_map_draw
1149 obj->cur.map->surface, obj->cur.map->count, pts, 1160 (e->engine.data.output, e->engine.data.context, surface,
1150 obj->cur.map->smooth, 0); 1161 obj->cur.map->surface, obj->cur.map->count, pts,
1162 obj->cur.map->smooth, 0);
1163 }
1151 // FIXME: needs to cache these maps and 1164 // FIXME: needs to cache these maps and
1152 // keep them only rendering updates 1165 // keep them only rendering updates
1153 // obj->layer->evas->engine.func->image_map_surface_free 1166 // obj->layer->evas->engine.func->image_map_surface_free
@@ -1500,6 +1513,12 @@ evas_render_updates_internal(Evas *e,
1500 off_x = cx - ux; 1513 off_x = cx - ux;
1501 off_y = cy - uy; 1514 off_y = cy - uy;
1502 /* build obscuring objects list (in order from bottom to top) */ 1515 /* build obscuring objects list (in order from bottom to top) */
1516 if (alpha)
1517 {
1518 e->engine.func->context_clip_set(e->engine.data.output,
1519 e->engine.data.context,
1520 ux + off_x, uy + off_y, uw, uh);
1521 }
1503 for (i = 0; i < e->obscuring_objects.count; ++i) 1522 for (i = 0; i < e->obscuring_objects.count; ++i)
1504 { 1523 {
1505 obj = (Evas_Object *)eina_array_data_get 1524 obj = (Evas_Object *)eina_array_data_get
@@ -1515,9 +1534,6 @@ evas_render_updates_internal(Evas *e,
1515 } 1534 }
1516 if (alpha) 1535 if (alpha)
1517 { 1536 {
1518 e->engine.func->context_clip_set(e->engine.data.output,
1519 e->engine.data.context,
1520 ux + off_x, uy + off_y, uw, uh);
1521 e->engine.func->context_color_set(e->engine.data.output, 1537 e->engine.func->context_color_set(e->engine.data.output,
1522 e->engine.data.context, 1538 e->engine.data.context,
1523 0, 0, 0, 0); 1539 0, 0, 0, 0);
@@ -1548,7 +1564,7 @@ evas_render_updates_internal(Evas *e,
1548 (obj->cur.visible) && 1564 (obj->cur.visible) &&
1549 (!obj->delete_me) && 1565 (!obj->delete_me) &&
1550 (obj->cur.cache.clip.visible) && 1566 (obj->cur.cache.clip.visible) &&
1551 // (!obj->smart.smart) && 1567// (!obj->smart.smart) &&
1552 ((obj->cur.color.a > 0 || obj->cur.render_op != EVAS_RENDER_BLEND))) 1568 ((obj->cur.color.a > 0 || obj->cur.render_op != EVAS_RENDER_BLEND)))
1553 { 1569 {
1554 int x, y, w, h; 1570 int x, y, w, h;
@@ -1579,6 +1595,9 @@ evas_render_updates_internal(Evas *e,
1579 else 1595 else
1580 e->engine.func->context_mask_unset(e->engine.data.output, 1596 e->engine.func->context_mask_unset(e->engine.data.output,
1581 e->engine.data.context); 1597 e->engine.data.context);
1598 e->engine.func->context_clip_set(e->engine.data.output,
1599 e->engine.data.context,
1600 x, y, w, h);
1582#if 1 /* FIXME: this can slow things down... figure out optimum... coverage */ 1601#if 1 /* FIXME: this can slow things down... figure out optimum... coverage */
1583 for (j = offset; j < e->temporary_objects.count; ++j) 1602 for (j = offset; j < e->temporary_objects.count; ++j)
1584 { 1603 {
@@ -1589,9 +1608,6 @@ evas_render_updates_internal(Evas *e,
1589 _evas_render_cutout_add(e, obj2, off_x, off_y); 1608 _evas_render_cutout_add(e, obj2, off_x, off_y);
1590 } 1609 }
1591#endif 1610#endif
1592 e->engine.func->context_clip_set(e->engine.data.output,
1593 e->engine.data.context,
1594 x, y, w, h);
1595 clean_them |= evas_render_mapped(e, obj, e->engine.data.context, 1611 clean_them |= evas_render_mapped(e, obj, e->engine.data.context,
1596 surface, off_x, off_y, 0, 1612 surface, off_x, off_y, 0,
1597 cx, cy, cw, ch 1613 cx, cy, cw, ch
@@ -1637,6 +1653,8 @@ evas_render_updates_internal(Evas *e,
1637 obj->changed_move_only = 0; 1653 obj->changed_move_only = 0;
1638 obj->changed_nomove = 0; 1654 obj->changed_nomove = 0;
1639 obj->changed_move = 0; 1655 obj->changed_move = 0;
1656 obj->changed_map = 0;
1657 obj->changed_pchange = 0;
1640 } 1658 }
1641 else if ((obj->cur.map != obj->prev.map) || 1659 else if ((obj->cur.map != obj->prev.map) ||
1642 (obj->cur.usemap != obj->prev.usemap)) 1660 (obj->cur.usemap != obj->prev.usemap))
@@ -1648,6 +1666,8 @@ evas_render_updates_internal(Evas *e,
1648 obj->changed_move_only = 0; 1666 obj->changed_move_only = 0;
1649 obj->changed_nomove = 0; 1667 obj->changed_nomove = 0;
1650 obj->changed_move = 0; 1668 obj->changed_move = 0;
1669 obj->changed_map = 0;
1670 obj->changed_pchange = 0;
1651 } 1671 }
1652 /* moved to other pre-process phase 1 1672 /* moved to other pre-process phase 1
1653 if (obj->delete_me == 2) 1673 if (obj->delete_me == 2)
@@ -1684,6 +1704,7 @@ evas_render_updates_internal(Evas *e,
1684 e->framespace.changed = 0; 1704 e->framespace.changed = 0;
1685 e->invalidate = 0; 1705 e->invalidate = 0;
1686 1706
1707 // always clean... lots of mem waste!
1687 /* If their are some object to restack or some object to delete, 1708 /* If their are some object to restack or some object to delete,
1688 * it's useless to keep the render object list around. */ 1709 * it's useless to keep the render object list around. */
1689 if (clean_them) 1710 if (clean_them)
@@ -1693,6 +1714,17 @@ evas_render_updates_internal(Evas *e,
1693 eina_array_clean(&e->restack_objects); 1714 eina_array_clean(&e->restack_objects);
1694 eina_array_clean(&e->delete_objects); 1715 eina_array_clean(&e->delete_objects);
1695 eina_array_clean(&e->obscuring_objects); 1716 eina_array_clean(&e->obscuring_objects);
1717 eina_array_clean(&e->temporary_objects);
1718 eina_array_clean(&e->clip_changes);
1719/* we should flush here and have a mempool system for this
1720 eina_array_flush(&e->active_objects);
1721 eina_array_flush(&e->render_objects);
1722 eina_array_flush(&e->restack_objects);
1723 eina_array_flush(&e->delete_objects);
1724 eina_array_flush(&e->obscuring_objects);
1725 eina_array_flush(&e->temporary_objects);
1726 eina_array_flush(&e->clip_changes);
1727 */
1696 e->invalidate = 1; 1728 e->invalidate = 1;
1697 } 1729 }
1698 1730
@@ -1768,11 +1800,14 @@ evas_render_idle_flush(Evas *e)
1768 (e->engine.data.output)) 1800 (e->engine.data.output))
1769 e->engine.func->output_idle_flush(e->engine.data.output); 1801 e->engine.func->output_idle_flush(e->engine.data.output);
1770 1802
1771 eina_array_flush(&e->delete_objects);
1772 eina_array_flush(&e->active_objects); 1803 eina_array_flush(&e->active_objects);
1773 eina_array_flush(&e->restack_objects);
1774 eina_array_flush(&e->render_objects); 1804 eina_array_flush(&e->render_objects);
1805 eina_array_flush(&e->restack_objects);
1806 eina_array_flush(&e->delete_objects);
1807 eina_array_flush(&e->obscuring_objects);
1808 eina_array_flush(&e->temporary_objects);
1775 eina_array_flush(&e->clip_changes); 1809 eina_array_flush(&e->clip_changes);
1810 eina_array_flush(&e->temporary_objects);
1776 1811
1777 e->invalidate = 1; 1812 e->invalidate = 1;
1778} 1813}
diff --git a/libraries/evas/src/lib/cserve/Makefile.in b/libraries/evas/src/lib/cserve/Makefile.in
index 7599ca2..caff4d6 100644
--- a/libraries/evas/src/lib/cserve/Makefile.in
+++ b/libraries/evas/src/lib/cserve/Makefile.in
@@ -148,6 +148,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
148EVIL_CFLAGS = @EVIL_CFLAGS@ 148EVIL_CFLAGS = @EVIL_CFLAGS@
149EVIL_LIBS = @EVIL_LIBS@ 149EVIL_LIBS = @EVIL_LIBS@
150EXEEXT = @EXEEXT@ 150EXEEXT = @EXEEXT@
151EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
152EXOTIC_LIBS = @EXOTIC_LIBS@
151FGREP = @FGREP@ 153FGREP = @FGREP@
152FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 154FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
153FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 155FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -198,6 +200,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
198PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 200PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
199PIXMAN_LIBS = @PIXMAN_LIBS@ 201PIXMAN_LIBS = @PIXMAN_LIBS@
200PKG_CONFIG = @PKG_CONFIG@ 202PKG_CONFIG = @PKG_CONFIG@
203PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
204PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
201PNG_CFLAGS = @PNG_CFLAGS@ 205PNG_CFLAGS = @PNG_CFLAGS@
202PNG_LIBS = @PNG_LIBS@ 206PNG_LIBS = @PNG_LIBS@
203RANLIB = @RANLIB@ 207RANLIB = @RANLIB@
@@ -216,8 +220,6 @@ VERSION = @VERSION@
216VMAJ = @VMAJ@ 220VMAJ = @VMAJ@
217WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 221WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
218WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 222WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
219WIN32_CFLAGS = @WIN32_CFLAGS@
220WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
221XCB_CFLAGS = @XCB_CFLAGS@ 223XCB_CFLAGS = @XCB_CFLAGS@
222XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 224XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
223XCB_GL_LIBS = @XCB_GL_LIBS@ 225XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -291,8 +293,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
291evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 293evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
292evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 294evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
293evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 295evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
294evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
295evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
296evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 296evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
297evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 297evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
298evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 298evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/Makefile.in b/libraries/evas/src/lib/engines/Makefile.in
index 4c3c1da..b5cf292 100644
--- a/libraries/evas/src/lib/engines/Makefile.in
+++ b/libraries/evas/src/lib/engines/Makefile.in
@@ -158,6 +158,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
158EVIL_CFLAGS = @EVIL_CFLAGS@ 158EVIL_CFLAGS = @EVIL_CFLAGS@
159EVIL_LIBS = @EVIL_LIBS@ 159EVIL_LIBS = @EVIL_LIBS@
160EXEEXT = @EXEEXT@ 160EXEEXT = @EXEEXT@
161EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
162EXOTIC_LIBS = @EXOTIC_LIBS@
161FGREP = @FGREP@ 163FGREP = @FGREP@
162FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 164FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
163FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 165FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -208,6 +210,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
208PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 210PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
209PIXMAN_LIBS = @PIXMAN_LIBS@ 211PIXMAN_LIBS = @PIXMAN_LIBS@
210PKG_CONFIG = @PKG_CONFIG@ 212PKG_CONFIG = @PKG_CONFIG@
213PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
214PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
211PNG_CFLAGS = @PNG_CFLAGS@ 215PNG_CFLAGS = @PNG_CFLAGS@
212PNG_LIBS = @PNG_LIBS@ 216PNG_LIBS = @PNG_LIBS@
213RANLIB = @RANLIB@ 217RANLIB = @RANLIB@
@@ -226,8 +230,6 @@ VERSION = @VERSION@
226VMAJ = @VMAJ@ 230VMAJ = @VMAJ@
227WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 231WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
228WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 232WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
229WIN32_CFLAGS = @WIN32_CFLAGS@
230WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
231XCB_CFLAGS = @XCB_CFLAGS@ 233XCB_CFLAGS = @XCB_CFLAGS@
232XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 234XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
233XCB_GL_LIBS = @XCB_GL_LIBS@ 235XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -301,8 +303,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
301evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 303evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
302evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 304evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
303evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 305evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
304evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
305evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
306evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 306evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
307evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 307evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
308evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 308evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/Makefile.am b/libraries/evas/src/lib/engines/common/Makefile.am
index 9c9918d..0937394 100644
--- a/libraries/evas/src/lib/engines/common/Makefile.am
+++ b/libraries/evas/src/lib/engines/common/Makefile.am
@@ -13,7 +13,7 @@ AM_CPPFLAGS = -I. \
13 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 13 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
14 @PIXMAN_CFLAGS@ \ 14 @PIXMAN_CFLAGS@ \
15 @EET_CFLAGS@ @pthread_cflags@ \ 15 @EET_CFLAGS@ @pthread_cflags@ \
16 @WIN32_CFLAGS@ @EINA_CFLAGS@ \ 16 @EINA_CFLAGS@ \
17 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 17 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
18 @PIXMAN_CFLAGS@ 18 @PIXMAN_CFLAGS@
19 19
diff --git a/libraries/evas/src/lib/engines/common/Makefile.in b/libraries/evas/src/lib/engines/common/Makefile.in
index 7d1f20a..08526cd 100644
--- a/libraries/evas/src/lib/engines/common/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/Makefile.in
@@ -202,6 +202,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
202EVIL_CFLAGS = @EVIL_CFLAGS@ 202EVIL_CFLAGS = @EVIL_CFLAGS@
203EVIL_LIBS = @EVIL_LIBS@ 203EVIL_LIBS = @EVIL_LIBS@
204EXEEXT = @EXEEXT@ 204EXEEXT = @EXEEXT@
205EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
206EXOTIC_LIBS = @EXOTIC_LIBS@
205FGREP = @FGREP@ 207FGREP = @FGREP@
206FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 208FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
207FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 209FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -252,6 +254,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
252PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 254PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
253PIXMAN_LIBS = @PIXMAN_LIBS@ 255PIXMAN_LIBS = @PIXMAN_LIBS@
254PKG_CONFIG = @PKG_CONFIG@ 256PKG_CONFIG = @PKG_CONFIG@
257PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
258PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
255PNG_CFLAGS = @PNG_CFLAGS@ 259PNG_CFLAGS = @PNG_CFLAGS@
256PNG_LIBS = @PNG_LIBS@ 260PNG_LIBS = @PNG_LIBS@
257RANLIB = @RANLIB@ 261RANLIB = @RANLIB@
@@ -270,8 +274,6 @@ VERSION = @VERSION@
270VMAJ = @VMAJ@ 274VMAJ = @VMAJ@
271WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 275WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
272WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 276WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
273WIN32_CFLAGS = @WIN32_CFLAGS@
274WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
275XCB_CFLAGS = @XCB_CFLAGS@ 277XCB_CFLAGS = @XCB_CFLAGS@
276XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 278XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
277XCB_GL_LIBS = @XCB_GL_LIBS@ 279XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -345,8 +347,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
345evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 347evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
346evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 348evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
347evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 349evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
348evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
349evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
350evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 350evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
351evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 351evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
352evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 352evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -441,7 +441,7 @@ AM_CPPFLAGS = -I. \
441 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 441 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
442 @PIXMAN_CFLAGS@ \ 442 @PIXMAN_CFLAGS@ \
443 @EET_CFLAGS@ @pthread_cflags@ \ 443 @EET_CFLAGS@ @pthread_cflags@ \
444 @WIN32_CFLAGS@ @EINA_CFLAGS@ \ 444 @EINA_CFLAGS@ \
445 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 445 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
446 @PIXMAN_CFLAGS@ 446 @PIXMAN_CFLAGS@
447 447
diff --git a/libraries/evas/src/lib/engines/common/evas_draw_main.c b/libraries/evas/src/lib/engines/common/evas_draw_main.c
index def19a8..d08e788 100644
--- a/libraries/evas/src/lib/engines/common/evas_draw_main.c
+++ b/libraries/evas/src/lib/engines/common/evas_draw_main.c
@@ -559,7 +559,7 @@ evas_common_draw_context_cutout_split(Cutout_Rects* res, int idx, Cutout_Rect *s
559EAPI Cutout_Rects* 559EAPI Cutout_Rects*
560evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc) 560evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc)
561{ 561{
562 Cutout_Rects* res; 562 Cutout_Rects* res, *res2;
563 int i; 563 int i;
564 int j; 564 int j;
565 565
@@ -583,6 +583,69 @@ evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc)
583 active--; 583 active--;
584 } 584 }
585 } 585 }
586 /* merge rects */
587#define RI res->rects[i]
588#define RJ res->rects[j]
589 if (res->active > 1)
590 {
591 int found = 1;
592
593 while (found)
594 {
595 found = 0;
596 for (i = 0; i < res->active; i++)
597 {
598 for (j = i + 1; j < res->active; j++)
599 {
600 /* skip empty rects we are removing */
601 if (RJ.w == 0) continue;
602 /* check if its same width, immediately above or below */
603 if ((RJ.w == RI.w) && (RJ.x == RI.x))
604 {
605 if ((RJ.y + RJ.h) == RI.y) /* above */
606 {
607 RI.y = RJ.y;
608 RI.h += RJ.h;
609 RJ.w = 0;
610 found = 1;
611 }
612 else if ((RI.y + RI.h) == RJ.y) /* below */
613 {
614 RI.h += RJ.h;
615 RJ.w = 0;
616 found = 1;
617 }
618 }
619 /* check if its same height, immediately left or right */
620 else if ((RJ.h == RI.h) && (RJ.y == RI.y))
621 {
622 if ((RJ.x + RJ.w) == RI.x) /* left */
623 {
624 RI.x = RJ.x;
625 RI.w += RJ.w;
626 RJ.w = 0;
627 found = 1;
628 }
629 else if ((RI.x + RI.w) == RJ.x) /* right */
630 {
631 RI.w += RJ.w;
632 RJ.w = 0;
633 found = 1;
634 }
635 }
636 }
637 }
638 }
639 res2 = evas_common_draw_context_cutouts_new();
640 for (i = 0; i < res->active; i++)
641 {
642 if (RI.w == 0) continue;
643 evas_common_draw_context_cutouts_add(res2, RI.x, RI.y, RI.w, RI.h);
644 }
645 free(res->rects);
646 free(res);
647 return res2;
648 }
586 return res; 649 return res;
587} 650}
588 651
diff --git a/libraries/evas/src/lib/engines/common/evas_font_load.c b/libraries/evas/src/lib/engines/common/evas_font_load.c
index 3fc4521..abba9e3 100644
--- a/libraries/evas/src/lib/engines/common/evas_font_load.c
+++ b/libraries/evas/src/lib/engines/common/evas_font_load.c
@@ -71,9 +71,7 @@ _evas_common_font_int_free(RGBA_Font_Int *fi)
71 _evas_common_font_int_clear(fi); 71 _evas_common_font_int_clear(fi);
72 eina_hash_free(fi->kerning); 72 eina_hash_free(fi->kerning);
73 73
74#ifdef HAVE_PTHREAD 74 LKD(fi->ft_mutex);
75 pthread_mutex_destroy(&fi->ft_mutex);
76#endif
77#ifdef USE_HARFBUZZ 75#ifdef USE_HARFBUZZ
78 hb_font_destroy(fi->ft.hb_font); 76 hb_font_destroy(fi->ft.hb_font);
79#endif 77#endif
@@ -301,9 +299,7 @@ _evas_common_font_int_cache_init(RGBA_Font_Int *fi)
301 EINA_KEY_CMP(_evas_common_font_double_int_cmp), 299 EINA_KEY_CMP(_evas_common_font_double_int_cmp),
302 EINA_KEY_HASH(_evas_common_font_double_int_hash), 300 EINA_KEY_HASH(_evas_common_font_double_int_hash),
303 free, 3); 301 free, 3);
304#ifdef HAVE_PTHREAD 302 LKI(fi->ft_mutex);
305 pthread_mutex_init(&fi->ft_mutex, NULL);
306#endif
307} 303}
308 304
309EAPI RGBA_Font_Int * 305EAPI RGBA_Font_Int *
diff --git a/libraries/evas/src/lib/engines/common/evas_image_main.c b/libraries/evas/src/lib/engines/common/evas_image_main.c
index d2f8c0b..9c233b3 100644
--- a/libraries/evas/src/lib/engines/common/evas_image_main.c
+++ b/libraries/evas/src/lib/engines/common/evas_image_main.c
@@ -16,6 +16,8 @@
16# include <memcheck.h> 16# include <memcheck.h>
17#endif 17#endif
18 18
19//#define SURFDBG 1
20
19static Evas_Cache_Image * eci = NULL; 21static Evas_Cache_Image * eci = NULL;
20static int reference = 0; 22static int reference = 0;
21 23
@@ -212,6 +214,30 @@ evas_common_rgba_image_free(Image_Entry *ie)
212 _evas_common_rgba_image_delete(ie); 214 _evas_common_rgba_image_delete(ie);
213} 215}
214 216
217#ifdef SURFDBG
218static Eina_List *surfs = NULL;
219
220static void
221surf_debug(void)
222{
223 Eina_List *l;
224 Image_Entry *ie;
225 RGBA_Image *im;
226 int i = 0;
227
228 printf("----SURFS----\n");
229 EINA_LIST_FOREACH(surfs, l, ie)
230 {
231 im = ie;
232 printf("%i - %p - %ix%i [%s][%s]\n",
233 i, im->image.data, ie->allocated.w, ie->allocated.h,
234 ie->file, ie->key
235 );
236 i++;
237 }
238}
239#endif
240
215EAPI void 241EAPI void
216evas_common_rgba_image_unload(Image_Entry *ie) 242evas_common_rgba_image_unload(Image_Entry *ie)
217{ 243{
@@ -252,7 +278,12 @@ evas_common_rgba_image_unload(Image_Entry *ie)
252#endif 278#endif
253 279
254 if (im->image.data && !im->image.no_free) 280 if (im->image.data && !im->image.no_free)
255 free(im->image.data); 281 {
282 free(im->image.data);
283#ifdef SURFDBG
284 surfs = eina_list_remove(surfs, ie);
285#endif
286 }
256 im->image.data = NULL; 287 im->image.data = NULL;
257 ie->allocated.w = 0; 288 ie->allocated.w = 0;
258 ie->allocated.h = 0; 289 ie->allocated.h = 0;
@@ -260,6 +291,9 @@ evas_common_rgba_image_unload(Image_Entry *ie)
260#ifdef BUILD_ASYNC_PRELOAD 291#ifdef BUILD_ASYNC_PRELOAD
261 ie->flags.preload_done = 0; 292 ie->flags.preload_done = 0;
262#endif 293#endif
294#ifdef SURFDBG
295 surf_debug();
296#endif
263} 297}
264 298
265void 299void
@@ -318,10 +352,20 @@ _evas_common_rgba_image_surface_alloc(Image_Entry *ie, unsigned int w, unsigned
318 else 352 else
319 siz = w * h * sizeof(DATA32); 353 siz = w * h * sizeof(DATA32);
320 354
321 if (im->image.data) free(im->image.data); 355 if (im->image.data)
356 {
357 free(im->image.data);
358#ifdef SURFDBG
359 surfs = eina_list_remove(surfs, ie);
360#endif
361 }
322 im->image.data = malloc(siz); 362 im->image.data = malloc(siz);
323 if (!im->image.data) return -1; 363 if (!im->image.data) return -1;
324 364 ie->allocated.w = w;
365 ie->allocated.h = h;
366#ifdef SURFDBG
367 surfs = eina_list_append(surfs, ie);
368#endif
325#ifdef HAVE_VALGRIND 369#ifdef HAVE_VALGRIND
326# ifdef VALGRIND_MAKE_READABLE 370# ifdef VALGRIND_MAKE_READABLE
327 VALGRIND_MAKE_READABLE(im->image.data, siz); 371 VALGRIND_MAKE_READABLE(im->image.data, siz);
@@ -332,7 +376,9 @@ _evas_common_rgba_image_surface_alloc(Image_Entry *ie, unsigned int w, unsigned
332# endif 376# endif
333#endif 377#endif
334 _evas_common_rgba_image_post_surface(ie); 378 _evas_common_rgba_image_post_surface(ie);
335 379#ifdef SURFDBG
380 surf_debug();
381#endif
336 return 0; 382 return 0;
337} 383}
338 384
@@ -366,7 +412,12 @@ _evas_common_rgba_image_surface_delete(Image_Entry *ie)
366 im->cs.data = NULL; 412 im->cs.data = NULL;
367 413
368 if (im->image.data && !im->image.no_free) 414 if (im->image.data && !im->image.no_free)
369 free(im->image.data); 415 {
416 free(im->image.data);
417#ifdef SURFDBG
418 surfs = eina_list_remove(surfs, ie);
419#endif
420 }
370#ifdef EVAS_CSERVE 421#ifdef EVAS_CSERVE
371 else if (ie->data1) 422 else if (ie->data1)
372 evas_cserve_image_free(ie); 423 evas_cserve_image_free(ie);
@@ -380,6 +431,9 @@ _evas_common_rgba_image_surface_delete(Image_Entry *ie)
380#endif 431#endif
381 ie->flags.loaded = 0; 432 ie->flags.loaded = 0;
382 evas_common_rgba_image_scalecache_dirty(&im->cache_entry); 433 evas_common_rgba_image_scalecache_dirty(&im->cache_entry);
434#ifdef SURFDBG
435 surf_debug();
436#endif
383} 437}
384 438
385static void 439static void
@@ -597,7 +651,15 @@ evas_common_image_colorspace_normalize(RGBA_Image *im)
597#ifdef EVAS_CSERVE 651#ifdef EVAS_CSERVE
598 if (((Image_Entry *)im)->data1) evas_cserve_image_free(&im->cache_entry); 652 if (((Image_Entry *)im)->data1) evas_cserve_image_free(&im->cache_entry);
599#endif 653#endif
600 if (!im->image.no_free) free(im->image.data); 654 if (!im->image.no_free)
655 {
656 free(im->image.data);
657#ifdef SURFDBG
658 surfs = eina_list_remove(surfs, im);
659#endif
660 ((Image_Entry *)im)->allocated.w = 0;
661 ((Image_Entry *)im)->allocated.h = 0;
662 }
601 im->image.data = im->cs.data; 663 im->image.data = im->cs.data;
602 im->cs.no_free = im->image.no_free; 664 im->cs.no_free = im->image.no_free;
603 } 665 }
@@ -634,6 +696,9 @@ evas_common_image_colorspace_normalize(RGBA_Image *im)
634 break; 696 break;
635 } 697 }
636 im->cs.dirty = 0; 698 im->cs.dirty = 0;
699#ifdef SURFDBG
700 surf_debug();
701#endif
637} 702}
638 703
639EAPI void 704EAPI void
diff --git a/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in
index 78e893d..61d3479 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am
index 84add38..77435c4 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am
+++ b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am
@@ -40,11 +40,7 @@ libevas_engine_common_op_blend_master_sse3_la_CFLAGS = \
40@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 40@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
41@PIXMAN_CFLAGS@ \ 41@PIXMAN_CFLAGS@ \
42@EET_CFLAGS@ @pthread_cflags@ \ 42@EET_CFLAGS@ @pthread_cflags@ \
43@WIN32_CFLAGS@ @EINA_CFLAGS@ \ 43@EINA_CFLAGS@ \
44@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 44@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
45@PIXMAN_CFLAGS@ \ 45@PIXMAN_CFLAGS@ \
46@EVAS_SSE3_CFLAGS@ 46@EVAS_SSE3_CFLAGS@
47
48libevas_engine_common_op_blend_master_sse3_la_DEPENENCIES = \
49$(top_builddir)/config.h
50
diff --git a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in
index e00dac8..016b49c 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in
@@ -153,6 +153,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
153EVIL_CFLAGS = @EVIL_CFLAGS@ 153EVIL_CFLAGS = @EVIL_CFLAGS@
154EVIL_LIBS = @EVIL_LIBS@ 154EVIL_LIBS = @EVIL_LIBS@
155EXEEXT = @EXEEXT@ 155EXEEXT = @EXEEXT@
156EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
157EXOTIC_LIBS = @EXOTIC_LIBS@
156FGREP = @FGREP@ 158FGREP = @FGREP@
157FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 159FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
158FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 160FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -203,6 +205,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
203PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 205PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
204PIXMAN_LIBS = @PIXMAN_LIBS@ 206PIXMAN_LIBS = @PIXMAN_LIBS@
205PKG_CONFIG = @PKG_CONFIG@ 207PKG_CONFIG = @PKG_CONFIG@
208PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
209PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
206PNG_CFLAGS = @PNG_CFLAGS@ 210PNG_CFLAGS = @PNG_CFLAGS@
207PNG_LIBS = @PNG_LIBS@ 211PNG_LIBS = @PNG_LIBS@
208RANLIB = @RANLIB@ 212RANLIB = @RANLIB@
@@ -221,8 +225,6 @@ VERSION = @VERSION@
221VMAJ = @VMAJ@ 225VMAJ = @VMAJ@
222WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 226WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
223WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 227WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
224WIN32_CFLAGS = @WIN32_CFLAGS@
225WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
226XCB_CFLAGS = @XCB_CFLAGS@ 228XCB_CFLAGS = @XCB_CFLAGS@
227XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 229XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
228XCB_GL_LIBS = @XCB_GL_LIBS@ 230XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -296,8 +298,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
296evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 298evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
297evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 299evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
298evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 300evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
299evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
300evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -420,14 +420,11 @@ libevas_engine_common_op_blend_master_sse3_la_CFLAGS = \
420@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 420@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
421@PIXMAN_CFLAGS@ \ 421@PIXMAN_CFLAGS@ \
422@EET_CFLAGS@ @pthread_cflags@ \ 422@EET_CFLAGS@ @pthread_cflags@ \
423@WIN32_CFLAGS@ @EINA_CFLAGS@ \ 423@EINA_CFLAGS@ \
424@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 424@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
425@PIXMAN_CFLAGS@ \ 425@PIXMAN_CFLAGS@ \
426@EVAS_SSE3_CFLAGS@ 426@EVAS_SSE3_CFLAGS@
427 427
428libevas_engine_common_op_blend_master_sse3_la_DEPENENCIES = \
429$(top_builddir)/config.h
430
431all: all-am 428all: all-am
432 429
433.SUFFIXES: 430.SUFFIXES:
diff --git a/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in
index 40536c0..687f34d 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in
index d5764b1..00b536a 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in
index d5452fe..849983e 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in
index 4b93b1b..885465a 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_polygon_main.c b/libraries/evas/src/lib/engines/common/evas_polygon_main.c
index ea0bf13..6840d60 100644
--- a/libraries/evas/src/lib/engines/common/evas_polygon_main.c
+++ b/libraries/evas/src/lib/engines/common/evas_polygon_main.c
@@ -133,7 +133,7 @@ evas_common_polygon_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Polygon_Po
133 int num_active_edges; 133 int num_active_edges;
134 int n; 134 int n;
135 int i, j, k; 135 int i, j, k;
136 int y0, y1, yi; 136 int yy0, yy1, yi;
137 int ext_x, ext_y, ext_w, ext_h; 137 int ext_x, ext_y, ext_w, ext_h;
138 int *sorted_index; 138 int *sorted_index;
139 139
@@ -211,14 +211,14 @@ evas_common_polygon_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Polygon_Po
211 k++; 211 k++;
212 } 212 }
213 213
214 y0 = MAX(ext_y, ceil(point[sorted_index[0]].y - 0.5)); 214 yy0 = MAX(ext_y, ceil(point[sorted_index[0]].y - 0.5));
215 y1 = MIN(ext_y + ext_h - 1, floor(point[sorted_index[n - 1]].y - 0.5)); 215 yy1 = MIN(ext_y + ext_h - 1, floor(point[sorted_index[n - 1]].y - 0.5));
216 216
217 k = 0; 217 k = 0;
218 num_active_edges = 0; 218 num_active_edges = 0;
219 spans = NULL; 219 spans = NULL;
220 220
221 for (yi = y0; yi <= y1; yi++) 221 for (yi = yy0; yi <= yy1; yi++)
222 { 222 {
223 for (; (k < n) && (point[sorted_index[k]].y <= ((double)yi + 0.5)); k++) 223 for (; (k < n) && (point[sorted_index[k]].y <= ((double)yi + 0.5)); k++)
224 { 224 {
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_sample.c b/libraries/evas/src/lib/engines/common/evas_scale_sample.c
index a8951b8..c721c5e 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_sample.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_sample.c
@@ -90,7 +90,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
90 DATA32 *buf, *dptr; 90 DATA32 *buf, *dptr;
91 DATA32 **row_ptr; 91 DATA32 **row_ptr;
92 DATA32 *ptr, *dst_ptr, *src_data, *dst_data; 92 DATA32 *ptr, *dst_ptr, *src_data, *dst_data;
93 int dst_jump;
94 int dst_clip_x, dst_clip_y, dst_clip_w, dst_clip_h; 93 int dst_clip_x, dst_clip_y, dst_clip_w, dst_clip_h;
95 int m_clip_x = 0, m_clip_y = 0, m_clip_w = 0, m_clip_h = 0, mdx = 0, mdy = 0; 94 int m_clip_x = 0, m_clip_y = 0, m_clip_w = 0, m_clip_h = 0, mdx = 0, mdy = 0;
96 int src_w, src_h, dst_w, dst_h; 95 int src_w, src_h, dst_w, dst_h;
@@ -248,7 +247,7 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
248 row_ptr = alloca(dst_clip_h * sizeof(DATA32 *)); 247 row_ptr = alloca(dst_clip_h * sizeof(DATA32 *));
249 248
250 /* figure out dst jump */ 249 /* figure out dst jump */
251 dst_jump = dst_w - dst_clip_w; 250 //dst_jump = dst_w - dst_clip_w;
252 251
253 /* figure out dest start ptr */ 252 /* figure out dest start ptr */
254 dst_ptr = dst_data + dst_clip_x + (dst_clip_y * dst_w); 253 dst_ptr = dst_data + dst_clip_x + (dst_clip_y * dst_w);
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c
index 50b2e5c..a443c85 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c
@@ -3,7 +3,7 @@
3 DATA32 *pix, *dptr, *pbuf, **yp; 3 DATA32 *pix, *dptr, *pbuf, **yp;
4 int r, g, b, a, rr, gg, bb, aa; 4 int r, g, b, a, rr, gg, bb, aa;
5 int *xp, xap, yap, pos; 5 int *xp, xap, yap, pos;
6 int dyy, dxx; 6 //int dyy, dxx;
7 int w = dst_clip_w; 7 int w = dst_clip_w;
8#ifdef EVAS_SLI 8#ifdef EVAS_SLI
9 int ysli = dst_clip_y; 9 int ysli = dst_clip_y;
@@ -11,8 +11,8 @@
11 11
12 dptr = dst_ptr; 12 dptr = dst_ptr;
13 pos = (src_region_y * src_w) + src_region_x; 13 pos = (src_region_y * src_w) + src_region_x;
14 dyy = dst_clip_y - dst_region_y; 14 //dyy = dst_clip_y - dst_region_y;
15 dxx = dst_clip_x - dst_region_x; 15 //dxx = dst_clip_x - dst_region_x;
16 16
17 xp = xpoints;// + dxx; 17 xp = xpoints;// + dxx;
18 yp = ypoints;// + dyy; 18 yp = ypoints;// + dyy;
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c
index ab0c74e..73da3a0 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c
@@ -3,7 +3,7 @@
3 DATA32 *dptr, *sptr, *pix, *pbuf; 3 DATA32 *dptr, *sptr, *pix, *pbuf;
4 int a, r, g, b, rx, gx, bx, ax; 4 int a, r, g, b, rx, gx, bx, ax;
5 int xap, yap, pos; 5 int xap, yap, pos;
6 int dyy, dxx; 6 //int dyy, dxx;
7#ifdef EVAS_SLI 7#ifdef EVAS_SLI
8 int ysli = dst_clip_y; 8 int ysli = dst_clip_y;
9#endif 9#endif
@@ -14,8 +14,8 @@
14 14
15 dptr = dst_ptr; 15 dptr = dst_ptr;
16 pos = (src_region_y * src_w) + src_region_x; 16 pos = (src_region_y * src_w) + src_region_x;
17 dyy = dst_clip_y - dst_region_y; 17 //dyy = dst_clip_y - dst_region_y;
18 dxx = dst_clip_x - dst_region_x; 18 //dxx = dst_clip_x - dst_region_x;
19 19
20 xp = xpoints;// + dxx; 20 xp = xpoints;// + dxx;
21 yp = ypoints;// + dyy; 21 yp = ypoints;// + dyy;
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c
index 4c5448e..3b7585d 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c
@@ -3,7 +3,7 @@
3 DATA32 *dptr, *pix, *pbuf, **yp; 3 DATA32 *dptr, *pix, *pbuf, **yp;
4 int r, g, b, a, rr, gg, bb, aa; 4 int r, g, b, a, rr, gg, bb, aa;
5 int *xp, xap, yap, pos; 5 int *xp, xap, yap, pos;
6 int dyy, dxx; 6 //int dyy, dxx;
7 int w = dst_clip_w; 7 int w = dst_clip_w;
8#ifdef EVAS_SLI 8#ifdef EVAS_SLI
9 int ysli = dst_clip_y; 9 int ysli = dst_clip_y;
@@ -11,8 +11,8 @@
11 11
12 dptr = dst_ptr; 12 dptr = dst_ptr;
13 pos = (src_region_y * src_w) + src_region_x; 13 pos = (src_region_y * src_w) + src_region_x;
14 dyy = dst_clip_y - dst_region_y; 14 //dyy = dst_clip_y - dst_region_y;
15 dxx = dst_clip_x - dst_region_x; 15 //dxx = dst_clip_x - dst_region_x;
16 16
17 xp = xpoints;// + dxx; 17 xp = xpoints;// + dxx;
18 yp = ypoints;// + dyy; 18 yp = ypoints;// + dyy;
diff --git a/libraries/evas/src/lib/engines/common/evas_tiler.c b/libraries/evas/src/lib/engines/common/evas_tiler.c
index ff359a4..bc5e99c 100644
--- a/libraries/evas/src/lib/engines/common/evas_tiler.c
+++ b/libraries/evas/src/lib/engines/common/evas_tiler.c
@@ -1167,40 +1167,84 @@ evas_common_tilebuf_get_render_rects(Tilebuf *tb)
1167#elif defined(EVAS_RECT_SPLIT) 1167#elif defined(EVAS_RECT_SPLIT)
1168 list_node_t *n; 1168 list_node_t *n;
1169 Tilebuf_Rect *rects = NULL; 1169 Tilebuf_Rect *rects = NULL;
1170 int bx1 = 0, bx2 = 0, by1 = 0, by2 = 0, num = 0;
1170 1171
1171 if (tb->need_merge) { 1172 if (tb->need_merge)
1172 list_t to_merge; 1173 {
1173 to_merge = tb->rects; 1174 list_t to_merge;
1174 tb->rects = list_zeroed; 1175 to_merge = tb->rects;
1175 rect_list_merge_rects(&tb->rects, &to_merge, FUZZ * FUZZ); 1176 tb->rects = list_zeroed;
1176 tb->need_merge = 0; 1177 rect_list_merge_rects(&tb->rects, &to_merge, FUZZ * FUZZ);
1177 } 1178 tb->need_merge = 0;
1178 1179 }
1179 for (n = tb->rects.head; n; n = n->next) { 1180
1180 rect_t cur; 1181 n = tb->rects.head;
1182 if (n)
1183 {
1184 bx1 = ((rect_node_t *)n)->rect.left;
1185 bx2 = bx1 + ((rect_node_t *)n)->rect.width;
1186 by1 = ((rect_node_t *)n)->rect.top;
1187 by2 = by1 + ((rect_node_t *)n)->rect.height;
1188 n = n->next;
1189 for (; n; n = n->next)
1190 {
1191
1192 int x1, x2, y1, y2;
1193
1194 x1 = ((rect_node_t *)n)->rect.left;
1195 if (x1 < bx1) bx1 = x1;
1196 x2 = x1 + ((rect_node_t *)n)->rect.width;
1197 if (x2 > bx2) bx2 = x2;
1198
1199 y1 = ((rect_node_t *)n)->rect.top;
1200 if (y1 < by1) by1 = y1;
1201 y2 = y1 + ((rect_node_t *)n)->rect.height;
1202 if (y2 > by2) by2 = y2;
1203 num++;
1204 }
1205 }
1206#define MAXREG 24
1207 /* magic number - but if we have > MAXREG regions to update, take bounding box */
1208 if (num > MAXREG)
1209 {
1210 Tilebuf_Rect *r;
1211
1212 r = malloc(sizeof(Tilebuf_Rect));
1213 r->x = bx1;
1214 r->y = by1;
1215 r->w = bx2 - bx1;
1216 r->h = by2 - by1;
1217
1218 rects = (Tilebuf_Rect *)eina_inlist_append(EINA_INLIST_GET(rects), EINA_INLIST_GET(r));
1219 return rects;
1220 }
1181 1221
1182 cur = ((rect_node_t *)n)->rect; 1222 for (n = tb->rects.head; n; n = n->next)
1223 {
1224 rect_t cur;
1225
1226 cur = ((rect_node_t *)n)->rect;
1183/* disable fuzz - created bugs. 1227/* disable fuzz - created bugs.
1184 cur.left <<= 1; 1228 cur.left <<= 1;
1185 cur.top <<= 1; 1229 cur.top <<= 1;
1186 cur.width <<= 1; 1230 cur.width <<= 1;
1187 cur.height <<= 1; 1231 cur.height <<= 1;
1188 */ 1232 */
1189 RECTS_CLIP_TO_RECT(cur.left, cur.top, cur.width, cur.height, 1233 RECTS_CLIP_TO_RECT(cur.left, cur.top, cur.width, cur.height,
1190 0, 0, tb->outbuf_w, tb->outbuf_h); 1234 0, 0, tb->outbuf_w, tb->outbuf_h);
1191 if ((cur.width > 0) && (cur.height > 0)) 1235 if ((cur.width > 0) && (cur.height > 0))
1192 { 1236 {
1193 Tilebuf_Rect *r; 1237 Tilebuf_Rect *r;
1194 1238
1195 r = malloc(sizeof(Tilebuf_Rect)); 1239 r = malloc(sizeof(Tilebuf_Rect));
1196 r->x = cur.left; 1240 r->x = cur.left;
1197 r->y = cur.top; 1241 r->y = cur.top;
1198 r->w = cur.width; 1242 r->w = cur.width;
1199 r->h = cur.height; 1243 r->h = cur.height;
1200 1244
1201 rects = (Tilebuf_Rect *)eina_inlist_append(EINA_INLIST_GET(rects), EINA_INLIST_GET(r)); 1245 rects = (Tilebuf_Rect *)eina_inlist_append(EINA_INLIST_GET(rects), EINA_INLIST_GET(r));
1202 } 1246 }
1203 } 1247 }
1204 return rects; 1248 return rects;
1205 1249
1206#else 1250#else
diff --git a/libraries/evas/src/lib/engines/common_16/Makefile.in b/libraries/evas/src/lib/engines/common_16/Makefile.in
index 313cbda..196395d 100644
--- a/libraries/evas/src/lib/engines/common_16/Makefile.in
+++ b/libraries/evas/src/lib/engines/common_16/Makefile.in
@@ -151,6 +151,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
151EVIL_CFLAGS = @EVIL_CFLAGS@ 151EVIL_CFLAGS = @EVIL_CFLAGS@
152EVIL_LIBS = @EVIL_LIBS@ 152EVIL_LIBS = @EVIL_LIBS@
153EXEEXT = @EXEEXT@ 153EXEEXT = @EXEEXT@
154EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
155EXOTIC_LIBS = @EXOTIC_LIBS@
154FGREP = @FGREP@ 156FGREP = @FGREP@
155FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 157FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
156FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 158FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -201,6 +203,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
201PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 203PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
202PIXMAN_LIBS = @PIXMAN_LIBS@ 204PIXMAN_LIBS = @PIXMAN_LIBS@
203PKG_CONFIG = @PKG_CONFIG@ 205PKG_CONFIG = @PKG_CONFIG@
206PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
207PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204PNG_CFLAGS = @PNG_CFLAGS@ 208PNG_CFLAGS = @PNG_CFLAGS@
205PNG_LIBS = @PNG_LIBS@ 209PNG_LIBS = @PNG_LIBS@
206RANLIB = @RANLIB@ 210RANLIB = @RANLIB@
@@ -219,8 +223,6 @@ VERSION = @VERSION@
219VMAJ = @VMAJ@ 223VMAJ = @VMAJ@
220WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 224WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
221WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 225WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
222WIN32_CFLAGS = @WIN32_CFLAGS@
223WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
224XCB_CFLAGS = @XCB_CFLAGS@ 226XCB_CFLAGS = @XCB_CFLAGS@
225XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 227XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
226XCB_GL_LIBS = @XCB_GL_LIBS@ 228XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -294,8 +296,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
294evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 296evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
295evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 297evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
296evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 298evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
297evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
298evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
299evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 299evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
300evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 300evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
301evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 301evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common_8/Makefile.in b/libraries/evas/src/lib/engines/common_8/Makefile.in
index 7fa4fbb..11b2454 100644
--- a/libraries/evas/src/lib/engines/common_8/Makefile.in
+++ b/libraries/evas/src/lib/engines/common_8/Makefile.in
@@ -150,6 +150,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
150EVIL_CFLAGS = @EVIL_CFLAGS@ 150EVIL_CFLAGS = @EVIL_CFLAGS@
151EVIL_LIBS = @EVIL_LIBS@ 151EVIL_LIBS = @EVIL_LIBS@
152EXEEXT = @EXEEXT@ 152EXEEXT = @EXEEXT@
153EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
154EXOTIC_LIBS = @EXOTIC_LIBS@
153FGREP = @FGREP@ 155FGREP = @FGREP@
154FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 156FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
155FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 157FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -200,6 +202,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
200PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 202PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
201PIXMAN_LIBS = @PIXMAN_LIBS@ 203PIXMAN_LIBS = @PIXMAN_LIBS@
202PKG_CONFIG = @PKG_CONFIG@ 204PKG_CONFIG = @PKG_CONFIG@
205PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
206PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
203PNG_CFLAGS = @PNG_CFLAGS@ 207PNG_CFLAGS = @PNG_CFLAGS@
204PNG_LIBS = @PNG_LIBS@ 208PNG_LIBS = @PNG_LIBS@
205RANLIB = @RANLIB@ 209RANLIB = @RANLIB@
@@ -218,8 +222,6 @@ VERSION = @VERSION@
218VMAJ = @VMAJ@ 222VMAJ = @VMAJ@
219WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 223WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
220WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 224WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
221WIN32_CFLAGS = @WIN32_CFLAGS@
222WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
223XCB_CFLAGS = @XCB_CFLAGS@ 225XCB_CFLAGS = @XCB_CFLAGS@
224XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 226XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
225XCB_GL_LIBS = @XCB_GL_LIBS@ 227XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -293,8 +295,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
293evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 295evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
294evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 296evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
295evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 297evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
296evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
297evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/file/Makefile.am b/libraries/evas/src/lib/file/Makefile.am
index 7875fbe..84b12d9 100644
--- a/libraries/evas/src/lib/file/Makefile.am
+++ b/libraries/evas/src/lib/file/Makefile.am
@@ -11,10 +11,7 @@ AM_CPPFLAGS = \
11@FREETYPE_CFLAGS@ \ 11@FREETYPE_CFLAGS@ \
12@EINA_CFLAGS@ \ 12@EINA_CFLAGS@ \
13@EVIL_CFLAGS@ \ 13@EVIL_CFLAGS@ \
14@WIN32_CPPFLAGS@ \
15@PIXMAN_CFLAGS@ 14@PIXMAN_CFLAGS@
16
17AM_CFLAGS = @WIN32_CFLAGS@
18 15
19noinst_LTLIBRARIES = libevas_file.la 16noinst_LTLIBRARIES = libevas_file.la
20libevas_file_la_SOURCES = \ 17libevas_file_la_SOURCES = \
diff --git a/libraries/evas/src/lib/file/Makefile.in b/libraries/evas/src/lib/file/Makefile.in
index 2ac89b1..52d3608 100644
--- a/libraries/evas/src/lib/file/Makefile.in
+++ b/libraries/evas/src/lib/file/Makefile.in
@@ -146,6 +146,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
146EVIL_CFLAGS = @EVIL_CFLAGS@ 146EVIL_CFLAGS = @EVIL_CFLAGS@
147EVIL_LIBS = @EVIL_LIBS@ 147EVIL_LIBS = @EVIL_LIBS@
148EXEEXT = @EXEEXT@ 148EXEEXT = @EXEEXT@
149EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
150EXOTIC_LIBS = @EXOTIC_LIBS@
149FGREP = @FGREP@ 151FGREP = @FGREP@
150FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 152FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
151FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 153FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -196,6 +198,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
196PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 198PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
197PIXMAN_LIBS = @PIXMAN_LIBS@ 199PIXMAN_LIBS = @PIXMAN_LIBS@
198PKG_CONFIG = @PKG_CONFIG@ 200PKG_CONFIG = @PKG_CONFIG@
201PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
202PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
199PNG_CFLAGS = @PNG_CFLAGS@ 203PNG_CFLAGS = @PNG_CFLAGS@
200PNG_LIBS = @PNG_LIBS@ 204PNG_LIBS = @PNG_LIBS@
201RANLIB = @RANLIB@ 205RANLIB = @RANLIB@
@@ -214,8 +218,6 @@ VERSION = @VERSION@
214VMAJ = @VMAJ@ 218VMAJ = @VMAJ@
215WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 219WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
216WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 220WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
217WIN32_CFLAGS = @WIN32_CFLAGS@
218WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
219XCB_CFLAGS = @XCB_CFLAGS@ 221XCB_CFLAGS = @XCB_CFLAGS@
220XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 222XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
221XCB_GL_LIBS = @XCB_GL_LIBS@ 223XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -289,8 +291,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
289evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 291evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
290evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 292evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
291evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 293evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
292evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
293evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
294evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 294evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
295evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 295evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
296evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 296evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -384,10 +384,8 @@ AM_CPPFLAGS = \
384@FREETYPE_CFLAGS@ \ 384@FREETYPE_CFLAGS@ \
385@EINA_CFLAGS@ \ 385@EINA_CFLAGS@ \
386@EVIL_CFLAGS@ \ 386@EVIL_CFLAGS@ \
387@WIN32_CPPFLAGS@ \
388@PIXMAN_CFLAGS@ 387@PIXMAN_CFLAGS@
389 388
390AM_CFLAGS = @WIN32_CFLAGS@
391noinst_LTLIBRARIES = libevas_file.la 389noinst_LTLIBRARIES = libevas_file.la
392libevas_file_la_SOURCES = \ 390libevas_file_la_SOURCES = \
393evas_path.c \ 391evas_path.c \
diff --git a/libraries/evas/src/lib/file/evas_module.c b/libraries/evas/src/lib/file/evas_module.c
index 21d5cd0..dc0d26b 100644
--- a/libraries/evas/src/lib/file/evas_module.c
+++ b/libraries/evas/src/lib/file/evas_module.c
@@ -98,7 +98,6 @@ EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_8_x11);
98EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_ddraw); 98EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_ddraw);
99EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_gdi); 99EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_gdi);
100EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_generic); 100EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_generic);
101EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_sdl);
102EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_x11); 101EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_x11);
103EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, bmp); 102EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, bmp);
104EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, edb); 103EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, edb);
@@ -176,9 +175,6 @@ static const struct {
176#ifdef EVAS_STATIC_BUILD_SOFTWARE_GENERIC 175#ifdef EVAS_STATIC_BUILD_SOFTWARE_GENERIC
177 EVAS_EINA_STATIC_MODULE_USE(engine, software_generic), 176 EVAS_EINA_STATIC_MODULE_USE(engine, software_generic),
178#endif 177#endif
179#ifdef EVAS_STATIC_BUILD_SOFTWARE_SDL
180 EVAS_EINA_STATIC_MODULE_USE(engine, software_sdl),
181#endif
182#ifdef EVAS_STATIC_BUILD_SOFTWARE_X11 178#ifdef EVAS_STATIC_BUILD_SOFTWARE_X11
183 EVAS_EINA_STATIC_MODULE_USE(engine, software_x11), 179 EVAS_EINA_STATIC_MODULE_USE(engine, software_x11),
184#endif 180#endif
diff --git a/libraries/evas/src/lib/file/evas_path.c b/libraries/evas/src/lib/file/evas_path.c
index c663c16..2ff646d 100644
--- a/libraries/evas/src/lib/file/evas_path.c
+++ b/libraries/evas/src/lib/file/evas_path.c
@@ -38,9 +38,7 @@ evas_file_path_is_full_path(const char *path)
38#if defined _WIN32_WCE 38#if defined _WIN32_WCE
39 if (path[0] == '\\') return 1; 39 if (path[0] == '\\') return 1;
40#elif defined _WIN32 40#elif defined _WIN32
41 if ((path[0] == '\0') || (path[1] == '\0')) 41 if (evil_path_is_absolute(path)) return 1;
42 return 0;
43 if (path[1] == ':') return 1;
44#else 42#else
45 if (path[0] == '/') return 1; 43 if (path[0] == '/') return 1;
46#endif 44#endif
diff --git a/libraries/evas/src/lib/include/Makefile.in b/libraries/evas/src/lib/include/Makefile.in
index 21f0099..8060178 100644
--- a/libraries/evas/src/lib/include/Makefile.in
+++ b/libraries/evas/src/lib/include/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/include/evas_blend_ops.h b/libraries/evas/src/lib/include/evas_blend_ops.h
index 1ada384..6bd1f16 100644
--- a/libraries/evas/src/lib/include/evas_blend_ops.h
+++ b/libraries/evas/src/lib/include/evas_blend_ops.h
@@ -200,7 +200,7 @@ static __m128i RGB_MASK_SSE3;
200 200
201static __m128i ALPHA_SSE3; 201static __m128i ALPHA_SSE3;
202 202
203EFL_ALWAYS_INLINE __m128i 203static EFL_ALWAYS_INLINE __m128i
204mul_256_sse3(__m128i a, __m128i c) { 204mul_256_sse3(__m128i a, __m128i c) {
205 205
206 /* prepare alpha for word multiplication */ 206 /* prepare alpha for word multiplication */
@@ -228,7 +228,7 @@ mul_256_sse3(__m128i a, __m128i c) {
228 return _mm_add_epi32(c0, c1); 228 return _mm_add_epi32(c0, c1);
229} 229}
230 230
231EFL_ALWAYS_INLINE __m128i 231static EFL_ALWAYS_INLINE __m128i
232sub4_alpha_sse3(__m128i c) { 232sub4_alpha_sse3(__m128i c) {
233 233
234 __m128i c0 = c; 234 __m128i c0 = c;
@@ -237,7 +237,7 @@ sub4_alpha_sse3(__m128i c) {
237 return _mm_sub_epi32(ALPHA_SSE3, c0); 237 return _mm_sub_epi32(ALPHA_SSE3, c0);
238} 238}
239 239
240EFL_ALWAYS_INLINE __m128i 240static EFL_ALWAYS_INLINE __m128i
241interp4_256_sse3(__m128i a, __m128i c0, __m128i c1) 241interp4_256_sse3(__m128i a, __m128i c0, __m128i c1)
242{ 242{
243 const __m128i zero = _mm_setzero_si128(); 243 const __m128i zero = _mm_setzero_si128();
@@ -289,7 +289,7 @@ interp4_256_sse3(__m128i a, __m128i c0, __m128i c1)
289 return (__m128i) _mm_shuffle_ps( (__m128)cl_sub, (__m128)ch_sub, 0x44); 289 return (__m128i) _mm_shuffle_ps( (__m128)cl_sub, (__m128)ch_sub, 0x44);
290} 290}
291 291
292EFL_ALWAYS_INLINE __m128i 292static EFL_ALWAYS_INLINE __m128i
293mul_sym_sse3(__m128i a, __m128i c) { 293mul_sym_sse3(__m128i a, __m128i c) {
294 294
295 /* Prepare alpha for word mult */ 295 /* Prepare alpha for word mult */
@@ -318,7 +318,7 @@ mul_sym_sse3(__m128i a, __m128i c) {
318 return _mm_add_epi32(c0, c1); 318 return _mm_add_epi32(c0, c1);
319} 319}
320 320
321EFL_ALWAYS_INLINE __m128i 321static EFL_ALWAYS_INLINE __m128i
322mul4_sym_sse3(__m128i x, __m128i y) { 322mul4_sym_sse3(__m128i x, __m128i y) {
323 323
324 const __m128i zero = _mm_setzero_si128(); 324 const __m128i zero = _mm_setzero_si128();
@@ -341,7 +341,7 @@ mul4_sym_sse3(__m128i x, __m128i y) {
341 return _mm_packus_epi16(r_l, r_h); 341 return _mm_packus_epi16(r_l, r_h);
342} 342}
343 343
344EFL_ALWAYS_INLINE __m128i 344static EFL_ALWAYS_INLINE __m128i
345mul3_sym_sse3(__m128i x, __m128i y) { 345mul3_sym_sse3(__m128i x, __m128i y) {
346 346
347 __m128i res = mul4_sym_sse3(x, y); 347 __m128i res = mul4_sym_sse3(x, y);
diff --git a/libraries/evas/src/lib/include/evas_common.h b/libraries/evas/src/lib/include/evas_common.h
index a9063e6..e853064 100644
--- a/libraries/evas/src/lib/include/evas_common.h
+++ b/libraries/evas/src/lib/include/evas_common.h
@@ -5,6 +5,45 @@
5#include "config.h" /* so that EAPI in Evas.h is correctly defined */ 5#include "config.h" /* so that EAPI in Evas.h is correctly defined */
6//#endif 6//#endif
7 7
8#ifdef STDC_HEADERS
9# include <stdlib.h>
10# include <stddef.h>
11#else
12# ifdef HAVE_STDLIB_H
13# include <stdlib.h>
14# endif
15#endif
16#ifdef HAVE_ALLOCA_H
17# include <alloca.h>
18#elif !defined alloca
19# ifdef __GNUC__
20# define alloca __builtin_alloca
21# elif defined _AIX
22# define alloca __alloca
23# elif defined _MSC_VER
24# include <malloc.h>
25# define alloca _alloca
26# elif !defined HAVE_ALLOCA
27# ifdef __cplusplus
28extern "C"
29# endif
30void *alloca (size_t);
31# endif
32#endif
33
34#include <stdio.h>
35#include <stdlib.h>
36#include <string.h>
37#include <sys/types.h>
38#include <sys/stat.h>
39#include <time.h>
40#include <ctype.h>
41
42#ifndef _MSC_VER
43# include <stdint.h>
44#include <unistd.h>
45#endif
46
8#ifdef HAVE_EVIL 47#ifdef HAVE_EVIL
9# include <Evil.h> 48# include <Evil.h>
10#endif 49#endif
@@ -13,10 +52,6 @@
13# include <Escape.h> 52# include <Escape.h>
14#endif 53#endif
15 54
16#include <Eina.h>
17#include "Evas.h"
18//#include "Evas_GL.h"
19
20#ifdef HAVE_PIXMAN 55#ifdef HAVE_PIXMAN
21#include <pixman.h> 56#include <pixman.h>
22#endif 57#endif
@@ -25,6 +60,14 @@
25#include <sys/stat.h> 60#include <sys/stat.h>
26#include <unistd.h> 61#include <unistd.h>
27 62
63#ifdef HAVE_EXOTIC
64# include <Exotic.h>
65#endif
66
67#include <Eina.h>
68#include "Evas.h"
69//#include "Evas_GL.h"
70
28#ifndef HAVE_LROUND 71#ifndef HAVE_LROUND
29/* right now i dont care about rendering bugs on platforms without lround 72/* right now i dont care about rendering bugs on platforms without lround
30 (e.g. windows/vc++... yay!) 73 (e.g. windows/vc++... yay!)
@@ -171,35 +214,6 @@ extern EAPI int _evas_log_dom_global;
171 214
172#endif 215#endif
173 216
174#ifdef HAVE_ALLOCA_H
175# include <alloca.h>
176#elif defined __GNUC__
177# define alloca __builtin_alloca
178#elif defined _AIX
179# define alloca __alloca
180#elif defined _MSC_VER
181# include <malloc.h>
182# define alloca _alloca
183#else
184# include <stddef.h>
185# ifdef __cplusplus
186extern "C"
187# endif
188void *alloca (size_t);
189#endif
190
191#include <stdio.h>
192#include <stdlib.h>
193#include <string.h>
194#include <sys/types.h>
195#include <sys/stat.h>
196#include <time.h>
197#include <ctype.h>
198
199#ifndef _MSC_VER
200# include <stdint.h>
201#endif
202
203#include <ft2build.h> 217#include <ft2build.h>
204#include FT_FREETYPE_H 218#include FT_FREETYPE_H
205#include FT_GLYPH_H 219#include FT_GLYPH_H
@@ -1005,12 +1019,12 @@ struct list
1005 1019
1006struct rect 1020struct rect
1007{ 1021{
1008 short left; 1022 int left;
1009 short top; 1023 int top;
1010 short right; 1024 int right;
1011 short bottom; 1025 int bottom;
1012 short width; 1026 int width;
1013 short height; 1027 int height;
1014 int area; 1028 int area;
1015}; 1029};
1016 1030
diff --git a/libraries/evas/src/lib/include/evas_private.h b/libraries/evas/src/lib/include/evas_private.h
index 84c1d36..bf0cfc5 100644
--- a/libraries/evas/src/lib/include/evas_private.h
+++ b/libraries/evas/src/lib/include/evas_private.h
@@ -615,6 +615,8 @@ struct _Evas_Object
615 Eina_Bool changed_move : 1; 615 Eina_Bool changed_move : 1;
616 Eina_Bool changed_move_only : 1; 616 Eina_Bool changed_move_only : 1;
617 Eina_Bool changed_nomove : 1; 617 Eina_Bool changed_nomove : 1;
618 Eina_Bool changed_map : 1;
619 Eina_Bool changed_pchange : 1;
618 Eina_Bool del_ref : 1; 620 Eina_Bool del_ref : 1;
619 621
620 Eina_Bool is_frame : 1; 622 Eina_Bool is_frame : 1;
@@ -850,6 +852,7 @@ struct _Evas_Func
850 void *(*gl_proc_address_get) (void *data, const char *name); 852 void *(*gl_proc_address_get) (void *data, const char *name);
851 int (*gl_native_surface_get) (void *data, void *surface, void *native_surface); 853 int (*gl_native_surface_get) (void *data, void *surface, void *native_surface);
852 void *(*gl_api_get) (void *data); 854 void *(*gl_api_get) (void *data);
855 void (*gl_img_obj_set) (void *data, void *image, int has_alpha);
853 856
854 int (*image_load_error_get) (void *data, void *image); 857 int (*image_load_error_get) (void *data, void *image);
855 int (*font_run_end_get) (void *data, Evas_Font_Set *font, Evas_Font_Instance **script_fi, Evas_Font_Instance **cur_fi, Evas_Script_Type script, const Eina_Unicode *text, int run_len); 858 int (*font_run_end_get) (void *data, Evas_Font_Set *font, Evas_Font_Instance **script_fi, Evas_Font_Instance **cur_fi, Evas_Script_Type script, const Eina_Unicode *text, int run_len);
diff --git a/libraries/evas/src/modules/Makefile.in b/libraries/evas/src/modules/Makefile.in
index e4f1cbc..68865f3 100644
--- a/libraries/evas/src/modules/Makefile.in
+++ b/libraries/evas/src/modules/Makefile.in
@@ -156,6 +156,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
156EVIL_CFLAGS = @EVIL_CFLAGS@ 156EVIL_CFLAGS = @EVIL_CFLAGS@
157EVIL_LIBS = @EVIL_LIBS@ 157EVIL_LIBS = @EVIL_LIBS@
158EXEEXT = @EXEEXT@ 158EXEEXT = @EXEEXT@
159EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
160EXOTIC_LIBS = @EXOTIC_LIBS@
159FGREP = @FGREP@ 161FGREP = @FGREP@
160FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 162FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
161FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 163FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -206,6 +208,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
206PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 208PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
207PIXMAN_LIBS = @PIXMAN_LIBS@ 209PIXMAN_LIBS = @PIXMAN_LIBS@
208PKG_CONFIG = @PKG_CONFIG@ 210PKG_CONFIG = @PKG_CONFIG@
211PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209PNG_CFLAGS = @PNG_CFLAGS@ 213PNG_CFLAGS = @PNG_CFLAGS@
210PNG_LIBS = @PNG_LIBS@ 214PNG_LIBS = @PNG_LIBS@
211RANLIB = @RANLIB@ 215RANLIB = @RANLIB@
@@ -224,8 +228,6 @@ VERSION = @VERSION@
224VMAJ = @VMAJ@ 228VMAJ = @VMAJ@
225WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 229WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
226WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 230WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
227WIN32_CFLAGS = @WIN32_CFLAGS@
228WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
229XCB_CFLAGS = @XCB_CFLAGS@ 231XCB_CFLAGS = @XCB_CFLAGS@
230XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 232XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
231XCB_GL_LIBS = @XCB_GL_LIBS@ 233XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -299,8 +301,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
299evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 301evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
300evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 302evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
301evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 303evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
302evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
303evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/Makefile.am b/libraries/evas/src/modules/engines/Makefile.am
index 42585cc..e29fb98 100644
--- a/libraries/evas/src/modules/engines/Makefile.am
+++ b/libraries/evas/src/modules/engines/Makefile.am
@@ -53,9 +53,6 @@ endif
53if !EVAS_STATIC_BUILD_SOFTWARE_16_X11 53if !EVAS_STATIC_BUILD_SOFTWARE_16_X11
54SUBDIRS += software_16_x11 54SUBDIRS += software_16_x11
55endif 55endif
56if !EVAS_STATIC_BUILD_SOFTWARE_SDL
57SUBDIRS += software_sdl
58endif
59if !EVAS_STATIC_BUILD_SOFTWARE_16_SDL 56if !EVAS_STATIC_BUILD_SOFTWARE_16_SDL
60SUBDIRS += software_16_sdl 57SUBDIRS += software_16_sdl
61endif 58endif
diff --git a/libraries/evas/src/modules/engines/Makefile.in b/libraries/evas/src/modules/engines/Makefile.in
index 5820026..7388a48 100644
--- a/libraries/evas/src/modules/engines/Makefile.in
+++ b/libraries/evas/src/modules/engines/Makefile.in
@@ -49,13 +49,12 @@ host_triplet = @host@
49@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@am__append_14 = software_16_ddraw 49@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@am__append_14 = software_16_ddraw
50@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@am__append_15 = software_16_wince 50@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@am__append_15 = software_16_wince
51@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@am__append_16 = software_16_x11 51@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@am__append_16 = software_16_x11
52@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am__append_17 = software_sdl 52@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am__append_17 = software_16_sdl
53@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am__append_18 = software_16_sdl 53@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE@am__append_18 = software_ddraw
54@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE@am__append_19 = software_ddraw 54@EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE@am__append_19 = software_gdi
55@EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE@am__append_20 = software_gdi 55@EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE@am__append_20 = software_x11
56@EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE@am__append_21 = software_x11 56@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@am__append_21 = wayland_shm
57@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@am__append_22 = wayland_shm 57@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@am__append_22 = wayland_egl
58@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@am__append_23 = wayland_egl
59subdir = src/modules/engines 58subdir = src/modules/engines
60DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 59DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
61ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 60ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -103,8 +102,8 @@ CTAGS = ctags
103DIST_SUBDIRS = software_generic buffer direct3d directfb fb psl1ght \ 102DIST_SUBDIRS = software_generic buffer direct3d directfb fb psl1ght \
104 gl_common gl_x11 gl_sdl gl_cocoa software_8 software_8_x11 \ 103 gl_common gl_x11 gl_sdl gl_cocoa software_8 software_8_x11 \
105 software_16 software_16_ddraw software_16_wince \ 104 software_16 software_16_ddraw software_16_wince \
106 software_16_x11 software_sdl software_16_sdl software_ddraw \ 105 software_16_x11 software_16_sdl software_ddraw software_gdi \
107 software_gdi software_x11 wayland_shm wayland_egl 106 software_x11 wayland_shm wayland_egl
108DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 107DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
109am__relativize = \ 108am__relativize = \
110 dir0=`pwd`; \ 109 dir0=`pwd`; \
@@ -183,6 +182,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
183EVIL_CFLAGS = @EVIL_CFLAGS@ 182EVIL_CFLAGS = @EVIL_CFLAGS@
184EVIL_LIBS = @EVIL_LIBS@ 183EVIL_LIBS = @EVIL_LIBS@
185EXEEXT = @EXEEXT@ 184EXEEXT = @EXEEXT@
185EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
186EXOTIC_LIBS = @EXOTIC_LIBS@
186FGREP = @FGREP@ 187FGREP = @FGREP@
187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 188FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 189FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -233,6 +234,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 234PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
234PIXMAN_LIBS = @PIXMAN_LIBS@ 235PIXMAN_LIBS = @PIXMAN_LIBS@
235PKG_CONFIG = @PKG_CONFIG@ 236PKG_CONFIG = @PKG_CONFIG@
237PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
238PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
236PNG_CFLAGS = @PNG_CFLAGS@ 239PNG_CFLAGS = @PNG_CFLAGS@
237PNG_LIBS = @PNG_LIBS@ 240PNG_LIBS = @PNG_LIBS@
238RANLIB = @RANLIB@ 241RANLIB = @RANLIB@
@@ -251,8 +254,6 @@ VERSION = @VERSION@
251VMAJ = @VMAJ@ 254VMAJ = @VMAJ@
252WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 255WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
253WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 256WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
254WIN32_CFLAGS = @WIN32_CFLAGS@
255WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
256XCB_CFLAGS = @XCB_CFLAGS@ 257XCB_CFLAGS = @XCB_CFLAGS@
257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 258XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
258XCB_GL_LIBS = @XCB_GL_LIBS@ 259XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -326,8 +327,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 327evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 328evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 329evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
329evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
330evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
331evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 330evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
332evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 331evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
333evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 332evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +417,7 @@ SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3) \
418 $(am__append_13) $(am__append_14) $(am__append_15) \ 417 $(am__append_13) $(am__append_14) $(am__append_15) \
419 $(am__append_16) $(am__append_17) $(am__append_18) \ 418 $(am__append_16) $(am__append_17) $(am__append_18) \
420 $(am__append_19) $(am__append_20) $(am__append_21) \ 419 $(am__append_19) $(am__append_20) $(am__append_21) \
421 $(am__append_22) $(am__append_23) 420 $(am__append_22)
422all: all-recursive 421all: all-recursive
423 422
424.SUFFIXES: 423.SUFFIXES:
diff --git a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
index e6d11d1..a9cbbfb 100644
--- a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
+++ b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
@@ -29,7 +29,10 @@ struct _Evas_Engine_Info_Buffer
29 struct { 29 struct {
30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
31 void (*free_update_region) (int x, int y, int w, int h, void *data); 31 void (*free_update_region) (int x, int y, int w, int h, void *data);
32 void * (*switch_buffer) (void *data, void *dest_buffer);
32 } func; 33 } func;
34
35 void *switch_data;
33 } info; 36 } info;
34 37
35 /* non-blocking or blocking mode */ 38 /* non-blocking or blocking mode */
diff --git a/libraries/evas/src/modules/engines/buffer/Makefile.am b/libraries/evas/src/modules/engines/buffer/Makefile.am
index 19ac5a7..4090b6f 100644
--- a/libraries/evas/src/modules/engines/buffer/Makefile.am
+++ b/libraries/evas/src/modules/engines/buffer/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@FREETYPE_CFLAGS@ \ 10@FREETYPE_CFLAGS@ \
11@PIXMAN_CFLAGS@ 11@PIXMAN_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_ENGINE_BUFFER 13if BUILD_ENGINE_BUFFER
16 14
17BUFFER_SOURCES = \ 15BUFFER_SOURCES = \
diff --git a/libraries/evas/src/modules/engines/buffer/Makefile.in b/libraries/evas/src/modules/engines/buffer/Makefile.in
index ec9c0b8..bd9818e 100644
--- a/libraries/evas/src/modules/engines/buffer/Makefile.in
+++ b/libraries/evas/src/modules/engines/buffer/Makefile.in
@@ -190,6 +190,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -240,6 +242,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
241PIXMAN_LIBS = @PIXMAN_LIBS@ 243PIXMAN_LIBS = @PIXMAN_LIBS@
242PKG_CONFIG = @PKG_CONFIG@ 244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
243PNG_CFLAGS = @PNG_CFLAGS@ 247PNG_CFLAGS = @PNG_CFLAGS@
244PNG_LIBS = @PNG_LIBS@ 248PNG_LIBS = @PNG_LIBS@
245RANLIB = @RANLIB@ 249RANLIB = @RANLIB@
@@ -258,8 +262,6 @@ VERSION = @VERSION@
258VMAJ = @VMAJ@ 262VMAJ = @VMAJ@
259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
261WIN32_CFLAGS = @WIN32_CFLAGS@
262WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
263XCB_CFLAGS = @XCB_CFLAGS@ 265XCB_CFLAGS = @XCB_CFLAGS@
264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
265XCB_GL_LIBS = @XCB_GL_LIBS@ 267XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -333,8 +335,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
336evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
337evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -427,7 +427,6 @@ AM_CPPFLAGS = \
427@FREETYPE_CFLAGS@ \ 427@FREETYPE_CFLAGS@ \
428@PIXMAN_CFLAGS@ 428@PIXMAN_CFLAGS@
429 429
430AM_CFLAGS = @WIN32_CFLAGS@
431@BUILD_ENGINE_BUFFER_TRUE@BUFFER_SOURCES = \ 430@BUILD_ENGINE_BUFFER_TRUE@BUFFER_SOURCES = \
432@BUILD_ENGINE_BUFFER_TRUE@evas_engine.c \ 431@BUILD_ENGINE_BUFFER_TRUE@evas_engine.c \
433@BUILD_ENGINE_BUFFER_TRUE@evas_outbuf.c 432@BUILD_ENGINE_BUFFER_TRUE@evas_outbuf.c
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.c b/libraries/evas/src/modules/engines/buffer/evas_engine.c
index e8dff7a..758ef10 100644
--- a/libraries/evas/src/modules/engines/buffer/evas_engine.c
+++ b/libraries/evas/src/modules/engines/buffer/evas_engine.c
@@ -25,11 +25,12 @@ struct _Render_Engine
25 Outbuf *ob; 25 Outbuf *ob;
26 Tilebuf_Rect *rects; 26 Tilebuf_Rect *rects;
27 Eina_Inlist *cur_rect; 27 Eina_Inlist *cur_rect;
28 Eina_Inarray previous_rects;
28 int end : 1; 29 int end : 1;
29}; 30};
30 31
31/* prototypes we will use here */ 32/* prototypes we will use here */
32static void *_output_setup(int w, int h, void *dest_buffer, int dest_buffer_row_bytes, int depth_type, int use_color_key, int alpha_threshold, int color_key_r, int color_key_g, int color_key_b, void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes), void (*free_update_region) (int x, int y, int w, int h, void *data)); 33static void *_output_setup(int w, int h, void *dest_buffer, int dest_buffer_row_bytes, int depth_type, int use_color_key, int alpha_threshold, int color_key_r, int color_key_g, int color_key_b, void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes), void (*free_update_region) (int x, int y, int w, int h, void *data), void *(*switch_buffer) (void *data, void *dest_buffer), void *switch_data);
33 34
34static void *eng_info(Evas *e __UNUSED__); 35static void *eng_info(Evas *e __UNUSED__);
35static void eng_info_free(Evas *e __UNUSED__, void *info); 36static void eng_info_free(Evas *e __UNUSED__, void *info);
@@ -58,7 +59,9 @@ _output_setup(int w,
58 int color_key_g, 59 int color_key_g,
59 int color_key_b, 60 int color_key_b,
60 void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes), 61 void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes),
61 void (*free_update_region) (int x, int y, int w, int h, void *data) 62 void (*free_update_region) (int x, int y, int w, int h, void *data),
63 void *(*switch_buffer) (void *data, void *dest_buffer),
64 void *switch_data
62 ) 65 )
63{ 66{
64 Render_Engine *re; 67 Render_Engine *re;
@@ -81,7 +84,7 @@ _output_setup(int w,
81 evas_common_tilebuf_init(); 84 evas_common_tilebuf_init();
82 85
83 evas_buffer_outbuf_buf_init(); 86 evas_buffer_outbuf_buf_init();
84 87
85 { 88 {
86 Outbuf_Depth dep; 89 Outbuf_Depth dep;
87 DATA32 color_key = 0; 90 DATA32 color_key = 0;
@@ -110,10 +113,13 @@ _output_setup(int w,
110 color_key, 113 color_key,
111 alpha_threshold, 114 alpha_threshold,
112 new_update_region, 115 new_update_region,
113 free_update_region); 116 free_update_region,
117 switch_buffer,
118 switch_data);
114 } 119 }
115 re->tb = evas_common_tilebuf_new(w, h); 120 re->tb = evas_common_tilebuf_new(w, h);
116 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); 121 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
122 eina_inarray_setup(&re->previous_rects, sizeof (Eina_Rectangle), 8);
117 return re; 123 return re;
118} 124}
119 125
@@ -155,7 +161,9 @@ eng_setup(Evas *e, void *in)
155 info->info.color_key_g, 161 info->info.color_key_g,
156 info->info.color_key_b, 162 info->info.color_key_b,
157 info->info.func.new_update_region, 163 info->info.func.new_update_region,
158 info->info.func.free_update_region); 164 info->info.func.free_update_region,
165 info->info.func.switch_buffer,
166 info->info.switch_data);
159 if (e->engine.data.output) 167 if (e->engine.data.output)
160 eng_output_free(e->engine.data.output); 168 eng_output_free(e->engine.data.output);
161 e->engine.data.output = re; 169 e->engine.data.output = re;
@@ -195,6 +203,8 @@ eng_output_resize(void *data, int w, int h)
195 char use_color_key; 203 char use_color_key;
196 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 204 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
197 void (*free_update_region) (int x, int y, int w, int h, void *data); 205 void (*free_update_region) (int x, int y, int w, int h, void *data);
206 void * (*switch_buffer) (void *switch_data, void *dest);
207 void *switch_data;
198 208
199 depth = re->ob->depth; 209 depth = re->ob->depth;
200 dest = re->ob->dest; 210 dest = re->ob->dest;
@@ -204,6 +214,8 @@ eng_output_resize(void *data, int w, int h)
204 use_color_key = re->ob->use_color_key; 214 use_color_key = re->ob->use_color_key;
205 new_update_region = re->ob->func.new_update_region; 215 new_update_region = re->ob->func.new_update_region;
206 free_update_region = re->ob->func.free_update_region; 216 free_update_region = re->ob->func.free_update_region;
217 switch_buffer = re->ob->func.switch_buffer;
218 switch_data = re->ob->switch_data;
207 evas_buffer_outbuf_buf_free(re->ob); 219 evas_buffer_outbuf_buf_free(re->ob);
208 re->ob = evas_buffer_outbuf_buf_setup_fb(w, 220 re->ob = evas_buffer_outbuf_buf_setup_fb(w,
209 h, 221 h,
@@ -214,7 +226,9 @@ eng_output_resize(void *data, int w, int h)
214 color_key, 226 color_key,
215 alpha_level, 227 alpha_level,
216 new_update_region, 228 new_update_region,
217 free_update_region); 229 free_update_region,
230 switch_buffer,
231 switch_data);
218 } 232 }
219 evas_common_tilebuf_free(re->tb); 233 evas_common_tilebuf_free(re->tb);
220 re->tb = evas_common_tilebuf_new(w, h); 234 re->tb = evas_common_tilebuf_new(w, h);
@@ -275,6 +289,37 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
275 if (!re->rects) 289 if (!re->rects)
276 { 290 {
277 re->rects = evas_common_tilebuf_get_render_rects(re->tb); 291 re->rects = evas_common_tilebuf_get_render_rects(re->tb);
292
293 /* handle double buffering */
294 if (re->ob->func.switch_buffer)
295 {
296 Eina_Rectangle *pushing;
297
298 if (re->ob->first_frame && !re->previous_rects.len)
299 {
300 evas_common_tilebuf_add_redraw(re->tb, 0, 0, re->ob->w, re->ob->h);
301 re->ob->first_frame = 0;
302 }
303
304 /* push previous frame */
305 EINA_INARRAY_FOREACH(&re->previous_rects, pushing)
306 evas_common_tilebuf_add_redraw(re->tb, pushing->x, pushing->y, pushing->w, pushing->h);
307 eina_inarray_flush(&re->previous_rects);
308
309 /* save current list of damage */
310 EINA_INLIST_FOREACH(re->rects, rect)
311 {
312 Eina_Rectangle local;
313
314 EINA_RECTANGLE_SET(&local, rect->x, rect->y, rect->w, rect->h);
315 eina_inarray_append(&re->previous_rects, &local);
316 }
317
318 /* and regenerate the damage list by tacking into account the damage over two frames */
319 evas_common_tilebuf_free_render_rects(re->rects);
320 re->rects = evas_common_tilebuf_get_render_rects(re->tb);
321 }
322
278 re->cur_rect = EINA_INLIST_GET(re->rects); 323 re->cur_rect = EINA_INLIST_GET(re->rects);
279 } 324 }
280 if (!re->cur_rect) return NULL; 325 if (!re->cur_rect) return NULL;
@@ -306,7 +351,7 @@ eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int
306 re = (Render_Engine *)data; 351 re = (Render_Engine *)data;
307#ifdef BUILD_PIPE_RENDER 352#ifdef BUILD_PIPE_RENDER
308 evas_common_pipe_map_begin(surface); 353 evas_common_pipe_map_begin(surface);
309#endif 354#endif
310 evas_buffer_outbuf_buf_push_updated_region(re->ob, surface, x, y, w, h); 355 evas_buffer_outbuf_buf_push_updated_region(re->ob, surface, x, y, w, h);
311 evas_buffer_outbuf_buf_free_region_for_update(re->ob, surface); 356 evas_buffer_outbuf_buf_free_region_for_update(re->ob, surface);
312 evas_common_cpu_end_opt(); 357 evas_common_cpu_end_opt();
@@ -315,17 +360,13 @@ eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int
315static void 360static void
316eng_output_flush(void *data) 361eng_output_flush(void *data)
317{ 362{
318 Render_Engine *re; 363 Render_Engine *re = (Render_Engine *)data;
319 364 evas_buffer_outbuf_buf_switch_buffer(re->ob);
320 re = (Render_Engine *)data;
321} 365}
322 366
323static void 367static void
324eng_output_idle_flush(void *data) 368eng_output_idle_flush(void *data __UNUSED__)
325{ 369{
326 Render_Engine *re;
327
328 re = (Render_Engine *)data;
329} 370}
330 371
331static Eina_Bool 372static Eina_Bool
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.h b/libraries/evas/src/modules/engines/buffer/evas_engine.h
index 21c988c..af82477 100644
--- a/libraries/evas/src/modules/engines/buffer/evas_engine.h
+++ b/libraries/evas/src/modules/engines/buffer/evas_engine.h
@@ -52,14 +52,17 @@ struct _Outbuf
52 52
53 void *dest; 53 void *dest;
54 unsigned int dest_row_bytes; 54 unsigned int dest_row_bytes;
55 void *switch_data;
55 56
56 int alpha_level; 57 int alpha_level;
57 DATA32 color_key; 58 DATA32 color_key;
58 char use_color_key : 1; 59 char use_color_key : 1;
60 char first_frame : 1;
59 61
60 struct { 62 struct {
61 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 63 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
62 void (*free_update_region) (int x, int y, int w, int h, void *data); 64 void (*free_update_region) (int x, int y, int w, int h, void *data);
65 void * (*switch_buffer) (void *data, void *dest_buffer);
63 } func; 66 } func;
64 67
65 struct { 68 struct {
@@ -74,12 +77,15 @@ void evas_buffer_outbuf_buf_free (Outbuf *buf);
74 77
75Outbuf *evas_buffer_outbuf_buf_setup_fb (int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level, 78Outbuf *evas_buffer_outbuf_buf_setup_fb (int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level,
76 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes), 79 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes),
77 void (*free_update_region) (int x, int y, int w, int h, void *data)); 80 void (*free_update_region) (int x, int y, int w, int h, void *data),
81 void * (*switch_buffer)(void *switch_data, void *dest),
82 void *switch_data);
78 83
79 84
80RGBA_Image *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 85RGBA_Image *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
81void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update); 86void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update);
82void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h); 87void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h);
88void evas_buffer_outbuf_buf_switch_buffer (Outbuf *buf);
83 89
84#endif 90#endif
85 91
diff --git a/libraries/evas/src/modules/engines/buffer/evas_outbuf.c b/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
index 27f7a2c..0fa1842 100644
--- a/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
@@ -19,11 +19,12 @@ evas_buffer_outbuf_buf_free(Outbuf *buf)
19Outbuf * 19Outbuf *
20evas_buffer_outbuf_buf_setup_fb(int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level, 20evas_buffer_outbuf_buf_setup_fb(int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level,
21 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes), 21 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes),
22 void (*free_update_region) (int x, int y, int w, int h, void *data) 22 void (*free_update_region) (int x, int y, int w, int h, void *data),
23 void * (*switch_buffer) (void *data, void *dest_buffer),
24 void *switch_data
23 ) 25 )
24{ 26{
25 Outbuf *buf; 27 Outbuf *buf;
26 int bpp;
27 28
28 buf = calloc(1, sizeof(Outbuf)); 29 buf = calloc(1, sizeof(Outbuf));
29 if (!buf) return NULL; 30 if (!buf) return NULL;
@@ -38,14 +39,12 @@ evas_buffer_outbuf_buf_setup_fb(int w, int h, Outbuf_Depth depth, void *dest, in
38 buf->alpha_level = alpha_level; 39 buf->alpha_level = alpha_level;
39 buf->color_key = color_key; 40 buf->color_key = color_key;
40 buf->use_color_key = use_color_key; 41 buf->use_color_key = use_color_key;
42 buf->first_frame = 1;
41 43
42 buf->func.new_update_region = new_update_region; 44 buf->func.new_update_region = new_update_region;
43 buf->func.free_update_region = free_update_region; 45 buf->func.free_update_region = free_update_region;
44 46 buf->func.switch_buffer = switch_buffer;
45 bpp = sizeof(DATA32); 47 buf->switch_data = switch_data;
46 if ((buf->depth == OUTBUF_DEPTH_RGB_24BPP_888_888) ||
47 (buf->depth == OUTBUF_DEPTH_BGR_24BPP_888_888))
48 bpp = 3;
49 48
50 if ((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888) && 49 if ((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888) &&
51 (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32)))) 50 (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32))))
@@ -102,6 +101,24 @@ evas_buffer_outbuf_buf_free_region_for_update(Outbuf *buf, RGBA_Image *update)
102} 101}
103 102
104void 103void
104evas_buffer_outbuf_buf_switch_buffer(Outbuf *buf)
105{
106 if (buf->func.switch_buffer)
107 {
108 buf->dest = buf->func.switch_buffer(buf->switch_data, buf->dest);
109 if (buf->priv.back_buf)
110 {
111 evas_cache_image_drop(&buf->priv.back_buf->cache_entry);
112 buf->priv.back_buf = (RGBA_Image *) evas_cache_image_data(evas_common_image_cache_get(),
113 buf->w, buf->h,
114 buf->dest,
115 buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888 ? 1 : 0,
116 EVAS_COLORSPACE_ARGB8888);
117 }
118 }
119}
120
121void
105evas_buffer_outbuf_buf_push_updated_region(Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h) 122evas_buffer_outbuf_buf_push_updated_region(Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h)
106{ 123{
107 /* copy update image to out buf & convert */ 124 /* copy update image to out buf & convert */
diff --git a/libraries/evas/src/modules/engines/direct3d/Makefile.in b/libraries/evas/src/modules/engines/direct3d/Makefile.in
index 85baff8..fe979a8 100644
--- a/libraries/evas/src/modules/engines/direct3d/Makefile.in
+++ b/libraries/evas/src/modules/engines/direct3d/Makefile.in
@@ -243,6 +243,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
243EVIL_CFLAGS = @EVIL_CFLAGS@ 243EVIL_CFLAGS = @EVIL_CFLAGS@
244EVIL_LIBS = @EVIL_LIBS@ 244EVIL_LIBS = @EVIL_LIBS@
245EXEEXT = @EXEEXT@ 245EXEEXT = @EXEEXT@
246EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
247EXOTIC_LIBS = @EXOTIC_LIBS@
246FGREP = @FGREP@ 248FGREP = @FGREP@
247FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 249FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
248FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 250FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -293,6 +295,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
293PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 295PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
294PIXMAN_LIBS = @PIXMAN_LIBS@ 296PIXMAN_LIBS = @PIXMAN_LIBS@
295PKG_CONFIG = @PKG_CONFIG@ 297PKG_CONFIG = @PKG_CONFIG@
298PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
299PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
296PNG_CFLAGS = @PNG_CFLAGS@ 300PNG_CFLAGS = @PNG_CFLAGS@
297PNG_LIBS = @PNG_LIBS@ 301PNG_LIBS = @PNG_LIBS@
298RANLIB = @RANLIB@ 302RANLIB = @RANLIB@
@@ -311,8 +315,6 @@ VERSION = @VERSION@
311VMAJ = @VMAJ@ 315VMAJ = @VMAJ@
312WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 316WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
313WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 317WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
314WIN32_CFLAGS = @WIN32_CFLAGS@
315WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
316XCB_CFLAGS = @XCB_CFLAGS@ 318XCB_CFLAGS = @XCB_CFLAGS@
317XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 319XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
318XCB_GL_LIBS = @XCB_GL_LIBS@ 320XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -386,8 +388,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
386evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 388evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
387evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 389evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
388evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 390evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
389evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
390evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
391evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 391evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
392evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 392evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
393evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 393evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/directfb/Makefile.am b/libraries/evas/src/modules/engines/directfb/Makefile.am
index 5b00166..967e594 100644
--- a/libraries/evas/src/modules/engines/directfb/Makefile.am
+++ b/libraries/evas/src/modules/engines/directfb/Makefile.am
@@ -11,8 +11,6 @@ AM_CPPFLAGS = \
11@EINA_CFLAGS@ \ 11@EINA_CFLAGS@ \
12@evas_engine_directfb_cflags@ 12@evas_engine_directfb_cflags@
13 13
14AM_CFLAGS = @WIN32_CFLAGS@
15
16if BUILD_ENGINE_DIRECTFB 14if BUILD_ENGINE_DIRECTFB
17 15
18DIRECTFB_SOURCES = evas_engine.c polygon.c 16DIRECTFB_SOURCES = evas_engine.c polygon.c
diff --git a/libraries/evas/src/modules/engines/directfb/Makefile.in b/libraries/evas/src/modules/engines/directfb/Makefile.in
index df2f63b..7d642c9 100644
--- a/libraries/evas/src/modules/engines/directfb/Makefile.in
+++ b/libraries/evas/src/modules/engines/directfb/Makefile.in
@@ -190,6 +190,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -240,6 +242,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
241PIXMAN_LIBS = @PIXMAN_LIBS@ 243PIXMAN_LIBS = @PIXMAN_LIBS@
242PKG_CONFIG = @PKG_CONFIG@ 244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
243PNG_CFLAGS = @PNG_CFLAGS@ 247PNG_CFLAGS = @PNG_CFLAGS@
244PNG_LIBS = @PNG_LIBS@ 248PNG_LIBS = @PNG_LIBS@
245RANLIB = @RANLIB@ 249RANLIB = @RANLIB@
@@ -258,8 +262,6 @@ VERSION = @VERSION@
258VMAJ = @VMAJ@ 262VMAJ = @VMAJ@
259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
261WIN32_CFLAGS = @WIN32_CFLAGS@
262WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
263XCB_CFLAGS = @XCB_CFLAGS@ 265XCB_CFLAGS = @XCB_CFLAGS@
264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
265XCB_GL_LIBS = @XCB_GL_LIBS@ 267XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -333,8 +335,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
336evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
337evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -428,7 +428,6 @@ AM_CPPFLAGS = \
428@EINA_CFLAGS@ \ 428@EINA_CFLAGS@ \
429@evas_engine_directfb_cflags@ 429@evas_engine_directfb_cflags@
430 430
431AM_CFLAGS = @WIN32_CFLAGS@
432@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_SOURCES = evas_engine.c polygon.c 431@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_SOURCES = evas_engine.c polygon.c
433@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_LIBADD = @evas_engine_directfb_libs@ 432@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_LIBADD = @evas_engine_directfb_libs@
434@BUILD_ENGINE_DIRECTFB_TRUE@includes_HEADERS = Evas_Engine_DirectFB.h 433@BUILD_ENGINE_DIRECTFB_TRUE@includes_HEADERS = Evas_Engine_DirectFB.h
diff --git a/libraries/evas/src/modules/engines/directfb/evas_engine.c b/libraries/evas/src/modules/engines/directfb/evas_engine.c
index 17914ab..5347d2d 100644
--- a/libraries/evas/src/modules/engines/directfb/evas_engine.c
+++ b/libraries/evas/src/modules/engines/directfb/evas_engine.c
@@ -1138,7 +1138,8 @@ evas_engine_dfb_rectangle_draw(void *data, void *context, void *surface, int x,
1138static void 1138static void
1139evas_engine_dfb_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y) 1139evas_engine_dfb_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y)
1140{ 1140{
1141 _dfb_polygon_draw(surface, context, polygon, x, y); 1141 DirectFB_Engine_Image_Entry *eim = surface;
1142 _dfb_polygon_draw(eim->surface, context, polygon, x, y);
1142} 1143}
1143#else 1144#else
1144static void 1145static void
diff --git a/libraries/evas/src/modules/engines/fb/Makefile.in b/libraries/evas/src/modules/engines/fb/Makefile.in
index 1e82b34..31d222a 100644
--- a/libraries/evas/src/modules/engines/fb/Makefile.in
+++ b/libraries/evas/src/modules/engines/fb/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/fb/evas_engine.c b/libraries/evas/src/modules/engines/fb/evas_engine.c
index 7681b00..e15c02b 100644
--- a/libraries/evas/src/modules/engines/fb/evas_engine.c
+++ b/libraries/evas/src/modules/engines/fb/evas_engine.c
@@ -74,7 +74,7 @@ _output_setup(int w, int h, int rot, int vt, int dev, int refresh)
74 74
75/* engine api this module provides */ 75/* engine api this module provides */
76static void * 76static void *
77eng_info(Evas *e) 77eng_info(Evas *e __UNUSED__)
78{ 78{
79 Evas_Engine_Info_FB *info; 79 Evas_Engine_Info_FB *info;
80 info = calloc(1, sizeof(Evas_Engine_Info_FB)); 80 info = calloc(1, sizeof(Evas_Engine_Info_FB));
@@ -82,7 +82,6 @@ eng_info(Evas *e)
82 info->magic.magic = rand(); 82 info->magic.magic = rand();
83 info->render_mode = EVAS_RENDER_MODE_BLOCKING; 83 info->render_mode = EVAS_RENDER_MODE_BLOCKING;
84 return info; 84 return info;
85 e = NULL;
86} 85}
87 86
88static void 87static void
@@ -231,19 +230,13 @@ eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int
231} 230}
232 231
233static void 232static void
234eng_output_flush(void *data) 233eng_output_flush(void *data __UNUSED__)
235{ 234{
236 Render_Engine *re;
237
238 re = (Render_Engine *)data;
239} 235}
240 236
241static void 237static void
242eng_output_idle_flush(void *data) 238eng_output_idle_flush(void *data __UNUSED__)
243{ 239{
244 Render_Engine *re;
245
246 re = (Render_Engine *)data;
247} 240}
248 241
249static Eina_Bool 242static Eina_Bool
diff --git a/libraries/evas/src/modules/engines/fb/evas_outbuf.c b/libraries/evas/src/modules/engines/fb/evas_outbuf.c
index 57cf7a6..7ae24c5 100644
--- a/libraries/evas/src/modules/engines/fb/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/fb/evas_outbuf.c
@@ -25,7 +25,7 @@ evas_fb_outbuf_fb_setup_fb(int w, int h, int rot, Outbuf_Depth depth, int vt_no,
25 /* setup window and/or fb */ 25 /* setup window and/or fb */
26 /* if (dithered) create backbuf */ 26 /* if (dithered) create backbuf */
27 Outbuf *buf; 27 Outbuf *buf;
28 int fb_fd = -1; 28 int fb_fd;
29 int fb_depth; 29 int fb_depth;
30 30
31 fb_depth = -1; 31 fb_depth = -1;
@@ -51,6 +51,11 @@ evas_fb_outbuf_fb_setup_fb(int w, int h, int rot, Outbuf_Depth depth, int vt_no,
51 return NULL; 51 return NULL;
52 } 52 }
53 fb_fd = fb_postinit(buf->priv.fb.fb); 53 fb_fd = fb_postinit(buf->priv.fb.fb);
54 if (fb_fd < 1)
55 {
56 free(buf);
57 return NULL;
58 }
54 59
55 if (rot == 0 || rot == 180) 60 if (rot == 0 || rot == 180)
56 { 61 {
diff --git a/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in b/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in
index 6e616f4..049acb2 100644
--- a/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in
@@ -208,6 +208,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
208EVIL_CFLAGS = @EVIL_CFLAGS@ 208EVIL_CFLAGS = @EVIL_CFLAGS@
209EVIL_LIBS = @EVIL_LIBS@ 209EVIL_LIBS = @EVIL_LIBS@
210EXEEXT = @EXEEXT@ 210EXEEXT = @EXEEXT@
211EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
212EXOTIC_LIBS = @EXOTIC_LIBS@
211FGREP = @FGREP@ 213FGREP = @FGREP@
212FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 214FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
213FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 215FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -258,6 +260,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
258PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 260PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
259PIXMAN_LIBS = @PIXMAN_LIBS@ 261PIXMAN_LIBS = @PIXMAN_LIBS@
260PKG_CONFIG = @PKG_CONFIG@ 262PKG_CONFIG = @PKG_CONFIG@
263PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
264PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
261PNG_CFLAGS = @PNG_CFLAGS@ 265PNG_CFLAGS = @PNG_CFLAGS@
262PNG_LIBS = @PNG_LIBS@ 266PNG_LIBS = @PNG_LIBS@
263RANLIB = @RANLIB@ 267RANLIB = @RANLIB@
@@ -276,8 +280,6 @@ VERSION = @VERSION@
276VMAJ = @VMAJ@ 280VMAJ = @VMAJ@
277WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 281WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
278WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 282WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
279WIN32_CFLAGS = @WIN32_CFLAGS@
280WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
281XCB_CFLAGS = @XCB_CFLAGS@ 283XCB_CFLAGS = @XCB_CFLAGS@
282XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 284XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
283XCB_GL_LIBS = @XCB_GL_LIBS@ 285XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -351,8 +353,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
351evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 353evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
352evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 354evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
353evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 355evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
354evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
355evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
356evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 356evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
357evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 357evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
358evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 358evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_common/Makefile.in b/libraries/evas/src/modules/engines/gl_common/Makefile.in
index 27284f9..5a9a1ef 100644
--- a/libraries/evas/src/modules/engines/gl_common/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_common/Makefile.in
@@ -195,6 +195,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
195EVIL_CFLAGS = @EVIL_CFLAGS@ 195EVIL_CFLAGS = @EVIL_CFLAGS@
196EVIL_LIBS = @EVIL_LIBS@ 196EVIL_LIBS = @EVIL_LIBS@
197EXEEXT = @EXEEXT@ 197EXEEXT = @EXEEXT@
198EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
199EXOTIC_LIBS = @EXOTIC_LIBS@
198FGREP = @FGREP@ 200FGREP = @FGREP@
199FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 201FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
200FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 202FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -245,6 +247,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
245PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 247PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
246PIXMAN_LIBS = @PIXMAN_LIBS@ 248PIXMAN_LIBS = @PIXMAN_LIBS@
247PKG_CONFIG = @PKG_CONFIG@ 249PKG_CONFIG = @PKG_CONFIG@
250PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
251PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
248PNG_CFLAGS = @PNG_CFLAGS@ 252PNG_CFLAGS = @PNG_CFLAGS@
249PNG_LIBS = @PNG_LIBS@ 253PNG_LIBS = @PNG_LIBS@
250RANLIB = @RANLIB@ 254RANLIB = @RANLIB@
@@ -263,8 +267,6 @@ VERSION = @VERSION@
263VMAJ = @VMAJ@ 267VMAJ = @VMAJ@
264WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 268WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
265WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 269WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
266WIN32_CFLAGS = @WIN32_CFLAGS@
267WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
268XCB_CFLAGS = @XCB_CFLAGS@ 270XCB_CFLAGS = @XCB_CFLAGS@
269XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 271XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
270XCB_GL_LIBS = @XCB_GL_LIBS@ 272XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -338,8 +340,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
338evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 340evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
339evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 341evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
340evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 342evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
341evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
342evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
343evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 343evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
344evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 344evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
345evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 345evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c b/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c
index 48499ea..f8ace2e 100644
--- a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c
+++ b/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c
@@ -17,7 +17,10 @@ evas_gl_common_line_draw(Evas_Engine_GL_Context *gc, int x1, int y1, int x2, int
17 } 17 }
18 else 18 else
19 { 19 {
20 r = g = b = a = 255; 20 a = (dc->col.col >> 24) & 0xff;
21 r = (dc->col.col >> 16) & 0xff;
22 g = (dc->col.col >> 8 ) & 0xff;
23 b = (dc->col.col ) & 0xff;
21 } 24 }
22 25
23 glFlush(); 26 glFlush();
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h
index de9acf8..87f4095 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h
@@ -10,11 +10,15 @@
10"varying vec2 tex_c, tex_c2, tex_c3;\n" 10"varying vec2 tex_c, tex_c2, tex_c3;\n"
11"void main()\n" 11"void main()\n"
12"{\n" 12"{\n"
13" const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000,\n" 13" float r, g, b, y, u, v;\n"
14" 0.00000, -0.34410, 1.77200, 0.00000,\n" 14" y = texture2D(tex, tex_c.xy).r;\n"
15" 1.40200, -0.71410, 0.00000, 0.00000,\n" 15" u = texture2D(texu, tex_c2.xy).r;\n"
16" -0.77380, 0.45630, -0.95880, 1.00000);\n" 16" v = texture2D(texv, tex_c3.xy).r;\n"
17" gl_FragColor = (yuv2rgb * vec4(texture2D(tex, tex_c.xy).r,\n" 17" y = (y - 0.0625) * 1.164;\n"
18" texture2D(texu, tex_c2.xy).r,\n" 18" u = u - 0.5;\n"
19" texture2D(texv, tex_c3.xy).r, 1.0)) * col;\n" 19" v = v - 0.5;\n"
20" r = y + (1.402 * v);\n"
21" g = y - (0.34414 * u) - (0.71414 * v);\n"
22" b = y + (1.772 * u);\n"
23" gl_FragColor = vec4(r, g, b, 1.0) * col;\n"
20"}\n" 24"}\n"
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd
index 8e55d14..367fb55 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd
@@ -10,11 +10,15 @@ varying vec4 col;
10varying vec2 tex_c, tex_c2, tex_c3; 10varying vec2 tex_c, tex_c2, tex_c3;
11void main() 11void main()
12{ 12{
13 const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000, 13 float r, g, b, y, u, v;
14 0.00000, -0.34410, 1.77200, 0.00000, 14 y = texture2D(tex, tex_c.xy).r;
15 1.40200, -0.71410, 0.00000, 0.00000, 15 u = texture2D(texu, tex_c2.xy).r;
16 -0.77380, 0.45630, -0.95880, 1.00000); 16 v = texture2D(texv, tex_c3.xy).r;
17 gl_FragColor = (yuv2rgb * vec4(texture2D(tex, tex_c.xy).r, 17 y = (y - 0.0625) * 1.164;
18 texture2D(texu, tex_c2.xy).r, 18 u = u - 0.5;
19 texture2D(texv, tex_c3.xy).r, 1.0)) * col; 19 v = v - 0.5;
20 r = y + (1.402 * v);
21 g = y - (0.34414 * u) - (0.71414 * v);
22 b = y + (1.772 * u);
23 gl_FragColor = vec4(r, g, b, 1.0) * col;
20} 24}
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h
index ee5855c..0df4b97 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h
@@ -9,11 +9,15 @@
9"varying vec2 tex_c, tex_c2, tex_c3;\n" 9"varying vec2 tex_c, tex_c2, tex_c3;\n"
10"void main()\n" 10"void main()\n"
11"{\n" 11"{\n"
12" const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000,\n" 12" float r, g, b, y, u, v;\n"
13" 0.00000, -0.34410, 1.77200, 0.00000,\n" 13" y = texture2D(tex, tex_c.xy).r;\n"
14" 1.40200, -0.71410, 0.00000, 0.00000,\n" 14" u = texture2D(texu, tex_c2.xy).r;\n"
15" -0.77380, 0.45630, -0.95880, 1.00000);\n" 15" v = texture2D(texv, tex_c3.xy).r;\n"
16" gl_FragColor = yuv2rgb * vec4(texture2D(tex, tex_c.xy).r,\n" 16" y = (y - 0.0625) * 1.164;\n"
17" texture2D(texu, tex_c2.xy).r,\n" 17" u = u - 0.5;\n"
18" texture2D(texv, tex_c3.xy).r, 1.0);\n" 18" v = v - 0.5;\n"
19" r = y + (1.402 * v);\n"
20" g = y - (0.34414 * u) - (0.71414 * v);\n"
21" b = y + (1.772 * u);\n"
22" gl_FragColor = vec4(r, g, b, 1.0);\n"
19"}\n" 23"}\n"
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
index 3ec4311..ce24622 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
@@ -9,11 +9,15 @@ uniform sampler2D tex, texu, texv;
9varying vec2 tex_c, tex_c2, tex_c3; 9varying vec2 tex_c, tex_c2, tex_c3;
10void main() 10void main()
11{ 11{
12 const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000, 12 float r, g, b, y, u, v;
13 0.00000, -0.34410, 1.77200, 0.00000, 13 y = texture2D(tex, tex_c.xy).r;
14 1.40200, -0.71410, 0.00000, 0.00000, 14 u = texture2D(texu, tex_c2.xy).r;
15 -0.77380, 0.45630, -0.95880, 1.00000); 15 v = texture2D(texv, tex_c3.xy).r;
16 gl_FragColor = yuv2rgb * vec4(texture2D(tex, tex_c.xy).r, 16 y = (y - 0.0625) * 1.164;
17 texture2D(texu, tex_c2.xy).r, 17 u = u - 0.5;
18 texture2D(texv, tex_c3.xy).r, 1.0); 18 v = v - 0.5;
19 r = y + (1.402 * v);
20 g = y - (0.34414 * u) - (0.71414 * v);
21 b = y + (1.772 * u);
22 gl_FragColor = vec4(r, g, b, 1.0);
19} 23}
diff --git a/libraries/evas/src/modules/engines/gl_sdl/Makefile.in b/libraries/evas/src/modules/engines/gl_sdl/Makefile.in
index bfb29ac..4bc9d59 100644
--- a/libraries/evas/src/modules/engines/gl_sdl/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_sdl/Makefile.in
@@ -189,6 +189,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
189EVIL_CFLAGS = @EVIL_CFLAGS@ 189EVIL_CFLAGS = @EVIL_CFLAGS@
190EVIL_LIBS = @EVIL_LIBS@ 190EVIL_LIBS = @EVIL_LIBS@
191EXEEXT = @EXEEXT@ 191EXEEXT = @EXEEXT@
192EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
193EXOTIC_LIBS = @EXOTIC_LIBS@
192FGREP = @FGREP@ 194FGREP = @FGREP@
193FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 195FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
194FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 196FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -239,6 +241,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
239PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 241PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
240PIXMAN_LIBS = @PIXMAN_LIBS@ 242PIXMAN_LIBS = @PIXMAN_LIBS@
241PKG_CONFIG = @PKG_CONFIG@ 243PKG_CONFIG = @PKG_CONFIG@
244PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
245PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
242PNG_CFLAGS = @PNG_CFLAGS@ 246PNG_CFLAGS = @PNG_CFLAGS@
243PNG_LIBS = @PNG_LIBS@ 247PNG_LIBS = @PNG_LIBS@
244RANLIB = @RANLIB@ 248RANLIB = @RANLIB@
@@ -257,8 +261,6 @@ VERSION = @VERSION@
257VMAJ = @VMAJ@ 261VMAJ = @VMAJ@
258WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 262WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
259WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 263WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
260WIN32_CFLAGS = @WIN32_CFLAGS@
261WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
262XCB_CFLAGS = @XCB_CFLAGS@ 264XCB_CFLAGS = @XCB_CFLAGS@
263XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 265XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
264XCB_GL_LIBS = @XCB_GL_LIBS@ 266XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -332,8 +334,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
332evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 334evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
333evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 335evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
334evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 336evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
335evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
336evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
337evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 337evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
338evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 338evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
339evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 339evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_x11/Makefile.in b/libraries/evas/src/modules/engines/gl_x11/Makefile.in
index ad4944e..3ac8dff 100644
--- a/libraries/evas/src/modules/engines/gl_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_x11/Makefile.in
@@ -192,6 +192,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
192EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
193EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
194EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
195FGREP = @FGREP@ 197FGREP = @FGREP@
196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -242,6 +244,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
243PIXMAN_LIBS = @PIXMAN_LIBS@ 245PIXMAN_LIBS = @PIXMAN_LIBS@
244PKG_CONFIG = @PKG_CONFIG@ 246PKG_CONFIG = @PKG_CONFIG@
247PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
248PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
245PNG_CFLAGS = @PNG_CFLAGS@ 249PNG_CFLAGS = @PNG_CFLAGS@
246PNG_LIBS = @PNG_LIBS@ 250PNG_LIBS = @PNG_LIBS@
247RANLIB = @RANLIB@ 251RANLIB = @RANLIB@
@@ -260,8 +264,6 @@ VERSION = @VERSION@
260VMAJ = @VMAJ@ 264VMAJ = @VMAJ@
261WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 265WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
262WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 266WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
263WIN32_CFLAGS = @WIN32_CFLAGS@
264WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
265XCB_CFLAGS = @XCB_CFLAGS@ 267XCB_CFLAGS = @XCB_CFLAGS@
266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
267XCB_GL_LIBS = @XCB_GL_LIBS@ 269XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -335,8 +337,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
338evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
339evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
340evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 340evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
341evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 341evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
342evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 342evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_x11/evas_engine.c b/libraries/evas/src/modules/engines/gl_x11/evas_engine.c
index fbbd1a2..06348b4 100644
--- a/libraries/evas/src/modules/engines/gl_x11/evas_engine.c
+++ b/libraries/evas/src/modules/engines/gl_x11/evas_engine.c
@@ -41,6 +41,17 @@ struct _Render_Engine
41 int w, h; 41 int w, h;
42 int vsync; 42 int vsync;
43 43
44 // Shader used for Evas_GL_Direct Optimization
45 GLuint df_program;
46 GLuint df_vtx_shader;
47 GLuint df_fgmt_shader;
48 GLuint df_col_attrib;
49 GLuint df_pos_attrib;
50
51 GLfloat df_clear_color[4];
52 GLfloat df_depth_value;
53
54 int df_initialized;
44}; 55};
45 56
46struct _Render_Engine_GL_Surface 57struct _Render_Engine_GL_Surface
@@ -51,6 +62,8 @@ struct _Render_Engine_GL_Surface
51 int depth_bits; 62 int depth_bits;
52 int stencil_bits; 63 int stencil_bits;
53 64
65 int direct_fb_opt;
66
54 // Render target texture/buffers 67 // Render target texture/buffers
55 GLuint rt_tex; 68 GLuint rt_tex;
56 GLint rt_internal_fmt; 69 GLint rt_internal_fmt;
@@ -60,6 +73,12 @@ struct _Render_Engine_GL_Surface
60 GLuint rb_stencil; 73 GLuint rb_stencil;
61 GLenum rb_stencil_fmt; 74 GLenum rb_stencil_fmt;
62 75
76#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
77 EGLSurface direct_sfc;
78#else
79 Window direct_sfc;
80#endif
81
63 Render_Engine_GL_Context *current_ctx; 82 Render_Engine_GL_Context *current_ctx;
64}; 83};
65 84
@@ -74,6 +93,10 @@ struct _Render_Engine_GL_Context
74 GLuint context_fbo; 93 GLuint context_fbo;
75 GLuint current_fbo; 94 GLuint current_fbo;
76 95
96
97 int scissor_enabled;
98 int scissor_upated;
99
77 Render_Engine_GL_Surface *current_sfc; 100 Render_Engine_GL_Surface *current_sfc;
78}; 101};
79 102
@@ -99,8 +122,11 @@ struct _Extension_Entry
99 122
100static int initted = 0; 123static int initted = 0;
101static int gl_wins = 0; 124static int gl_wins = 0;
102static Render_Engine_GL_Context *current_evgl_ctx; 125static int gl_direct_override = 0;
103static Render_Engine *current_engine; 126static int gl_direct_enabled = 0;
127static Render_Engine_GL_Context *current_evgl_ctx = NULL;
128static Render_Engine *current_engine = NULL;
129static Evas_Object *gl_direct_img_obj = NULL;
104 130
105static char _gl_ext_string[1024]; 131static char _gl_ext_string[1024];
106static char _evasgl_ext_string[1024]; 132static char _evasgl_ext_string[1024];
@@ -2514,11 +2540,15 @@ eng_image_data_put(void *data, void *image, DATA32 *image_data)
2514 2540
2515 if (im->tex->pt->dyn.data == image_data) 2541 if (im->tex->pt->dyn.data == image_data)
2516 { 2542 {
2517 im->tex->pt->dyn.checked_out--; 2543 if (im->tex->pt->dyn.checked_out > 0)
2544 {
2545 im->tex->pt->dyn.checked_out--;
2518#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 2546#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
2519 if (im->tex->pt->dyn.checked_out == 0) 2547 if (im->tex->pt->dyn.checked_out == 0)
2520 glsym_eglUnmapImageSEC(re->win->egl_disp, im->tex->pt->dyn.img); 2548 glsym_eglUnmapImageSEC(re->win->egl_disp, im->tex->pt->dyn.img);
2521#endif 2549#endif
2550 }
2551
2522 return image; 2552 return image;
2523 } 2553 }
2524 2554
@@ -2605,13 +2635,22 @@ eng_image_draw(void *data, void *context, void *surface, void *image, int src_x,
2605 2635
2606 re = (Render_Engine *)data; 2636 re = (Render_Engine *)data;
2607 if (!image) return; 2637 if (!image) return;
2608 eng_window_use(re->win); 2638
2609 evas_gl_common_context_target_surface_set(re->win->gl_context, surface); 2639 if ((gl_direct_img_obj) && (gl_direct_enabled))
2610 re->win->gl_context->dc = context; 2640 {
2611 evas_gl_common_image_draw(re->win->gl_context, image, 2641 DBG("Rendering Directly to the window");
2612 src_x, src_y, src_w, src_h, 2642 evas_object_image_pixels_dirty_set(gl_direct_img_obj, EINA_TRUE);
2613 dst_x, dst_y, dst_w, dst_h, 2643 }
2614 smooth); 2644 else
2645 {
2646 eng_window_use(re->win);
2647 evas_gl_common_context_target_surface_set(re->win->gl_context, surface);
2648 re->win->gl_context->dc = context;
2649 evas_gl_common_image_draw(re->win->gl_context, image,
2650 src_x, src_y, src_w, src_h,
2651 dst_x, dst_y, dst_w, dst_h,
2652 smooth);
2653 }
2615} 2654}
2616 2655
2617static void 2656static void
@@ -2794,7 +2833,7 @@ static int
2794_set_internal_config(Render_Engine_GL_Surface *sfc, Evas_GL_Config *cfg) 2833_set_internal_config(Render_Engine_GL_Surface *sfc, Evas_GL_Config *cfg)
2795{ 2834{
2796 // Also initialize pixel format here as well... 2835 // Also initialize pixel format here as well...
2797 switch(cfg->color_format) 2836 switch((int)cfg->color_format)
2798 { 2837 {
2799 case EVAS_GL_RGB_888: 2838 case EVAS_GL_RGB_888:
2800 sfc->rt_fmt = GL_RGB; 2839 sfc->rt_fmt = GL_RGB;
@@ -2849,7 +2888,12 @@ _set_internal_config(Render_Engine_GL_Surface *sfc, Evas_GL_Config *cfg)
2849 return 0; 2888 return 0;
2850 } 2889 }
2851 2890
2852 // Do Packed Depth24_Stencil8 Later... 2891 if (cfg->options_bits)
2892 {
2893 if (cfg->options_bits & EVAS_GL_OPTIONS_DIRECT)
2894 sfc->direct_fb_opt = 1;
2895 // Add other options here...
2896 }
2853 2897
2854 return 1; 2898 return 1;
2855} 2899}
@@ -2954,6 +2998,11 @@ eng_gl_surface_create(void *data, void *config, int w, int h)
2954 sfc->rb_depth = 0; 2998 sfc->rb_depth = 0;
2955 sfc->rb_stencil = 0; 2999 sfc->rb_stencil = 0;
2956 3000
3001 /* Allow alpha for evas gl direct rendering */
3002 // FIXME!!!: A little out of place for for now...
3003 if (!gl_direct_override)
3004 if (getenv("EVAS_GL_DIRECT_OVERRIDE")) gl_direct_override = 1;
3005
2957 // Set the internal format based on the config 3006 // Set the internal format based on the config
2958 if (!_set_internal_config(sfc, cfg)) 3007 if (!_set_internal_config(sfc, cfg))
2959 { 3008 {
@@ -2962,6 +3011,16 @@ eng_gl_surface_create(void *data, void *config, int w, int h)
2962 return NULL; 3011 return NULL;
2963 } 3012 }
2964 3013
3014 if (sfc->direct_fb_opt)
3015 {
3016 DBG("Enabling Direct rendering to the Evas' window.");
3017#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3018 sfc->direct_sfc = re->win->egl_surface[0];
3019#else
3020 sfc->direct_sfc = re->win->win;
3021#endif
3022 }
3023
2965 // Create internal resource context if it hasn't been created already 3024 // Create internal resource context if it hasn't been created already
2966 if ((rsc = eina_tls_get(resource_key)) == NULL) 3025 if ((rsc = eina_tls_get(resource_key)) == NULL)
2967 { 3026 {
@@ -3039,6 +3098,17 @@ eng_gl_surface_destroy(void *data, void *surface)
3039 return 0; 3098 return 0;
3040 } 3099 }
3041 3100
3101 // Reset the Framebuffer binding point
3102 if ((current_evgl_ctx) && (current_evgl_ctx->current_fbo == current_evgl_ctx->context_fbo))
3103 {
3104 //glBindFramebuffer(GL_FRAMEBUFFER, 0);
3105 current_evgl_ctx->current_fbo = 0;
3106 current_evgl_ctx->current_sfc = NULL;
3107 }
3108
3109 // Clear direct rendering flag
3110 gl_direct_enabled = 0;
3111
3042 // Delete FBO/RBO and Texture here 3112 // Delete FBO/RBO and Texture here
3043 if (sfc->rt_tex) 3113 if (sfc->rt_tex)
3044 glDeleteTextures(1, &sfc->rt_tex); 3114 glDeleteTextures(1, &sfc->rt_tex);
@@ -3049,6 +3119,8 @@ eng_gl_surface_destroy(void *data, void *surface)
3049 if (sfc->rb_stencil) 3119 if (sfc->rb_stencil)
3050 glDeleteRenderbuffers(1, &sfc->rb_stencil); 3120 glDeleteRenderbuffers(1, &sfc->rb_stencil);
3051 3121
3122
3123
3052#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3124#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3053 ret = eglMakeCurrent(re->win->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 3125 ret = eglMakeCurrent(re->win->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
3054#else 3126#else
@@ -3158,7 +3230,7 @@ eng_gl_context_destroy(void *data, void *context)
3158 3230
3159 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0; 3231 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0;
3160 3232
3161 // 1. Do a make current with the given context 3233 // Do a make current with the given context
3162#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3234#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3163 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface, 3235 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface,
3164 rsc->surface, ctx->context); 3236 rsc->surface, ctx->context);
@@ -3172,11 +3244,11 @@ eng_gl_context_destroy(void *data, void *context)
3172 return 0; 3244 return 0;
3173 } 3245 }
3174 3246
3175 // 2. Delete the FBO 3247 // Delete the FBO
3176 if (ctx->context_fbo) 3248 if (ctx->context_fbo)
3177 glDeleteFramebuffers(1, &ctx->context_fbo); 3249 glDeleteFramebuffers(1, &ctx->context_fbo);
3178 3250
3179 // 3. Destroy the Context 3251 // Destroy the Context
3180#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3252#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3181 eglDestroyContext(re->win->egl_disp, ctx->context); 3253 eglDestroyContext(re->win->egl_disp, ctx->context);
3182 3254
@@ -3239,67 +3311,127 @@ eng_gl_make_current(void *data __UNUSED__, void *surface, void *context)
3239 return 1; 3311 return 1;
3240 } 3312 }
3241 3313
3242 // Do a make current only if it's not already current 3314 // Check if direct rendering is possible:
3243#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3315 // It's possible when direct_fb_opt is on and either current image
3244 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0; 3316 // object is valid or gl_direct_override is on. Override allows
3317 // rendering outside of pixel getter but it doesn't guarantee
3318 // correct rendering.
3319 if ((sfc->direct_fb_opt) && (gl_direct_img_obj || gl_direct_override))
3320 gl_direct_enabled = 1;
3321 else
3322 gl_direct_enabled = 0;
3245 3323
3246 if ((eglGetCurrentContext() != ctx->context) || 3324 if (gl_direct_enabled)
3247 (eglGetCurrentSurface(EGL_READ) != rsc->surface) ||
3248 (eglGetCurrentSurface(EGL_DRAW) != rsc->surface) )
3249 { 3325 {
3250 // Flush remainder of what's in Evas' pipeline 3326 // Do a make current only if it's not already current
3251 if (re->win) eng_window_use(NULL); 3327#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3328 if ((eglGetCurrentContext() != ctx->context) ||
3329 (eglGetCurrentSurface(EGL_READ) != sfc->direct_sfc) ||
3330 (eglGetCurrentSurface(EGL_DRAW) != sfc->direct_sfc) )
3331 {
3332 int curr_fbo = 0;
3333 DBG("Rendering Directly to the window\n");
3252 3334
3253 // Do a make current 3335 // Flush remainder of what's in Evas' pipeline
3254 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface, 3336 if (re->win) eng_window_use(NULL);
3255 rsc->surface, ctx->context); 3337
3256 if (!ret) 3338 // Do a make current
3339 ret = eglMakeCurrent(re->win->egl_disp, sfc->direct_sfc,
3340 sfc->direct_sfc, ctx->context);
3341 if (!ret)
3342 {
3343 ERR("xxxMakeCurrent() failed! code=%#x", eglGetError());
3344 //ERR("xxxMakeCurrent() failed!");
3345 return 0;
3346 }
3347
3348 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &curr_fbo);
3349 if (ctx->context_fbo == curr_fbo)
3350 {
3351 ctx->current_fbo = 0;
3352 glBindFramebuffer(GL_FRAMEBUFFER, 0);
3353 }
3354 }
3355#else
3356 if ((glXGetCurrentContext() != ctx->context))
3257 { 3357 {
3258 ERR("xxxMakeCurrent() failed!"); 3358 // Flush remainder of what's in Evas' pipeline
3259 return 0; 3359 if (re->win) eng_window_use(NULL);
3360
3361 // Do a make current
3362 ret = glXMakeCurrent(re->info->info.display, sfc->direct_sfc, ctx->context);
3363 if (!ret)
3364 {
3365 ERR("xxxMakeCurrent() failed!");
3366 return 0;
3367 }
3260 } 3368 }
3369#endif
3261 } 3370 }
3262#else 3371 else
3263 if ((glXGetCurrentContext() != ctx->context) ||
3264 (glXGetCurrentDrawable() != re->win->win) )
3265 { 3372 {
3266 // Flush remainder of what's in Evas' pipeline 3373 // Do a make current only if it's not already current
3267 if (re->win) eng_window_use(NULL); 3374#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3375 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0;
3268 3376
3269 // Do a make current 3377 if ((eglGetCurrentContext() != ctx->context) ||
3270 ret = glXMakeCurrent(re->info->info.display, re->win->win, ctx->context); 3378 (eglGetCurrentSurface(EGL_READ) != rsc->surface) ||
3271 if (!ret) 3379 (eglGetCurrentSurface(EGL_DRAW) != rsc->surface) )
3272 { 3380 {
3273 ERR("xxxMakeCurrent() failed!"); 3381 // Flush remainder of what's in Evas' pipeline
3274 return 0; 3382 if (re->win) eng_window_use(NULL);
3383
3384 // Do a make current
3385 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface,
3386 rsc->surface, ctx->context);
3387 if (!ret)
3388 {
3389 ERR("xxxMakeCurrent() failed!");
3390 return 0;
3391 }
3275 } 3392 }
3276 } 3393#else
3277#endif 3394 if ((glXGetCurrentContext() != ctx->context) ||
3395 (glXGetCurrentDrawable() != re->win->win) )
3396 {
3397 // Flush remainder of what's in Evas' pipeline
3398 if (re->win) eng_window_use(NULL);
3278 3399
3279 // Create FBO if not already created 3400 // Do a make current
3280 if (!ctx->initialized) 3401 ret = glXMakeCurrent(re->info->info.display, re->win->win, ctx->context);
3281 { 3402 if (!ret)
3282 glGenFramebuffers(1, &ctx->context_fbo); 3403 {
3283 ctx->initialized = 1; 3404 ERR("xxxMakeCurrent() failed!");
3284 } 3405 return 0;
3406 }
3407 }
3408#endif
3285 3409
3286 // Attach FBO if it hasn't been attached or if surface changed 3410 // Create FBO if not already created
3287 if ((!sfc->fbo_attached) || (ctx->current_sfc != sfc)) 3411 if (!ctx->initialized)
3288 {
3289 if (!_attach_fbo_surface(re, sfc, ctx))
3290 { 3412 {
3291 ERR("_attach_fbo_surface() failed."); 3413 glGenFramebuffers(1, &ctx->context_fbo);
3292 return 0; 3414 ctx->initialized = 1;
3293 } 3415 }
3294 3416
3295 if (ctx->current_fbo) 3417 // Attach FBO if it hasn't been attached or if surface changed
3296 // Bind to the previously bound buffer 3418 if ((!sfc->fbo_attached) || (ctx->current_sfc != sfc))
3297 glBindFramebuffer(GL_FRAMEBUFFER, ctx->current_fbo); 3419 {
3298 else 3420 if (!_attach_fbo_surface(re, sfc, ctx))
3299 // Bind FBO 3421 {
3300 glBindFramebuffer(GL_FRAMEBUFFER, ctx->context_fbo); 3422 ERR("_attach_fbo_surface() failed.");
3423 return 0;
3424 }
3301 3425
3302 sfc->fbo_attached = 1; 3426 if (ctx->current_fbo)
3427 // Bind to the previously bound buffer
3428 glBindFramebuffer(GL_FRAMEBUFFER, ctx->current_fbo);
3429 else
3430 // Bind FBO
3431 glBindFramebuffer(GL_FRAMEBUFFER, ctx->context_fbo);
3432
3433 sfc->fbo_attached = 1;
3434 }
3303 } 3435 }
3304 3436
3305 // Set the current surface/context 3437 // Set the current surface/context
@@ -3345,13 +3477,28 @@ eng_gl_native_surface_get(void *data, void *surface, void *native_surface)
3345 sfc = (Render_Engine_GL_Surface*)surface; 3477 sfc = (Render_Engine_GL_Surface*)surface;
3346 ns = (Evas_Native_Surface*)native_surface; 3478 ns = (Evas_Native_Surface*)native_surface;
3347 3479
3348 ns->type = EVAS_NATIVE_SURFACE_OPENGL; 3480 if (sfc->direct_fb_opt)
3349 ns->version = EVAS_NATIVE_SURFACE_VERSION; 3481 {
3350 ns->data.opengl.texture_id = sfc->rt_tex; 3482 ns->type = EVAS_NATIVE_SURFACE_OPENGL;
3351 ns->data.opengl.x = 0; 3483 ns->version = EVAS_NATIVE_SURFACE_VERSION;
3352 ns->data.opengl.y = 0; 3484 ns->data.opengl.texture_id = sfc->rt_tex;
3353 ns->data.opengl.w = sfc->w; 3485 ns->data.opengl.framebuffer_id = 0;
3354 ns->data.opengl.h = sfc->h; 3486 ns->data.opengl.x = 0;
3487 ns->data.opengl.y = 0;
3488 ns->data.opengl.w = sfc->w;
3489 ns->data.opengl.h = sfc->h;
3490 }
3491 else
3492 {
3493 ns->type = EVAS_NATIVE_SURFACE_OPENGL;
3494 ns->version = EVAS_NATIVE_SURFACE_VERSION;
3495 ns->data.opengl.texture_id = sfc->rt_tex;
3496 ns->data.opengl.framebuffer_id = sfc->rt_tex;
3497 ns->data.opengl.x = 0;
3498 ns->data.opengl.y = 0;
3499 ns->data.opengl.w = sfc->w;
3500 ns->data.opengl.h = sfc->h;
3501 }
3355 3502
3356 return 1; 3503 return 1;
3357} 3504}
@@ -3371,22 +3518,27 @@ evgl_glBindFramebuffer(GLenum target, GLuint framebuffer)
3371{ 3518{
3372 Render_Engine_GL_Context *ctx = current_evgl_ctx; 3519 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3373 3520
3521 if (!ctx)
3522 {
3523 ERR("No current context set.");
3524 return;
3525 }
3526
3374 // Take care of BindFramebuffer 0 issue 3527 // Take care of BindFramebuffer 0 issue
3375 if (framebuffer==0) 3528 if (framebuffer==0)
3376 { 3529 {
3377 if (ctx) 3530 if (gl_direct_enabled)
3378 { 3531 glBindFramebuffer(target, 0);
3379 glBindFramebuffer(target, ctx->context_fbo); 3532 else
3380 ctx->current_fbo = 0; 3533 glBindFramebuffer(target, ctx->context_fbo);
3381 } 3534 ctx->current_fbo = 0;
3382 } 3535 }
3383 else 3536 else
3384 { 3537 {
3385 glBindFramebuffer(target, framebuffer); 3538 glBindFramebuffer(target, framebuffer);
3386 3539
3387 // Save this for restore when doing make current 3540 // Save this for restore when doing make current
3388 if (ctx) 3541 ctx->current_fbo = framebuffer;
3389 ctx->current_fbo = framebuffer;
3390 } 3542 }
3391} 3543}
3392 3544
@@ -3398,6 +3550,225 @@ evgl_glBindRenderbuffer(GLenum target, GLuint renderbuffer)
3398 glBindRenderbuffer(target, renderbuffer); 3550 glBindRenderbuffer(target, renderbuffer);
3399} 3551}
3400 3552
3553// Transform from Evas Coordinat to GL Coordinate
3554// returns: oc[4] original image object dimension in gl coord
3555// returns: nc[4] tranformed (x, y, width, heigth) in gl coord
3556static void
3557compute_gl_coordinates(Evas_Object *obj, int rot, int clip,
3558 int x, int y, int width, int height,
3559 int imgc[4], int objc[4])
3560{
3561 if (rot == 0)
3562 {
3563 // oringinal image object coordinate in gl coordinate
3564 imgc[0] = obj->cur.geometry.x;
3565 imgc[1] = obj->layer->evas->output.h - obj->cur.geometry.y - obj->cur.geometry.h;
3566 imgc[2] = imgc[0] + obj->cur.geometry.w;
3567 imgc[3] = imgc[1] + obj->cur.geometry.h;
3568
3569 // transformed (x,y,width,height) in gl coordinate
3570 objc[0] = imgc[0] + x;
3571 objc[1] = imgc[1] + y;
3572 objc[2] = objc[0] + width;
3573 objc[3] = objc[1] + height;
3574 }
3575 else if (rot == 180)
3576 {
3577 // oringinal image object coordinate in gl coordinate
3578 imgc[0] = obj->layer->evas->output.w - obj->cur.geometry.x - obj->cur.geometry.w;
3579 imgc[1] = obj->cur.geometry.y;
3580 imgc[2] = imgc[0] + obj->cur.geometry.w;
3581 imgc[3] = imgc[1] + obj->cur.geometry.h;
3582
3583 // transformed (x,y,width,height) in gl coordinate
3584 objc[0] = imgc[0] + obj->cur.geometry.w - x - width;
3585 objc[1] = imgc[1] + obj->cur.geometry.h - y - height;
3586 objc[2] = objc[0] + width;
3587 objc[3] = objc[1] + height;
3588
3589 }
3590 else if (rot == 90)
3591 {
3592 // oringinal image object coordinate in gl coordinate
3593 imgc[0] = obj->cur.geometry.y;
3594 imgc[1] = obj->cur.geometry.x;
3595 imgc[2] = imgc[0] + obj->cur.geometry.h;
3596 imgc[3] = imgc[1] + obj->cur.geometry.w;
3597
3598 // transformed (x,y,width,height) in gl coordinate
3599 objc[0] = imgc[0] + obj->cur.geometry.h - y - height;
3600 objc[1] = imgc[1] + x;
3601 objc[2] = objc[0] + height;
3602 objc[3] = objc[1] + width;
3603 }
3604 else if (rot == 270)
3605 {
3606 // oringinal image object coordinate in gl coordinate
3607 imgc[0] = obj->layer->evas->output.h - obj->cur.geometry.y - obj->cur.geometry.h;
3608 imgc[1] = obj->layer->evas->output.w - obj->cur.geometry.x - obj->cur.geometry.w;
3609 imgc[2] = imgc[0] + obj->cur.geometry.h;
3610 imgc[3] = imgc[1] + obj->cur.geometry.w;
3611
3612 // transformed (x,y,width,height) in gl coordinate
3613 objc[0] = imgc[0] + y;
3614 objc[1] = imgc[1] + obj->cur.geometry.w - x - width;
3615 objc[2] = objc[0] + height;
3616 objc[3] = objc[1] + width;
3617 }
3618 else
3619 {
3620 ERR("Invalid rotation angle %d.", rot);
3621 return;
3622 }
3623
3624 if (clip)
3625 {
3626 // Clip against original image object
3627 if (objc[0] < imgc[0]) objc[0] = imgc[0];
3628 if (objc[0] > imgc[2]) objc[0] = 0;
3629
3630 if (objc[1] < imgc[1]) objc[1] = imgc[1];
3631 if (objc[1] > imgc[3]) objc[1] = 0;
3632
3633 if (objc[2] < imgc[0]) objc[0] = 0;
3634 if (objc[2] > imgc[2]) objc[2] = imgc[2];
3635
3636 if (objc[3] < imgc[1]) objc[1] = 0;
3637 if (objc[3] > imgc[3]) objc[3] = imgc[3];
3638 }
3639
3640 imgc[2] = imgc[2]-imgc[0]; // width
3641 imgc[3] = imgc[3]-imgc[1]; // height
3642
3643 objc[2] = objc[2]-objc[0]; // width
3644 objc[3] = objc[3]-objc[1]; // height
3645}
3646
3647static void
3648evgl_glClear(GLbitfield mask)
3649{
3650 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3651 int rot = 0;
3652 int oc[4], nc[4];
3653
3654 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3655 {
3656 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3657 rot = current_engine->win->gl_context->rot;
3658 else
3659 ERR("Unable to retrieve rotation angle: %d", rot);
3660
3661 compute_gl_coordinates(gl_direct_img_obj, rot, 0, 0, 0, 0, 0, oc, nc);
3662 glScissor(oc[0], oc[1], oc[2], oc[3]);
3663 glClear(mask);
3664 }
3665 else
3666 glClear(mask);
3667}
3668
3669static void
3670evgl_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
3671{
3672 current_engine->df_clear_color[0] = red;
3673 current_engine->df_clear_color[1] = green;
3674 current_engine->df_clear_color[2] = blue;
3675 current_engine->df_clear_color[3] = alpha;
3676
3677 glClearColor(red, green, blue, alpha);
3678
3679}
3680
3681static void
3682evgl_glEnable(GLenum cap)
3683{
3684 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3685
3686 if (cap == GL_SCISSOR_TEST)
3687 if (ctx) ctx->scissor_enabled = 1;
3688 glEnable(cap);
3689}
3690
3691static void
3692evgl_glDisable(GLenum cap)
3693{
3694 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3695
3696 if (cap == GL_SCISSOR_TEST)
3697 if (ctx) ctx->scissor_enabled = 0;
3698 glDisable(cap);
3699}
3700
3701
3702static void
3703evgl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels)
3704{
3705 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3706 int rot = 0;
3707 int oc[4], nc[4];
3708
3709 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3710 {
3711 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3712 rot = current_engine->win->gl_context->rot;
3713 else
3714 ERR("Unable to retrieve rotation angle: %d", rot);
3715
3716 compute_gl_coordinates(gl_direct_img_obj, rot, 1, x, y, width, height, oc, nc);
3717 glReadPixels(nc[0], nc[1], nc[2], nc[3], format, type, pixels);
3718 }
3719 else
3720 glReadPixels(x, y, width, height, format, type, pixels);
3721}
3722
3723static void
3724evgl_glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
3725{
3726 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3727 int rot = 0;
3728 int oc[4], nc[4];
3729
3730 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3731 {
3732 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3733 rot = current_engine->win->gl_context->rot;
3734 else
3735 ERR("Unable to retrieve rotation angle: %d", rot);
3736
3737 compute_gl_coordinates(gl_direct_img_obj, rot, 1, x, y, width, height, oc, nc);
3738 glScissor(nc[0], nc[1], nc[2], nc[3]);
3739 ctx->scissor_upated = 1;
3740 }
3741 else
3742 glScissor(x, y, width, height);
3743}
3744
3745static void
3746evgl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
3747{
3748 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3749 int rot = 0;
3750 int oc[4], nc[4];
3751
3752 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3753 {
3754 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3755 rot = current_engine->win->gl_context->rot;
3756 else
3757 ERR("Unable to retrieve rotation angle: %d", rot);
3758
3759 compute_gl_coordinates(gl_direct_img_obj, rot, 0, x, y, width, height, oc, nc);
3760 glEnable(GL_SCISSOR_TEST);
3761 glScissor(oc[0], oc[1], oc[2], oc[3]);
3762 glViewport(nc[0], nc[1], nc[2], nc[3]);
3763 }
3764 else
3765 glViewport(x, y, width, height);
3766
3767}
3768
3769
3770//----------------------------------------------//
3771
3401static void 3772static void
3402evgl_glClearDepthf(GLclampf depth) 3773evgl_glClearDepthf(GLclampf depth)
3403{ 3774{
@@ -3531,8 +3902,8 @@ eng_gl_api_get(void *data)
3531 ORD(glBufferData); 3902 ORD(glBufferData);
3532 ORD(glBufferSubData); 3903 ORD(glBufferSubData);
3533 ORD(glCheckFramebufferStatus); 3904 ORD(glCheckFramebufferStatus);
3534 ORD(glClear); 3905// ORD(glClear);
3535 ORD(glClearColor); 3906// ORD(glClearColor);
3536// ORD(glClearDepthf); 3907// ORD(glClearDepthf);
3537 ORD(glClearStencil); 3908 ORD(glClearStencil);
3538 ORD(glColorMask); 3909 ORD(glColorMask);
@@ -3554,11 +3925,11 @@ eng_gl_api_get(void *data)
3554 ORD(glDepthMask); 3925 ORD(glDepthMask);
3555// ORD(glDepthRangef); 3926// ORD(glDepthRangef);
3556 ORD(glDetachShader); 3927 ORD(glDetachShader);
3557 ORD(glDisable); 3928// ORD(glDisable);
3558 ORD(glDisableVertexAttribArray); 3929 ORD(glDisableVertexAttribArray);
3559 ORD(glDrawArrays); 3930 ORD(glDrawArrays);
3560 ORD(glDrawElements); 3931 ORD(glDrawElements);
3561 ORD(glEnable); 3932// ORD(glEnable);
3562 ORD(glEnableVertexAttribArray); 3933 ORD(glEnableVertexAttribArray);
3563 ORD(glFinish); 3934 ORD(glFinish);
3564 ORD(glFlush); 3935 ORD(glFlush);
@@ -3612,7 +3983,7 @@ eng_gl_api_get(void *data)
3612// ORD(glReleaseShaderCompiler); 3983// ORD(glReleaseShaderCompiler);
3613 ORD(glRenderbufferStorage); 3984 ORD(glRenderbufferStorage);
3614 ORD(glSampleCoverage); 3985 ORD(glSampleCoverage);
3615 ORD(glScissor); 3986// ORD(glScissor);
3616// ORD(glShaderBinary); 3987// ORD(glShaderBinary);
3617 ORD(glShaderSource); 3988 ORD(glShaderSource);
3618 ORD(glStencilFunc); 3989 ORD(glStencilFunc);
@@ -3657,7 +4028,7 @@ eng_gl_api_get(void *data)
3657 ORD(glVertexAttrib4f); 4028 ORD(glVertexAttrib4f);
3658 ORD(glVertexAttrib4fv); 4029 ORD(glVertexAttrib4fv);
3659 ORD(glVertexAttribPointer); 4030 ORD(glVertexAttribPointer);
3660 ORD(glViewport); 4031// ORD(glViewport);
3661#undef ORD 4032#undef ORD
3662 4033
3663#define ORD(f) EVAS_API_OVERRIDE(f, &gl_funcs, glsym_) 4034#define ORD(f) EVAS_API_OVERRIDE(f, &gl_funcs, glsym_)
@@ -3717,6 +4088,14 @@ eng_gl_api_get(void *data)
3717 ORD(glBindFramebuffer); 4088 ORD(glBindFramebuffer);
3718 ORD(glBindRenderbuffer); 4089 ORD(glBindRenderbuffer);
3719 4090
4091 ORD(glClear);
4092 ORD(glClearColor);
4093 ORD(glEnable);
4094 ORD(glDisable);
4095 ORD(glReadPixels);
4096 ORD(glScissor);
4097 ORD(glViewport);
4098
3720 // GLES2.0 API compat on top of desktop gl 4099 // GLES2.0 API compat on top of desktop gl
3721 ORD(glClearDepthf); 4100 ORD(glClearDepthf);
3722 ORD(glDepthRangef); 4101 ORD(glDepthRangef);
@@ -3739,6 +4118,24 @@ eng_gl_api_get(void *data)
3739 return &gl_funcs; 4118 return &gl_funcs;
3740} 4119}
3741 4120
4121static void
4122eng_gl_img_obj_set(void *data, void *image, int has_alpha)
4123{
4124 Render_Engine *re = (Render_Engine *)data;
4125
4126 gl_direct_img_obj = NULL;
4127
4128 // Normally direct rendering isn't allowed if alpha is on and
4129 // rotation is not 0. BUT, if override is on, allow it.
4130 if ((has_alpha) || (re->win->gl_context->rot!=0))
4131 {
4132 if (gl_direct_override)
4133 gl_direct_img_obj = image;
4134 }
4135 else
4136 gl_direct_img_obj = image;
4137}
4138
3742static int 4139static int
3743eng_image_load_error_get(void *data __UNUSED__, void *image) 4140eng_image_load_error_get(void *data __UNUSED__, void *image)
3744{ 4141{
@@ -3877,6 +4274,9 @@ module_open(Evas_Module *em)
3877 EINA_LOG_ERR("Can not create a module log domain."); 4274 EINA_LOG_ERR("Can not create a module log domain.");
3878 return 0; 4275 return 0;
3879 } 4276 }
4277 /* Allow alpha for evas gl direct rendering */
4278 if (getenv("EVAS_GL_DIRECT_OVERRIDE")) gl_direct_override = 1;
4279
3880 /* store it for later use */ 4280 /* store it for later use */
3881 func = pfunc; 4281 func = pfunc;
3882 /* now to override methods */ 4282 /* now to override methods */
@@ -3961,6 +4361,7 @@ module_open(Evas_Module *em)
3961 ORD(gl_proc_address_get); 4361 ORD(gl_proc_address_get);
3962 ORD(gl_native_surface_get); 4362 ORD(gl_native_surface_get);
3963 ORD(gl_api_get); 4363 ORD(gl_api_get);
4364 ORD(gl_img_obj_set);
3964 4365
3965 ORD(image_load_error_get); 4366 ORD(image_load_error_get);
3966 4367
diff --git a/libraries/evas/src/modules/engines/psl1ght/Makefile.in b/libraries/evas/src/modules/engines/psl1ght/Makefile.in
index f8524a4..9593d02 100644
--- a/libraries/evas/src/modules/engines/psl1ght/Makefile.in
+++ b/libraries/evas/src/modules/engines/psl1ght/Makefile.in
@@ -190,6 +190,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -240,6 +242,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
241PIXMAN_LIBS = @PIXMAN_LIBS@ 243PIXMAN_LIBS = @PIXMAN_LIBS@
242PKG_CONFIG = @PKG_CONFIG@ 244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
243PNG_CFLAGS = @PNG_CFLAGS@ 247PNG_CFLAGS = @PNG_CFLAGS@
244PNG_LIBS = @PNG_LIBS@ 248PNG_LIBS = @PNG_LIBS@
245RANLIB = @RANLIB@ 249RANLIB = @RANLIB@
@@ -258,8 +262,6 @@ VERSION = @VERSION@
258VMAJ = @VMAJ@ 262VMAJ = @VMAJ@
259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
261WIN32_CFLAGS = @WIN32_CFLAGS@
262WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
263XCB_CFLAGS = @XCB_CFLAGS@ 265XCB_CFLAGS = @XCB_CFLAGS@
264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
265XCB_GL_LIBS = @XCB_GL_LIBS@ 267XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -333,8 +335,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
336evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
337evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_16/Makefile.am b/libraries/evas/src/modules/engines/software_16/Makefile.am
index 070d610..fec60ac 100644
--- a/libraries/evas/src/modules/engines/software_16/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_16/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@PIXMAN_CFLAGS@ \ 10@PIXMAN_CFLAGS@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_ENGINE_SOFTWARE_16 13if BUILD_ENGINE_SOFTWARE_16
16 14
17SOFTWARE_16_SOURCES = evas_engine.c 15SOFTWARE_16_SOURCES = evas_engine.c
diff --git a/libraries/evas/src/modules/engines/software_16/Makefile.in b/libraries/evas/src/modules/engines/software_16/Makefile.in
index 88164e1..bca2deb 100644
--- a/libraries/evas/src/modules/engines/software_16/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16/Makefile.in
@@ -185,6 +185,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
185EVIL_CFLAGS = @EVIL_CFLAGS@ 185EVIL_CFLAGS = @EVIL_CFLAGS@
186EVIL_LIBS = @EVIL_LIBS@ 186EVIL_LIBS = @EVIL_LIBS@
187EXEEXT = @EXEEXT@ 187EXEEXT = @EXEEXT@
188EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
189EXOTIC_LIBS = @EXOTIC_LIBS@
188FGREP = @FGREP@ 190FGREP = @FGREP@
189FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 191FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
190FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 192FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -235,6 +237,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
235PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 237PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
236PIXMAN_LIBS = @PIXMAN_LIBS@ 238PIXMAN_LIBS = @PIXMAN_LIBS@
237PKG_CONFIG = @PKG_CONFIG@ 239PKG_CONFIG = @PKG_CONFIG@
240PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
241PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
238PNG_CFLAGS = @PNG_CFLAGS@ 242PNG_CFLAGS = @PNG_CFLAGS@
239PNG_LIBS = @PNG_LIBS@ 243PNG_LIBS = @PNG_LIBS@
240RANLIB = @RANLIB@ 244RANLIB = @RANLIB@
@@ -253,8 +257,6 @@ VERSION = @VERSION@
253VMAJ = @VMAJ@ 257VMAJ = @VMAJ@
254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 258WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 259WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
256WIN32_CFLAGS = @WIN32_CFLAGS@
257WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
258XCB_CFLAGS = @XCB_CFLAGS@ 260XCB_CFLAGS = @XCB_CFLAGS@
259XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 261XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
260XCB_GL_LIBS = @XCB_GL_LIBS@ 262XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -328,8 +330,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
328evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 330evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
329evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 331evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
330evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 332evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
331evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
332evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
333evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 333evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
334evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 334evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
335evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 335evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -422,7 +422,6 @@ AM_CPPFLAGS = \
422@PIXMAN_CFLAGS@ \ 422@PIXMAN_CFLAGS@ \
423@EINA_CFLAGS@ 423@EINA_CFLAGS@
424 424
425AM_CFLAGS = @WIN32_CFLAGS@
426@BUILD_ENGINE_SOFTWARE_16_TRUE@SOFTWARE_16_SOURCES = evas_engine.c 425@BUILD_ENGINE_SOFTWARE_16_TRUE@SOFTWARE_16_SOURCES = evas_engine.c
427@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16/$(MODULE_ARCH) 426@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16/$(MODULE_ARCH)
428@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkg_LTLIBRARIES = module.la 427@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in
index 0039410..014411c 100644
--- a/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in
@@ -215,6 +215,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
215EVIL_CFLAGS = @EVIL_CFLAGS@ 215EVIL_CFLAGS = @EVIL_CFLAGS@
216EVIL_LIBS = @EVIL_LIBS@ 216EVIL_LIBS = @EVIL_LIBS@
217EXEEXT = @EXEEXT@ 217EXEEXT = @EXEEXT@
218EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
219EXOTIC_LIBS = @EXOTIC_LIBS@
218FGREP = @FGREP@ 220FGREP = @FGREP@
219FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 221FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
220FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 222FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -265,6 +267,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
265PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 267PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
266PIXMAN_LIBS = @PIXMAN_LIBS@ 268PIXMAN_LIBS = @PIXMAN_LIBS@
267PKG_CONFIG = @PKG_CONFIG@ 269PKG_CONFIG = @PKG_CONFIG@
270PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
271PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
268PNG_CFLAGS = @PNG_CFLAGS@ 272PNG_CFLAGS = @PNG_CFLAGS@
269PNG_LIBS = @PNG_LIBS@ 273PNG_LIBS = @PNG_LIBS@
270RANLIB = @RANLIB@ 274RANLIB = @RANLIB@
@@ -283,8 +287,6 @@ VERSION = @VERSION@
283VMAJ = @VMAJ@ 287VMAJ = @VMAJ@
284WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 288WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
285WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 289WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
286WIN32_CFLAGS = @WIN32_CFLAGS@
287WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
288XCB_CFLAGS = @XCB_CFLAGS@ 290XCB_CFLAGS = @XCB_CFLAGS@
289XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 291XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
290XCB_GL_LIBS = @XCB_GL_LIBS@ 292XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -358,8 +360,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
358evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 360evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
359evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 361evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
360evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 362evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
361evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
362evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
363evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 363evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
364evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 364evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
365evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 365evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am
index af0197d..88204c0 100644
--- a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am
@@ -4,7 +4,7 @@ MAINTAINERCLEANFILES = Makefile.in
4 4
5INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@ 5INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@
6 6
7if BUILD_ENGINE_SOFTWARE_SDL 7if BUILD_ENGINE_SOFTWARE_16_SDL
8 8
9SOFTWARE_SDL_SOURCES = \ 9SOFTWARE_SDL_SOURCES = \
10evas_engine.c \ 10evas_engine.c \
@@ -14,7 +14,7 @@ evas_engine.h
14includes_HEADERS = Evas_Engine_SDL_16.h 14includes_HEADERS = Evas_Engine_SDL_16.h
15includesdir = $(includedir)/evas-@VMAJ@ 15includesdir = $(includedir)/evas-@VMAJ@
16 16
17if !EVAS_STATIC_BUILD_SOFTWARE_SDL 17if !EVAS_STATIC_BUILD_SOFTWARE_16_SDL
18 18
19pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH) 19pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH)
20pkg_LTLIBRARIES = module.la 20pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in
index 6ebf0db..a8f2cc9 100644
--- a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in
@@ -84,23 +84,23 @@ LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES)
84libevas_engine_software_16_sdl_la_DEPENDENCIES = 84libevas_engine_software_16_sdl_la_DEPENDENCIES =
85am__libevas_engine_software_16_sdl_la_SOURCES_DIST = evas_engine.c \ 85am__libevas_engine_software_16_sdl_la_SOURCES_DIST = evas_engine.c \
86 evas_engine.h 86 evas_engine.h
87@BUILD_ENGINE_SOFTWARE_SDL_TRUE@am__objects_1 = evas_engine.lo 87@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@am__objects_1 = evas_engine.lo
88@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am_libevas_engine_software_16_sdl_la_OBJECTS = $(am__objects_1) 88@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am_libevas_engine_software_16_sdl_la_OBJECTS = $(am__objects_1)
89libevas_engine_software_16_sdl_la_OBJECTS = \ 89libevas_engine_software_16_sdl_la_OBJECTS = \
90 $(am_libevas_engine_software_16_sdl_la_OBJECTS) 90 $(am_libevas_engine_software_16_sdl_la_OBJECTS)
91AM_V_lt = $(am__v_lt_$(V)) 91AM_V_lt = $(am__v_lt_$(V))
92am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) 92am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
93am__v_lt_0 = --silent 93am__v_lt_0 = --silent
94@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am_libevas_engine_software_16_sdl_la_rpath = 94@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am_libevas_engine_software_16_sdl_la_rpath =
95@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la 95@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la
96am__module_la_SOURCES_DIST = evas_engine.c evas_engine.h 96am__module_la_SOURCES_DIST = evas_engine.c evas_engine.h
97@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am_module_la_OBJECTS = $(am__objects_1) 97@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am_module_la_OBJECTS = $(am__objects_1)
98module_la_OBJECTS = $(am_module_la_OBJECTS) 98module_la_OBJECTS = $(am_module_la_OBJECTS)
99module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 99module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
100 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 100 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
101 $(module_la_LDFLAGS) $(LDFLAGS) -o $@ 101 $(module_la_LDFLAGS) $(LDFLAGS) -o $@
102@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am_module_la_rpath = -rpath \ 102@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am_module_la_rpath = -rpath \
103@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@ $(pkgdir) 103@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@ $(pkgdir)
104DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 104DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
105depcomp = $(SHELL) $(top_srcdir)/depcomp 105depcomp = $(SHELL) $(top_srcdir)/depcomp
106am__depfiles_maybe = depfiles 106am__depfiles_maybe = depfiles
@@ -188,6 +188,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
188EVIL_CFLAGS = @EVIL_CFLAGS@ 188EVIL_CFLAGS = @EVIL_CFLAGS@
189EVIL_LIBS = @EVIL_LIBS@ 189EVIL_LIBS = @EVIL_LIBS@
190EXEEXT = @EXEEXT@ 190EXEEXT = @EXEEXT@
191EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
192EXOTIC_LIBS = @EXOTIC_LIBS@
191FGREP = @FGREP@ 193FGREP = @FGREP@
192FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
193FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -238,6 +240,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
238PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
239PIXMAN_LIBS = @PIXMAN_LIBS@ 241PIXMAN_LIBS = @PIXMAN_LIBS@
240PKG_CONFIG = @PKG_CONFIG@ 242PKG_CONFIG = @PKG_CONFIG@
243PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
244PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
241PNG_CFLAGS = @PNG_CFLAGS@ 245PNG_CFLAGS = @PNG_CFLAGS@
242PNG_LIBS = @PNG_LIBS@ 246PNG_LIBS = @PNG_LIBS@
243RANLIB = @RANLIB@ 247RANLIB = @RANLIB@
@@ -256,8 +260,6 @@ VERSION = @VERSION@
256VMAJ = @VMAJ@ 260VMAJ = @VMAJ@
257WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 261WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
258WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 262WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
259WIN32_CFLAGS = @WIN32_CFLAGS@
260WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
261XCB_CFLAGS = @XCB_CFLAGS@ 263XCB_CFLAGS = @XCB_CFLAGS@
262XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
263XCB_GL_LIBS = @XCB_GL_LIBS@ 265XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -331,8 +333,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
331evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
332evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
333evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
334evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
335evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
336evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 336evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
337evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 337evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
338evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 338evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,20 +418,20 @@ version_info = @version_info@
418AUTOMAKE_OPTIONS = 1.4 foreign 418AUTOMAKE_OPTIONS = 1.4 foreign
419MAINTAINERCLEANFILES = Makefile.in 419MAINTAINERCLEANFILES = Makefile.in
420INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@ 420INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@
421@BUILD_ENGINE_SOFTWARE_SDL_TRUE@SOFTWARE_SDL_SOURCES = \ 421@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@SOFTWARE_SDL_SOURCES = \
422@BUILD_ENGINE_SOFTWARE_SDL_TRUE@evas_engine.c \ 422@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@evas_engine.c \
423@BUILD_ENGINE_SOFTWARE_SDL_TRUE@evas_engine.h 423@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@evas_engine.h
424 424
425@BUILD_ENGINE_SOFTWARE_SDL_TRUE@includes_HEADERS = Evas_Engine_SDL_16.h 425@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@includes_HEADERS = Evas_Engine_SDL_16.h
426@BUILD_ENGINE_SOFTWARE_SDL_TRUE@includesdir = $(includedir)/evas-@VMAJ@ 426@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@includesdir = $(includedir)/evas-@VMAJ@
427@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH) 427@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH)
428@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@pkg_LTLIBRARIES = module.la 428@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@pkg_LTLIBRARIES = module.la
429@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_SOURCES = $(SOFTWARE_SDL_SOURCES) 429@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_SOURCES = $(SOFTWARE_SDL_SOURCES)
430@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_LIBADD = @EINA_LIBS@ @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la 430@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_LIBADD = @EINA_LIBS@ @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la
431@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src/lib -L$(top_builddir)/src/lib/.libs 431@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src/lib -L$(top_builddir)/src/lib/.libs
432@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_sdl.la 432@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_sdl.la
433@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@libevas_engine_software_16_sdl_la_SOURCES = $(SOFTWARE_SDL_SOURCES) 433@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@libevas_engine_software_16_sdl_la_SOURCES = $(SOFTWARE_SDL_SOURCES)
434@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@libevas_engine_software_16_sdl_la_LIBADD = @SDL_LIBS@ 434@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@libevas_engine_software_16_sdl_la_LIBADD = @SDL_LIBS@
435EXTRA_DIST = \ 435EXTRA_DIST = \
436evas_engine.c \ 436evas_engine.c \
437evas_engine.h \ 437evas_engine.h \
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Makefile.am b/libraries/evas/src/modules/engines/software_16_wince/Makefile.am
index 7f0c666..fcd21b1 100644
--- a/libraries/evas/src/modules/engines/software_16_wince/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_16_wince/Makefile.am
@@ -33,7 +33,6 @@ pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH)
33pkg_LTLIBRARIES = module.la 33pkg_LTLIBRARIES = module.la
34 34
35module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) 35module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE)
36module_la_CFLAGS = @WIN32_CFLAGS@
37module_la_CXXFLAGS = -fno-rtti -fno-exceptions 36module_la_CXXFLAGS = -fno-rtti -fno-exceptions
38module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD) 37module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD)
39module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 38module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Makefile.in b/libraries/evas/src/modules/engines/software_16_wince/Makefile.in
index 95c484e..d371be5 100644
--- a/libraries/evas/src/modules/engines/software_16_wince/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_wince/Makefile.in
@@ -221,6 +221,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
221EVIL_CFLAGS = @EVIL_CFLAGS@ 221EVIL_CFLAGS = @EVIL_CFLAGS@
222EVIL_LIBS = @EVIL_LIBS@ 222EVIL_LIBS = @EVIL_LIBS@
223EXEEXT = @EXEEXT@ 223EXEEXT = @EXEEXT@
224EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
225EXOTIC_LIBS = @EXOTIC_LIBS@
224FGREP = @FGREP@ 226FGREP = @FGREP@
225FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 227FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
226FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 228FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -271,6 +273,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
271PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 273PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
272PIXMAN_LIBS = @PIXMAN_LIBS@ 274PIXMAN_LIBS = @PIXMAN_LIBS@
273PKG_CONFIG = @PKG_CONFIG@ 275PKG_CONFIG = @PKG_CONFIG@
276PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
277PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
274PNG_CFLAGS = @PNG_CFLAGS@ 278PNG_CFLAGS = @PNG_CFLAGS@
275PNG_LIBS = @PNG_LIBS@ 279PNG_LIBS = @PNG_LIBS@
276RANLIB = @RANLIB@ 280RANLIB = @RANLIB@
@@ -289,8 +293,6 @@ VERSION = @VERSION@
289VMAJ = @VMAJ@ 293VMAJ = @VMAJ@
290WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 294WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
291WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 295WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
292WIN32_CFLAGS = @WIN32_CFLAGS@
293WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
294XCB_CFLAGS = @XCB_CFLAGS@ 296XCB_CFLAGS = @XCB_CFLAGS@
295XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 297XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
296XCB_GL_LIBS = @XCB_GL_LIBS@ 298XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -364,8 +366,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
364evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 366evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
365evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 367evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
366evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 368evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
367evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
368evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
369evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 369evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
370evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 370evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
371evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 371evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -473,7 +473,6 @@ AM_CPPFLAGS = \
473@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH) 473@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH)
474@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkg_LTLIBRARIES = module.la 474@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkg_LTLIBRARIES = module.la
475@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) 475@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE)
476@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CFLAGS = @WIN32_CFLAGS@
477@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CXXFLAGS = -fno-rtti -fno-exceptions 476@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CXXFLAGS = -fno-rtti -fno-exceptions
478@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD) 477@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD)
479@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 478@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
@@ -603,36 +602,36 @@ distclean-compile:
603@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 602@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
604 603
605module_la-evas_engine.lo: evas_engine.c 604module_la-evas_engine.lo: evas_engine.c
606@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_engine.lo -MD -MP -MF $(DEPDIR)/module_la-evas_engine.Tpo -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c 605@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_engine.lo -MD -MP -MF $(DEPDIR)/module_la-evas_engine.Tpo -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c
607@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo 606@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo
608@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 607@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
609@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ 608@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@
610@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 609@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
611@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c 610@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c
612 611
613module_la-evas_wince_fb_buffer.lo: evas_wince_fb_buffer.c 612module_la-evas_wince_fb_buffer.lo: evas_wince_fb_buffer.c
614@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_fb_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c 613@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_fb_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c
615@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo $(DEPDIR)/module_la-evas_wince_fb_buffer.Plo 614@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo $(DEPDIR)/module_la-evas_wince_fb_buffer.Plo
616@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 615@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
617@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_fb_buffer.c' object='module_la-evas_wince_fb_buffer.lo' libtool=yes @AMDEPBACKSLASH@ 616@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_fb_buffer.c' object='module_la-evas_wince_fb_buffer.lo' libtool=yes @AMDEPBACKSLASH@
618@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 617@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
619@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c 618@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c
620 619
621module_la-evas_wince_gapi_buffer.lo: evas_wince_gapi_buffer.c 620module_la-evas_wince_gapi_buffer.lo: evas_wince_gapi_buffer.c
622@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gapi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c 621@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gapi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c
623@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gapi_buffer.Plo 622@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gapi_buffer.Plo
624@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 623@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
625@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gapi_buffer.c' object='module_la-evas_wince_gapi_buffer.lo' libtool=yes @AMDEPBACKSLASH@ 624@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gapi_buffer.c' object='module_la-evas_wince_gapi_buffer.lo' libtool=yes @AMDEPBACKSLASH@
626@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 625@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
627@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c 626@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c
628 627
629module_la-evas_wince_gdi_buffer.lo: evas_wince_gdi_buffer.c 628module_la-evas_wince_gdi_buffer.lo: evas_wince_gdi_buffer.c
630@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gdi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c 629@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gdi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c
631@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gdi_buffer.Plo 630@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gdi_buffer.Plo
632@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 631@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
633@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gdi_buffer.c' object='module_la-evas_wince_gdi_buffer.lo' libtool=yes @AMDEPBACKSLASH@ 632@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gdi_buffer.c' object='module_la-evas_wince_gdi_buffer.lo' libtool=yes @AMDEPBACKSLASH@
634@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 633@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
635@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c 634@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c
636 635
637.cpp.o: 636.cpp.o:
638@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 637@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff --git a/libraries/evas/src/modules/engines/software_16_x11/Makefile.in b/libraries/evas/src/modules/engines/software_16_x11/Makefile.in
index 3232681..2ce18e6 100644
--- a/libraries/evas/src/modules/engines/software_16_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_x11/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_8/Makefile.am b/libraries/evas/src/modules/engines/software_8/Makefile.am
index 145b766..46637fb 100644
--- a/libraries/evas/src/modules/engines/software_8/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_8/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@PIXMAN_CFLAGS@ \ 10@PIXMAN_CFLAGS@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_ENGINE_SOFTWARE_8 13if BUILD_ENGINE_SOFTWARE_8
16 14
17SOFTWARE_8_SOURCES = evas_engine.c 15SOFTWARE_8_SOURCES = evas_engine.c
diff --git a/libraries/evas/src/modules/engines/software_8/Makefile.in b/libraries/evas/src/modules/engines/software_8/Makefile.in
index 3ee42fd..6da6bbb 100644
--- a/libraries/evas/src/modules/engines/software_8/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_8/Makefile.in
@@ -184,6 +184,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
184EVIL_CFLAGS = @EVIL_CFLAGS@ 184EVIL_CFLAGS = @EVIL_CFLAGS@
185EVIL_LIBS = @EVIL_LIBS@ 185EVIL_LIBS = @EVIL_LIBS@
186EXEEXT = @EXEEXT@ 186EXEEXT = @EXEEXT@
187EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
188EXOTIC_LIBS = @EXOTIC_LIBS@
187FGREP = @FGREP@ 189FGREP = @FGREP@
188FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 190FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
189FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 191FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -234,6 +236,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
234PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 236PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
235PIXMAN_LIBS = @PIXMAN_LIBS@ 237PIXMAN_LIBS = @PIXMAN_LIBS@
236PKG_CONFIG = @PKG_CONFIG@ 238PKG_CONFIG = @PKG_CONFIG@
239PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
240PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
237PNG_CFLAGS = @PNG_CFLAGS@ 241PNG_CFLAGS = @PNG_CFLAGS@
238PNG_LIBS = @PNG_LIBS@ 242PNG_LIBS = @PNG_LIBS@
239RANLIB = @RANLIB@ 243RANLIB = @RANLIB@
@@ -252,8 +256,6 @@ VERSION = @VERSION@
252VMAJ = @VMAJ@ 256VMAJ = @VMAJ@
253WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 257WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
254WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 258WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
255WIN32_CFLAGS = @WIN32_CFLAGS@
256WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
257XCB_CFLAGS = @XCB_CFLAGS@ 259XCB_CFLAGS = @XCB_CFLAGS@
258XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 260XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
259XCB_GL_LIBS = @XCB_GL_LIBS@ 261XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -327,8 +329,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
327evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 329evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
328evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 330evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
329evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 331evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
330evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
331evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
332evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 332evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
333evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 333evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
334evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 334evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -421,7 +421,6 @@ AM_CPPFLAGS = \
421@PIXMAN_CFLAGS@ \ 421@PIXMAN_CFLAGS@ \
422@EINA_CFLAGS@ 422@EINA_CFLAGS@
423 423
424AM_CFLAGS = @WIN32_CFLAGS@
425@BUILD_ENGINE_SOFTWARE_8_TRUE@SOFTWARE_8_SOURCES = evas_engine.c 424@BUILD_ENGINE_SOFTWARE_8_TRUE@SOFTWARE_8_SOURCES = evas_engine.c
426@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_8/$(MODULE_ARCH) 425@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_8/$(MODULE_ARCH)
427@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkg_LTLIBRARIES = module.la 426@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/engines/software_8_x11/Makefile.in b/libraries/evas/src/modules/engines/software_8_x11/Makefile.in
index 22577af..3231fd1 100644
--- a/libraries/evas/src/modules/engines/software_8_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_8_x11/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_ddraw/Makefile.in b/libraries/evas/src/modules/engines/software_ddraw/Makefile.in
index da65f92..629b413 100644
--- a/libraries/evas/src/modules/engines/software_ddraw/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_ddraw/Makefile.in
@@ -216,6 +216,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
216EVIL_CFLAGS = @EVIL_CFLAGS@ 216EVIL_CFLAGS = @EVIL_CFLAGS@
217EVIL_LIBS = @EVIL_LIBS@ 217EVIL_LIBS = @EVIL_LIBS@
218EXEEXT = @EXEEXT@ 218EXEEXT = @EXEEXT@
219EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
220EXOTIC_LIBS = @EXOTIC_LIBS@
219FGREP = @FGREP@ 221FGREP = @FGREP@
220FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 222FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
221FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 223FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -266,6 +268,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
266PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 268PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
267PIXMAN_LIBS = @PIXMAN_LIBS@ 269PIXMAN_LIBS = @PIXMAN_LIBS@
268PKG_CONFIG = @PKG_CONFIG@ 270PKG_CONFIG = @PKG_CONFIG@
271PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
272PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
269PNG_CFLAGS = @PNG_CFLAGS@ 273PNG_CFLAGS = @PNG_CFLAGS@
270PNG_LIBS = @PNG_LIBS@ 274PNG_LIBS = @PNG_LIBS@
271RANLIB = @RANLIB@ 275RANLIB = @RANLIB@
@@ -284,8 +288,6 @@ VERSION = @VERSION@
284VMAJ = @VMAJ@ 288VMAJ = @VMAJ@
285WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 289WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
286WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 290WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
287WIN32_CFLAGS = @WIN32_CFLAGS@
288WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
289XCB_CFLAGS = @XCB_CFLAGS@ 291XCB_CFLAGS = @XCB_CFLAGS@
290XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 292XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
291XCB_GL_LIBS = @XCB_GL_LIBS@ 293XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -359,8 +361,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
359evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 361evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
360evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 362evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
361evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 363evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
362evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
363evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
364evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 364evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
365evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 365evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
366evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 366evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_gdi/Makefile.in b/libraries/evas/src/modules/engines/software_gdi/Makefile.in
index a2421ef..507926d 100644
--- a/libraries/evas/src/modules/engines/software_gdi/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_gdi/Makefile.in
@@ -199,6 +199,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
199EVIL_CFLAGS = @EVIL_CFLAGS@ 199EVIL_CFLAGS = @EVIL_CFLAGS@
200EVIL_LIBS = @EVIL_LIBS@ 200EVIL_LIBS = @EVIL_LIBS@
201EXEEXT = @EXEEXT@ 201EXEEXT = @EXEEXT@
202EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
203EXOTIC_LIBS = @EXOTIC_LIBS@
202FGREP = @FGREP@ 204FGREP = @FGREP@
203FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 205FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
204FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 206FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -249,6 +251,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 251PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
250PIXMAN_LIBS = @PIXMAN_LIBS@ 252PIXMAN_LIBS = @PIXMAN_LIBS@
251PKG_CONFIG = @PKG_CONFIG@ 253PKG_CONFIG = @PKG_CONFIG@
254PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
255PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
252PNG_CFLAGS = @PNG_CFLAGS@ 256PNG_CFLAGS = @PNG_CFLAGS@
253PNG_LIBS = @PNG_LIBS@ 257PNG_LIBS = @PNG_LIBS@
254RANLIB = @RANLIB@ 258RANLIB = @RANLIB@
@@ -267,8 +271,6 @@ VERSION = @VERSION@
267VMAJ = @VMAJ@ 271VMAJ = @VMAJ@
268WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 272WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
269WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 273WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
270WIN32_CFLAGS = @WIN32_CFLAGS@
271WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
272XCB_CFLAGS = @XCB_CFLAGS@ 274XCB_CFLAGS = @XCB_CFLAGS@
273XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 275XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
274XCB_GL_LIBS = @XCB_GL_LIBS@ 276XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -342,8 +344,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
342evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 344evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
343evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 345evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
344evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 346evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
345evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
346evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
347evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 347evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
348evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 348evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
349evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 349evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_generic/Makefile.am b/libraries/evas/src/modules/engines/software_generic/Makefile.am
index d7986f1..e605dac 100644
--- a/libraries/evas/src/modules/engines/software_generic/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_generic/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@FREETYPE_CFLAGS@ \ 10@FREETYPE_CFLAGS@ \
11@PIXMAN_CFLAGS@ 11@PIXMAN_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15SOFTWARE_GENERIC_SOURCES = evas_engine.c 13SOFTWARE_GENERIC_SOURCES = evas_engine.c
16 14
17 15
@@ -22,7 +20,7 @@ pkg_LTLIBRARIES = module.la
22 20
23module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES) 21module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES)
24 22
25module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la 23module_la_LIBADD = @EINA_LIBS@ @dlopen_libs@ $(top_builddir)/src/lib/libevas.la
26module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 24module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
27module_la_LIBTOOLFLAGS = --tag=disable-static 25module_la_LIBTOOLFLAGS = --tag=disable-static
28 26
diff --git a/libraries/evas/src/modules/engines/software_generic/Makefile.in b/libraries/evas/src/modules/engines/software_generic/Makefile.in
index 4f66536..fe0ac3d 100644
--- a/libraries/evas/src/modules/engines/software_generic/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_generic/Makefile.in
@@ -186,6 +186,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
186EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
187EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
188EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
189FGREP = @FGREP@ 191FGREP = @FGREP@
190FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 192FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
191FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 193FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -236,6 +238,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
236PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 238PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
237PIXMAN_LIBS = @PIXMAN_LIBS@ 239PIXMAN_LIBS = @PIXMAN_LIBS@
238PKG_CONFIG = @PKG_CONFIG@ 240PKG_CONFIG = @PKG_CONFIG@
241PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
242PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
239PNG_CFLAGS = @PNG_CFLAGS@ 243PNG_CFLAGS = @PNG_CFLAGS@
240PNG_LIBS = @PNG_LIBS@ 244PNG_LIBS = @PNG_LIBS@
241RANLIB = @RANLIB@ 245RANLIB = @RANLIB@
@@ -254,8 +258,6 @@ VERSION = @VERSION@
254VMAJ = @VMAJ@ 258VMAJ = @VMAJ@
255WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
256WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
257WIN32_CFLAGS = @WIN32_CFLAGS@
258WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
259XCB_CFLAGS = @XCB_CFLAGS@ 261XCB_CFLAGS = @XCB_CFLAGS@
260XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 262XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
261XCB_GL_LIBS = @XCB_GL_LIBS@ 263XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -329,8 +331,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
329evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 331evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
330evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 332evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
331evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 333evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
332evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
333evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
334evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 334evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
335evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 335evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
336evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 336evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -423,12 +423,11 @@ AM_CPPFLAGS = \
423@FREETYPE_CFLAGS@ \ 423@FREETYPE_CFLAGS@ \
424@PIXMAN_CFLAGS@ 424@PIXMAN_CFLAGS@
425 425
426AM_CFLAGS = @WIN32_CFLAGS@
427SOFTWARE_GENERIC_SOURCES = evas_engine.c 426SOFTWARE_GENERIC_SOURCES = evas_engine.c
428@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_generic/$(MODULE_ARCH) 427@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_generic/$(MODULE_ARCH)
429@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkg_LTLIBRARIES = module.la 428@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkg_LTLIBRARIES = module.la
430@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES) 429@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES)
431@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la 430@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBADD = @EINA_LIBS@ @dlopen_libs@ $(top_builddir)/src/lib/libevas.la
432@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 431@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
433@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static 432@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static
434@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE@noinst_LTLIBRARIES = libevas_engine_software_generic.la 433@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE@noinst_LTLIBRARIES = libevas_engine_software_generic.la
diff --git a/libraries/evas/src/modules/engines/software_generic/evas_engine.c b/libraries/evas/src/modules/engines/software_generic/evas_engine.c
index 48944dd..4667f6b 100644
--- a/libraries/evas/src/modules/engines/software_generic/evas_engine.c
+++ b/libraries/evas/src/modules/engines/software_generic/evas_engine.c
@@ -591,11 +591,8 @@ eng_image_border_set(void *data __UNUSED__, void *image, int l __UNUSED__, int r
591} 591}
592 592
593static void 593static void
594eng_image_border_get(void *data __UNUSED__, void *image, int *l __UNUSED__, int *r __UNUSED__, int *t __UNUSED__, int *b __UNUSED__) 594eng_image_border_get(void *data __UNUSED__, void *image __UNUSED__, int *l __UNUSED__, int *r __UNUSED__, int *t __UNUSED__, int *b __UNUSED__)
595{ 595{
596 RGBA_Image *im;
597
598 im = image;
599} 596}
600 597
601static char * 598static char *
@@ -704,18 +701,16 @@ eng_image_size_get(void *data __UNUSED__, void *image, int *w, int *h)
704static void * 701static void *
705eng_image_size_set(void *data __UNUSED__, void *image, int w, int h) 702eng_image_size_set(void *data __UNUSED__, void *image, int w, int h)
706{ 703{
707 Image_Entry *im; 704 Image_Entry *im = image;
708 705 if (!im) return NULL;
709 im = image; 706 return evas_cache_image_size_set(im, w, h);
710 return evas_cache_image_size_set(image, w, h);
711} 707}
712 708
713static void * 709static void *
714eng_image_dirty_region(void *data __UNUSED__, void *image, int x, int y, int w, int h) 710eng_image_dirty_region(void *data __UNUSED__, void *image, int x, int y, int w, int h)
715{ 711{
716 Image_Entry *im = image; 712 Image_Entry *im = image;
717 713 if (!im) return NULL;
718 if (!image) return NULL;
719 return evas_cache_image_dirty(im, x, y, w, h); 714 return evas_cache_image_dirty(im, x, y, w, h);
720} 715}
721 716
@@ -931,11 +926,10 @@ static void *
931eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha) 926eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha)
932{ 927{
933 void *surface; 928 void *surface;
934 DATA32 *pixels;
935 surface = evas_cache_image_copied_data(evas_common_image_cache_get(), 929 surface = evas_cache_image_copied_data(evas_common_image_cache_get(),
936 w, h, NULL, alpha, 930 w, h, NULL, alpha,
937 EVAS_COLORSPACE_ARGB8888); 931 EVAS_COLORSPACE_ARGB8888);
938 pixels = evas_cache_image_pixels(surface); 932 evas_cache_image_pixels(surface);
939 return surface; 933 return surface;
940} 934}
941 935
@@ -1784,6 +1778,7 @@ static Evas_Func func =
1784 NULL, // need software mesa for gl rendering <- gl_proc_address_get 1778 NULL, // need software mesa for gl rendering <- gl_proc_address_get
1785 NULL, // need software mesa for gl rendering <- gl_native_surface_get 1779 NULL, // need software mesa for gl rendering <- gl_native_surface_get
1786 NULL, // need software mesa for gl rendering <- gl_api_get 1780 NULL, // need software mesa for gl rendering <- gl_api_get
1781 NULL, // need software mesa for gl rendering <- gl_img_obj_set
1787 eng_image_load_error_get, 1782 eng_image_load_error_get,
1788 eng_font_run_font_end_get, 1783 eng_font_run_font_end_get,
1789 eng_image_animated_get, 1784 eng_image_animated_get,
@@ -2519,7 +2514,7 @@ evgl_glShaderSource(GLuint shader, GLsizei count, const char** string, const GLi
2519 2514
2520 2515
2521static void 2516static void
2522evgl_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) 2517evgl_glGetShaderPrecisionFormat(GLenum shadertype __UNUSED__, GLenum precisiontype __UNUSED__, GLint* range, GLint* precision)
2523{ 2518{
2524 if (range) 2519 if (range)
2525 { 2520 {
@@ -2531,7 +2526,6 @@ evgl_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint*
2531 precision[0] = 24; // floor(-log2((1.0/16777218.0))); 2526 precision[0] = 24; // floor(-log2((1.0/16777218.0)));
2532 } 2527 }
2533 return; 2528 return;
2534 shadertype = precisiontype = 0;
2535} 2529}
2536 2530
2537static void 2531static void
@@ -2567,6 +2561,8 @@ override_gl_apis(Evas_GL_API *api)
2567 ORD(glAttachShader); 2561 ORD(glAttachShader);
2568 ORD(glBindAttribLocation); 2562 ORD(glBindAttribLocation);
2569 ORD(glBindBuffer); 2563 ORD(glBindBuffer);
2564 ORD(glBindFramebuffer);
2565 ORD(glBindRenderbuffer);
2570 ORD(glBindTexture); 2566 ORD(glBindTexture);
2571 ORD(glBlendColor); 2567 ORD(glBlendColor);
2572 ORD(glBlendEquation); 2568 ORD(glBlendEquation);
diff --git a/libraries/evas/src/modules/engines/software_x11/Makefile.in b/libraries/evas/src/modules/engines/software_x11/Makefile.in
index 5fd2971..caab918 100644
--- a/libraries/evas/src/modules/engines/software_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_x11/Makefile.in
@@ -232,6 +232,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
232EVIL_CFLAGS = @EVIL_CFLAGS@ 232EVIL_CFLAGS = @EVIL_CFLAGS@
233EVIL_LIBS = @EVIL_LIBS@ 233EVIL_LIBS = @EVIL_LIBS@
234EXEEXT = @EXEEXT@ 234EXEEXT = @EXEEXT@
235EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
236EXOTIC_LIBS = @EXOTIC_LIBS@
235FGREP = @FGREP@ 237FGREP = @FGREP@
236FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 238FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
237FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 239FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -282,6 +284,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
282PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 284PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
283PIXMAN_LIBS = @PIXMAN_LIBS@ 285PIXMAN_LIBS = @PIXMAN_LIBS@
284PKG_CONFIG = @PKG_CONFIG@ 286PKG_CONFIG = @PKG_CONFIG@
287PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
288PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
285PNG_CFLAGS = @PNG_CFLAGS@ 289PNG_CFLAGS = @PNG_CFLAGS@
286PNG_LIBS = @PNG_LIBS@ 290PNG_LIBS = @PNG_LIBS@
287RANLIB = @RANLIB@ 291RANLIB = @RANLIB@
@@ -300,8 +304,6 @@ VERSION = @VERSION@
300VMAJ = @VMAJ@ 304VMAJ = @VMAJ@
301WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 305WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
302WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 306WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
303WIN32_CFLAGS = @WIN32_CFLAGS@
304WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
305XCB_CFLAGS = @XCB_CFLAGS@ 307XCB_CFLAGS = @XCB_CFLAGS@
306XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 308XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
307XCB_GL_LIBS = @XCB_GL_LIBS@ 309XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -375,8 +377,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
375evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 377evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
376evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 378evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
377evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 379evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
378evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
379evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
380evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 380evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
381evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 381evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
382evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 382evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/wayland_egl/Makefile.am b/libraries/evas/src/modules/engines/wayland_egl/Makefile.am
index 100614f..9234b33 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/Makefile.am
+++ b/libraries/evas/src/modules/engines/wayland_egl/Makefile.am
@@ -18,7 +18,7 @@ WAYLAND_EGL_SOURCES = \
18evas_engine.c \ 18evas_engine.c \
19evas_wl_main.c 19evas_wl_main.c
20 20
21WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la 21WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ @dlopen_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la
22 22
23includes_HEADERS = Evas_Engine_Wayland_Egl.h 23includes_HEADERS = Evas_Engine_Wayland_Egl.h
24includesdir = $(includedir)/evas-@VMAJ@ 24includesdir = $(includedir)/evas-@VMAJ@
diff --git a/libraries/evas/src/modules/engines/wayland_egl/Makefile.in b/libraries/evas/src/modules/engines/wayland_egl/Makefile.in
index 0df0c63..90aa36b 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/Makefile.in
+++ b/libraries/evas/src/modules/engines/wayland_egl/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -437,7 +437,7 @@ AM_CPPFLAGS = \
437@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_engine.c \ 437@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_engine.c \
438@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_wl_main.c 438@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_wl_main.c
439 439
440@BUILD_ENGINE_WAYLAND_EGL_TRUE@WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la 440@BUILD_ENGINE_WAYLAND_EGL_TRUE@WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ @dlopen_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la
441@BUILD_ENGINE_WAYLAND_EGL_TRUE@includes_HEADERS = Evas_Engine_Wayland_Egl.h 441@BUILD_ENGINE_WAYLAND_EGL_TRUE@includes_HEADERS = Evas_Engine_Wayland_Egl.h
442@BUILD_ENGINE_WAYLAND_EGL_TRUE@includesdir = $(includedir)/evas-@VMAJ@ 442@BUILD_ENGINE_WAYLAND_EGL_TRUE@includesdir = $(includedir)/evas-@VMAJ@
443@BUILD_ENGINE_WAYLAND_EGL_TRUE@@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_egl/$(MODULE_ARCH) 443@BUILD_ENGINE_WAYLAND_EGL_TRUE@@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_egl/$(MODULE_ARCH)
diff --git a/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c b/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c
index d2a6a0d..4f5102e 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c
+++ b/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c
@@ -25,7 +25,6 @@ struct _Render_Engine
25 int end; 25 int end;
26 int w, h; 26 int w, h;
27 int vsync; 27 int vsync;
28
29}; 28};
30 29
31struct _Render_Engine_GL_Surface 30struct _Render_Engine_GL_Surface
@@ -1320,76 +1319,6 @@ struct _Native
1320// 1319//
1321//#define GLX_TEX_PIXMAP_RECREATE 1 1320//#define GLX_TEX_PIXMAP_RECREATE 1
1322 1321
1323static void
1324_native_bind_cb(void *data, void *image)
1325{
1326 Evas_GL_Image *im = image;
1327 Native *n = im->native.data;
1328
1329 if (n->egl_surface)
1330 {
1331 if (glsym_glEGLImageTargetTexture2DOES)
1332 {
1333 glsym_glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, n->egl_surface);
1334 if (eglGetError() != EGL_SUCCESS)
1335 ERR("glEGLImageTargetTexture2DOES() failed.");
1336 }
1337 else
1338 ERR("Try glEGLImageTargetTexture2DOES on EGL with no support");
1339 }
1340 return;
1341 data = NULL;
1342}
1343
1344static void
1345_native_unbind_cb(void *data, void *image)
1346{
1347 Evas_GL_Image *im = image;
1348 /* Native *n = im->native.data; */
1349
1350 /* if (n->ns.type == EVAS_NATIVE_SURFACE_X11) */
1351 /* { */
1352 /* // nothing */
1353 /* } */
1354 /* else if (n->ns.type == EVAS_NATIVE_SURFACE_OPENGL) */
1355 /* { */
1356 /* glBindTexture(GL_TEXTURE_2D, 0); */
1357 /* GLERR(__FUNCTION__, __FILE__, __LINE__, ""); */
1358 /* } */
1359 return;
1360 data = NULL;
1361}
1362
1363static void
1364_native_free_cb(void *data, void *image)
1365{
1366 Render_Engine *re = data;
1367 Evas_GL_Image *im = image;
1368 Native *n = im->native.data;
1369 uint32_t texid;
1370// uint32_t pmid, texid;
1371
1372 /* eina_hash_del(re->win->gl_context->shared->native_pm_hash, &pmid, im); */
1373 if (n->egl_surface)
1374 {
1375 if (glsym_eglDestroyImage)
1376 {
1377 glsym_eglDestroyImage(re->win->egl_disp, n->egl_surface);
1378 if (eglGetError() != EGL_SUCCESS)
1379 ERR("eglDestroyImage() failed.");
1380 }
1381 else
1382 ERR("Try eglDestroyImage on EGL with no support");
1383 }
1384
1385 im->native.data = NULL;
1386 im->native.func.data = NULL;
1387 im->native.func.bind = NULL;
1388 im->native.func.unbind = NULL;
1389 im->native.func.free = NULL;
1390 free(n);
1391}
1392
1393static void * 1322static void *
1394eng_image_native_set(void *data, void *image, void *native) 1323eng_image_native_set(void *data, void *image, void *native)
1395{ 1324{
@@ -1397,10 +1326,6 @@ eng_image_native_set(void *data, void *image, void *native)
1397 Evas_Native_Surface *ns = native; 1326 Evas_Native_Surface *ns = native;
1398 Evas_GL_Image *im = image, *im2 = NULL; 1327 Evas_GL_Image *im = image, *im2 = NULL;
1399 Native *n = NULL; 1328 Native *n = NULL;
1400// uint32_t pmid;
1401// uint32_t texid;
1402 unsigned int tex = 0;
1403 unsigned int fbo = 0;
1404 1329
1405 if (!im) 1330 if (!im)
1406 { 1331 {
@@ -1418,15 +1343,7 @@ eng_image_native_set(void *data, void *image, void *native)
1418 1343
1419 if (ns) 1344 if (ns)
1420 { 1345 {
1421 /* vis = ns->data.x11.visual; */ 1346 if (im->native.data) return im;
1422 /* pm = ns->data.x11.pixmap; */
1423 if (im->native.data)
1424 {
1425 Evas_Native_Surface *ens = im->native.data;
1426 /* if ((ens->data.x11.visual == vis) && */
1427 /* (ens->data.x11.pixmap == pm)) */
1428 return im;
1429 }
1430 } 1347 }
1431 if ((!ns) && (!im->native.data)) return im; 1348 if ((!ns) && (!im->native.data)) return im;
1432 1349
@@ -1441,94 +1358,35 @@ eng_image_native_set(void *data, void *image, void *native)
1441 1358
1442 if (!ns) return im; 1359 if (!ns) return im;
1443 1360
1444 /* if (ns->type == EVAS_NATIVE_SURFACE_X11) */ 1361 if (im2 == im) return im;
1445 /* { */ 1362 if (im2)
1446 /* pmid = pm; */ 1363 {
1447 /* im2 = eina_hash_find(re->win->gl_context->shared->native_pm_hash, &pmid); */ 1364 n = im2->native.data;
1448 if (im2 == im) return im; 1365 if (n)
1449 if (im2) 1366 {
1450 { 1367 evas_gl_common_image_ref(im2);
1451 n = im2->native.data; 1368 evas_gl_common_image_free(im);
1452 if (n) 1369 return im2;
1453 { 1370 }
1454 evas_gl_common_image_ref(im2); 1371 }
1455 evas_gl_common_image_free(im);
1456 return im2;
1457 }
1458 }
1459 1372
1460 im2 = evas_gl_common_image_new_from_data(re->win->gl_context, 1373 im2 = evas_gl_common_image_new_from_data(re->win->gl_context,
1461 im->w, im->h, NULL, im->alpha, 1374 im->w, im->h, NULL, im->alpha,
1462 EVAS_COLORSPACE_ARGB8888); 1375 EVAS_COLORSPACE_ARGB8888);
1463 evas_gl_common_image_free(im); 1376 evas_gl_common_image_free(im);
1464 im = im2; 1377 im = im2;
1465 /* if (native) */ 1378
1466 /* { */
1467 /* n = calloc(1, sizeof(Native)); */
1468 /* if (n) */
1469 /* { */
1470 /* EGLConfig egl_config; */
1471 /* int config_attrs[20]; */
1472 /* int num_config, i = 0; */
1473
1474 /* eina_hash_add(re->win->gl_context->shared->native_pm_hash, &pmid, im); */
1475
1476 /* config_attrs[i++] = EGL_RED_SIZE; */
1477 /* config_attrs[i++] = 8; */
1478 /* config_attrs[i++] = EGL_GREEN_SIZE; */
1479 /* config_attrs[i++] = 8; */
1480 /* config_attrs[i++] = EGL_BLUE_SIZE; */
1481 /* config_attrs[i++] = 8; */
1482 /* config_attrs[i++] = EGL_ALPHA_SIZE; */
1483 /* config_attrs[i++] = 8; */
1484 /* config_attrs[i++] = EGL_DEPTH_SIZE; */
1485 /* config_attrs[i++] = 0; */
1486 /* config_attrs[i++] = EGL_STENCIL_SIZE; */
1487 /* config_attrs[i++] = 0; */
1488 /* config_attrs[i++] = EGL_RENDERABLE_TYPE; */
1489 /* config_attrs[i++] = EGL_OPENGL_ES2_BIT; */
1490 /* config_attrs[i++] = EGL_SURFACE_TYPE; */
1491 /* config_attrs[i++] = EGL_PIXMAP_BIT; */
1492 /* config_attrs[i++] = EGL_NONE; */
1493
1494 /* if (!eglChooseConfig(re->win->egl_disp, config_attrs, */
1495 /* &egl_config, 1, &num_config)) */
1496 /* ERR("eglChooseConfig() failed for, num_config = %i", num_config); */
1497 /* memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface)); */
1498 /* n->pixmap = pm; */
1499 /* if (glsym_eglCreateImage) */
1500 /* n->egl_surface = glsym_eglCreateImage(re->win->egl_disp, */
1501 /* EGL_NO_CONTEXT, */
1502 /* EGL_NATIVE_PIXMAP_KHR, */
1503 /* (void *)pm, */
1504 /* NULL); */
1505 /* else */
1506 /* ERR("Try eglCreateImage on EGL with no support"); */
1507 /* if (!n->egl_surface) */
1508 /* ERR("eglCreatePixmapSurface() for 0x%x failed", (unsigned int)pm); */
1509 /* im->native.yinvert = 1; */
1510 /* im->native.loose = 0; */
1511 /* im->native.data = n; */
1512 /* im->native.func.data = re; */
1513 /* im->native.func.bind = _native_bind_cb; */
1514 /* im->native.func.unbind = _native_unbind_cb; */
1515 /* im->native.func.free = _native_free_cb; */
1516 /* im->native.target = GL_TEXTURE_2D; */
1517 /* im->native.mipmap = 0; */
1518 /* evas_gl_common_image_native_enable(im); */
1519 /* } */
1520 /* } */
1521 return im; 1379 return im;
1522} 1380}
1523 1381
1524static void * 1382static void *
1525eng_image_native_get(void *data __UNUSED__, void *image) 1383eng_image_native_get(void *data __UNUSED__, void *image)
1526{ 1384{
1527 Evas_GL_Image *im = image; 1385 Evas_GL_Image *im;
1528 Native *n; 1386 Native *n;
1529 if (!im) return NULL; 1387
1530 n = im->native.data; 1388 if (!(im = image)) return NULL;
1531 if (!n) return NULL; 1389 if (!(n = im->native.data)) return NULL;
1532 return &(n->ns); 1390 return &(n->ns);
1533} 1391}
1534 1392
diff --git a/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c b/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c
index 537fcc6..60a2371 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c
+++ b/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c
@@ -217,7 +217,9 @@ eng_window_free(Evas_GL_Wl_Window *gw)
217 { 217 {
218 if (context) eglDestroyContext(gw->egl_disp, context); 218 if (context) eglDestroyContext(gw->egl_disp, context);
219 context = EGL_NO_CONTEXT; 219 context = EGL_NO_CONTEXT;
220 eglTerminate(gw->egl_disp); 220 /* NB: This is causing an unknown hang when we run elm apps as
221 * wayland clients inside the weston compositor */
222 /* eglTerminate(gw->egl_disp); */
221 eglReleaseThread(); 223 eglReleaseThread();
222 } 224 }
223 free(gw); 225 free(gw);
diff --git a/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h b/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
index b34b2c1..2b5c2c7 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
+++ b/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
@@ -11,7 +11,8 @@ struct _Evas_Engine_Info_Wayland_Shm
11 void *dest; 11 void *dest;
12 int rotation; 12 int rotation;
13 13
14 unsigned char debug : 1; 14 Eina_Bool destination_alpha : 1;
15 Eina_Bool debug : 1;
15 } info; 16 } info;
16 17
17 Evas_Engine_Render_Mode render_mode; 18 Evas_Engine_Render_Mode render_mode;
diff --git a/libraries/evas/src/modules/engines/wayland_shm/Makefile.am b/libraries/evas/src/modules/engines/wayland_shm/Makefile.am
index 455b82c..2a5901f 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/Makefile.am
+++ b/libraries/evas/src/modules/engines/wayland_shm/Makefile.am
@@ -7,6 +7,7 @@ AM_CPPFLAGS = \
7-I$(top_srcdir)/src/lib/include \ 7-I$(top_srcdir)/src/lib/include \
8-I$(top_srcdir)/src/modules/engines \ 8-I$(top_srcdir)/src/modules/engines \
9@FREETYPE_CFLAGS@ \ 9@FREETYPE_CFLAGS@ \
10@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 11@EINA_CFLAGS@ \
11@evas_engine_wayland_shm_cflags@ 12@evas_engine_wayland_shm_cflags@
12 13
@@ -16,7 +17,7 @@ WAYLAND_SHM_SOURCES = \
16evas_engine.c \ 17evas_engine.c \
17evas_outbuf.c 18evas_outbuf.c
18 19
19WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@ 20WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@
20 21
21includes_HEADERS = Evas_Engine_Wayland_Shm.h 22includes_HEADERS = Evas_Engine_Wayland_Shm.h
22includesdir = $(includedir)/evas-@VMAJ@ 23includesdir = $(includedir)/evas-@VMAJ@
diff --git a/libraries/evas/src/modules/engines/wayland_shm/Makefile.in b/libraries/evas/src/modules/engines/wayland_shm/Makefile.in
index 4d69209..e70210b 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/Makefile.in
+++ b/libraries/evas/src/modules/engines/wayland_shm/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -428,6 +428,7 @@ AM_CPPFLAGS = \
428-I$(top_srcdir)/src/lib/include \ 428-I$(top_srcdir)/src/lib/include \
429-I$(top_srcdir)/src/modules/engines \ 429-I$(top_srcdir)/src/modules/engines \
430@FREETYPE_CFLAGS@ \ 430@FREETYPE_CFLAGS@ \
431@PIXMAN_CFLAGS@ \
431@EINA_CFLAGS@ \ 432@EINA_CFLAGS@ \
432@evas_engine_wayland_shm_cflags@ 433@evas_engine_wayland_shm_cflags@
433 434
@@ -435,7 +436,7 @@ AM_CPPFLAGS = \
435@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_engine.c \ 436@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_engine.c \
436@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_outbuf.c 437@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_outbuf.c
437 438
438@BUILD_ENGINE_WAYLAND_SHM_TRUE@WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@ 439@BUILD_ENGINE_WAYLAND_SHM_TRUE@WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@
439@BUILD_ENGINE_WAYLAND_SHM_TRUE@includes_HEADERS = Evas_Engine_Wayland_Shm.h 440@BUILD_ENGINE_WAYLAND_SHM_TRUE@includes_HEADERS = Evas_Engine_Wayland_Shm.h
440@BUILD_ENGINE_WAYLAND_SHM_TRUE@includesdir = $(includedir)/evas-@VMAJ@ 441@BUILD_ENGINE_WAYLAND_SHM_TRUE@includesdir = $(includedir)/evas-@VMAJ@
441@BUILD_ENGINE_WAYLAND_SHM_TRUE@@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_shm/$(MODULE_ARCH) 442@BUILD_ENGINE_WAYLAND_SHM_TRUE@@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_shm/$(MODULE_ARCH)
diff --git a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c
index 7c55517..17b17bf 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c
+++ b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c
@@ -28,7 +28,7 @@ static Evas_Func func, pfunc;
28int _evas_engine_way_shm_log_dom = -1; 28int _evas_engine_way_shm_log_dom = -1;
29 29
30/* local function prototypes */ 30/* local function prototypes */
31static void *_output_setup(int w, int h, int rotation, void *dest); 31static void *_output_setup(int w, int h, int rotation, Eina_Bool alpha, void *dest);
32 32
33/* engine function prototypes */ 33/* engine function prototypes */
34static void *eng_info(Evas *evas __UNUSED__); 34static void *eng_info(Evas *evas __UNUSED__);
@@ -48,7 +48,7 @@ static Eina_Bool eng_canvas_alpha_get(void *data, void *context __UNUSED__);
48 48
49/* local functions */ 49/* local functions */
50static void * 50static void *
51_output_setup(int w, int h, int rotation, void *dest) 51_output_setup(int w, int h, int rotation, Eina_Bool alpha, void *dest)
52{ 52{
53 Render_Engine *re = NULL; 53 Render_Engine *re = NULL;
54 54
@@ -56,7 +56,7 @@ _output_setup(int w, int h, int rotation, void *dest)
56 56
57 if (!(re = calloc(1, sizeof(Render_Engine)))) return NULL; 57 if (!(re = calloc(1, sizeof(Render_Engine)))) return NULL;
58 58
59 if (!(re->ob = evas_outbuf_setup(w, h, rotation, dest))) 59 if (!(re->ob = evas_outbuf_setup(w, h, rotation, alpha, dest)))
60 { 60 {
61 free(re); 61 free(re);
62 return NULL; 62 return NULL;
@@ -127,7 +127,8 @@ eng_setup(Evas *evas, void *info)
127 evas_common_tilebuf_init(); 127 evas_common_tilebuf_init();
128 128
129 re = _output_setup(evas->output.w, evas->output.h, 129 re = _output_setup(evas->output.w, evas->output.h,
130 in->info.rotation, in->info.dest); 130 in->info.rotation, in->info.destination_alpha,
131 in->info.dest);
131 if (!re) return 0; 132 if (!re) return 0;
132 133
133 re->outbuf_free = evas_outbuf_free; 134 re->outbuf_free = evas_outbuf_free;
@@ -141,7 +142,8 @@ eng_setup(Evas *evas, void *info)
141 if (!(re = evas->engine.data.output)) return 0; 142 if (!(re = evas->engine.data.output)) return 0;
142 if (re->ob) re->outbuf_free(re->ob); 143 if (re->ob) re->outbuf_free(re->ob);
143 re->ob = evas_outbuf_setup(evas->output.w, evas->output.h, 144 re->ob = evas_outbuf_setup(evas->output.w, evas->output.h,
144 in->info.rotation, in->info.dest); 145 in->info.rotation,
146 in->info.destination_alpha, in->info.dest);
145 if (re->tb) evas_common_tilebuf_free(re->tb); 147 if (re->tb) evas_common_tilebuf_free(re->tb);
146 if ((re->tb = evas_common_tilebuf_new(evas->output.w, evas->output.h))) 148 if ((re->tb = evas_common_tilebuf_new(evas->output.w, evas->output.h)))
147 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); 149 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
diff --git a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h
index 878851a..1869d16 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h
+++ b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h
@@ -47,12 +47,13 @@ struct _Outbuf
47 { 47 {
48 void *dest; 48 void *dest;
49 RGBA_Image *buffer; 49 RGBA_Image *buffer;
50 Eina_Bool destination_alpha : 1;
50 } priv; 51 } priv;
51}; 52};
52 53
53void evas_outbuf_free(Outbuf *ob); 54void evas_outbuf_free(Outbuf *ob);
54void evas_outbuf_resize(Outbuf *ob, int w, int h); 55void evas_outbuf_resize(Outbuf *ob, int w, int h);
55Outbuf *evas_outbuf_setup(int w, int h, int rot, void *dest); 56Outbuf *evas_outbuf_setup(int w, int h, int rot, Eina_Bool alpha, void *dest);
56RGBA_Image *evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 57RGBA_Image *evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
57void evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x __UNUSED__, int y, int w, int h); 58void evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x __UNUSED__, int y, int w, int h);
58void evas_outbuf_free_region_for_update(Outbuf *ob, RGBA_Image *update); 59void evas_outbuf_free_region_for_update(Outbuf *ob, RGBA_Image *update);
diff --git a/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c b/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c
index 490a978..4dee9a2 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c
@@ -21,7 +21,7 @@ evas_outbuf_resize(Outbuf *ob, int w, int h)
21} 21}
22 22
23Outbuf * 23Outbuf *
24evas_outbuf_setup(int w, int h, int rot, void *dest) 24evas_outbuf_setup(int w, int h, int rot, Eina_Bool alpha, void *dest)
25{ 25{
26 Outbuf *ob = NULL; 26 Outbuf *ob = NULL;
27 27
@@ -31,6 +31,7 @@ evas_outbuf_setup(int w, int h, int rot, void *dest)
31 ob->h = h; 31 ob->h = h;
32 ob->rotation = rot; 32 ob->rotation = rot;
33 ob->priv.dest = dest; 33 ob->priv.dest = dest;
34 ob->priv.destination_alpha = alpha;
34 35
35 ob->priv.buffer = 36 ob->priv.buffer =
36 (RGBA_Image *)evas_cache_image_data(evas_common_image_cache_get(), 37 (RGBA_Image *)evas_cache_image_data(evas_common_image_cache_get(),
@@ -56,7 +57,7 @@ evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *c
56 im = (RGBA_Image *)evas_cache_image_empty(evas_common_image_cache_get()); 57 im = (RGBA_Image *)evas_cache_image_empty(evas_common_image_cache_get());
57 if (im) 58 if (im)
58 { 59 {
59 im->cache_entry.flags.alpha = 1; 60 im->cache_entry.flags.alpha = ob->priv.destination_alpha;
60 im = (RGBA_Image *)evas_cache_image_size_set(&im->cache_entry, w, h); 61 im = (RGBA_Image *)evas_cache_image_size_set(&im->cache_entry, w, h);
61 } 62 }
62 63
diff --git a/libraries/evas/src/modules/loaders/Makefile.in b/libraries/evas/src/modules/loaders/Makefile.in
index 454dcd8..f37032a 100644
--- a/libraries/evas/src/modules/loaders/Makefile.in
+++ b/libraries/evas/src/modules/loaders/Makefile.in
@@ -49,7 +49,7 @@ host_triplet = @host@
49@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@am__append_14 = wbmp 49@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@am__append_14 = wbmp
50@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@am__append_15 = xpm 50@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@am__append_15 = xpm
51subdir = src/modules/loaders 51subdir = src/modules/loaders
52DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 52DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO
53ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 53ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
54am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 54am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \
55 $(top_srcdir)/m4/efl_coverage.m4 \ 55 $(top_srcdir)/m4/efl_coverage.m4 \
@@ -172,6 +172,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
172EVIL_CFLAGS = @EVIL_CFLAGS@ 172EVIL_CFLAGS = @EVIL_CFLAGS@
173EVIL_LIBS = @EVIL_LIBS@ 173EVIL_LIBS = @EVIL_LIBS@
174EXEEXT = @EXEEXT@ 174EXEEXT = @EXEEXT@
175EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
176EXOTIC_LIBS = @EXOTIC_LIBS@
175FGREP = @FGREP@ 177FGREP = @FGREP@
176FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 178FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
177FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 179FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -222,6 +224,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
222PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 224PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
223PIXMAN_LIBS = @PIXMAN_LIBS@ 225PIXMAN_LIBS = @PIXMAN_LIBS@
224PKG_CONFIG = @PKG_CONFIG@ 226PKG_CONFIG = @PKG_CONFIG@
227PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
228PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
225PNG_CFLAGS = @PNG_CFLAGS@ 229PNG_CFLAGS = @PNG_CFLAGS@
226PNG_LIBS = @PNG_LIBS@ 230PNG_LIBS = @PNG_LIBS@
227RANLIB = @RANLIB@ 231RANLIB = @RANLIB@
@@ -240,8 +244,6 @@ VERSION = @VERSION@
240VMAJ = @VMAJ@ 244VMAJ = @VMAJ@
241WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 245WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
242WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 246WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
243WIN32_CFLAGS = @WIN32_CFLAGS@
244WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
245XCB_CFLAGS = @XCB_CFLAGS@ 247XCB_CFLAGS = @XCB_CFLAGS@
246XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 248XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
247XCB_GL_LIBS = @XCB_GL_LIBS@ 249XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -315,8 +317,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
315evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 317evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
316evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 318evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
317evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 319evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
318evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
319evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
320evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 320evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
321evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 321evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
322evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 322evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/loaders/bmp/Makefile.am b/libraries/evas/src/modules/loaders/bmp/Makefile.am
index 857f3b9..0a04790 100644
--- a/libraries/evas/src/modules/loaders/bmp/Makefile.am
+++ b/libraries/evas/src/modules/loaders/bmp/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_BMP 13if BUILD_LOADER_BMP
15if !EVAS_STATIC_BUILD_BMP 14if !EVAS_STATIC_BUILD_BMP
@@ -19,7 +18,7 @@ pkg_LTLIBRARIES = module.la
19 18
20module_la_SOURCES = evas_image_load_bmp.c 19module_la_SOURCES = evas_image_load_bmp.c
21 20
22module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ $(top_builddir)/src/lib/libevas.la 21module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ -lm $(top_builddir)/src/lib/libevas.la
23module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 22module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
24module_la_LIBTOOLFLAGS = --tag=disable-static 23module_la_LIBTOOLFLAGS = --tag=disable-static
25 24
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_bmp.la 27noinst_LTLIBRARIES = libevas_loader_bmp.la
29libevas_loader_bmp_la_SOURCES = evas_image_load_bmp.c 28libevas_loader_bmp_la_SOURCES = evas_image_load_bmp.c
30libevas_loader_bmp_la_LIBADD = 29libevas_loader_bmp_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/bmp/Makefile.in b/libraries/evas/src/modules/loaders/bmp/Makefile.in
index 943fb74..40600cc 100644
--- a/libraries/evas/src/modules/loaders/bmp/Makefile.in
+++ b/libraries/evas/src/modules/loaders/bmp/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,13 +416,12 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/bmp/$(MODULE_ARCH) 421@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/bmp/$(MODULE_ARCH)
423@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_SOURCES = evas_image_load_bmp.c 423@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_SOURCES = evas_image_load_bmp.c
425@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ $(top_builddir)/src/lib/libevas.la 424@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ -lm $(top_builddir)/src/lib/libevas.la
426@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 425@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
427@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static 426@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static
428@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_TRUE@noinst_LTLIBRARIES = libevas_loader_bmp.la 427@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_TRUE@noinst_LTLIBRARIES = libevas_loader_bmp.la
diff --git a/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c b/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
index 6d15783..9453ceb 100644
--- a/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
+++ b/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
@@ -107,12 +107,8 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
107 void *map = NULL; 107 void *map = NULL;
108 size_t position = 0; 108 size_t position = 0;
109 char hasa = 0; 109 char hasa = 0;
110 int w = 0, h = 0, planes = 0, bit_count = 0, 110 int w = 0, h = 0, bit_count = 0, image_size = 0, comp = 0;
111 image_size = 0, comp = 0, hdpi = 0, vdpi = 0, 111 unsigned int offset, head_size, amask = 0;
112 palette_size = -1, important_colors = 0;
113 unsigned int offset, head_size, rmask = 0, gmask = 0, bmask = 0, amask = 0;
114 unsigned int pal_num = 0;
115 int right_way_up = 0;
116 int fsize = 0; 112 int fsize = 0;
117 unsigned int bmpsize; 113 unsigned int bmpsize;
118 unsigned short res1, res2; 114 unsigned short res1, res2;
@@ -148,7 +144,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
148 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 144 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
149 h = tmp; // height 145 h = tmp; // height
150 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 146 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
151 planes = tmp; // must be 1 147 //planes = tmp; // must be 1
152 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 148 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
153 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24 149 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24
154 } 150 }
@@ -162,7 +158,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
162 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 158 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
163 h = tmp2; // height 159 h = tmp2; // height
164 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 160 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
165 planes = tmp; // must be 1 161 //planes = tmp; // must be 1
166 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 162 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
167 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 163 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
168 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 164 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -170,13 +166,13 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
170 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 166 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
171 image_size = tmp2; // bitmap data size 167 image_size = tmp2; // bitmap data size
172 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 168 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
173 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 169 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
174 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 170 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
175 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 171 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
176 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 172 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
177 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 173 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
178 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 174 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
179 important_colors = tmp2; // number of important colors - 0 if all 175 //important_colors = tmp2; // number of important colors - 0 if all
180 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header 176 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header
181 if (image_size == 0) image_size = fsize - offset; 177 if (image_size == 0) image_size = fsize - offset;
182 } 178 }
@@ -190,7 +186,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
190 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 186 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
191 h = tmp2; // height 187 h = tmp2; // height
192 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 188 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
193 planes = tmp; // must be 1 189 //planes = tmp; // must be 1
194 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 190 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
195 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 191 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
196 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 192 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -198,13 +194,13 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
198 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 194 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
199 image_size = tmp2; // bitmap data size 195 image_size = tmp2; // bitmap data size
200 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 196 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
201 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 197 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
202 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 198 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
203 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 199 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
204 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 200 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
205 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 201 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
206 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 202 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
207 important_colors = tmp2; // number of important colors - 0 if all 203 //important_colors = tmp2; // number of important colors - 0 if all
208 if (image_size == 0) image_size = fsize - offset; 204 if (image_size == 0) image_size = fsize - offset;
209 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way 205 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way
210 } 206 }
@@ -218,7 +214,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
218 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 214 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
219 h = tmp2; // height 215 h = tmp2; // height
220 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 216 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
221 planes = tmp; // must be 1 217 //planes = tmp; // must be 1
222 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 218 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
223 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 219 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
224 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 220 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -226,19 +222,19 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
226 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 222 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
227 image_size = tmp2; // bitmap data size 223 image_size = tmp2; // bitmap data size
228 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 224 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
229 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 225 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
230 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 226 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
231 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 227 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
232 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 228 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
233 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 229 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
234 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 230 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
235 important_colors = tmp2; // number of important colors - 0 if all 231 //important_colors = tmp2; // number of important colors - 0 if all
236 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 232 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
237 rmask = tmp2; // red mask 233 //rmask = tmp2; // red mask
238 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 234 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
239 gmask = tmp2; // green mask 235 //gmask = tmp2; // green mask
240 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 236 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
241 bmask = tmp2; // blue mask 237 //bmask = tmp2; // blue mask
242 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 238 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
243 amask = tmp2; // alpha mask 239 amask = tmp2; // alpha mask
244 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie 240 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie
@@ -256,27 +252,27 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
256 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 252 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
257 h = tmp2; // height 253 h = tmp2; // height
258 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 254 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
259 planes = tmp; // must be 1 255 //planes = tmp; // must be 1
260 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 256 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
261 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 257 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
262 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 258 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
263 comp = tmp2; // compression method 259 comp = tmp2; // compression method
264 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 260 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
265 image_size = tmp2; // bitmap data size 261 //image_size = tmp2; // bitmap data size
266 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 262 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
267 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 263 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
268 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 264 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
269 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 265 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
270 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 266 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
271 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 267 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
272 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 268 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
273 important_colors = tmp2; // number of important colors - 0 if all 269 //important_colors = tmp2; // number of important colors - 0 if all
274 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 270 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
275 rmask = tmp2; // red mask 271 //rmask = tmp2; // red mask
276 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 272 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
277 gmask = tmp2; // green mask 273 //gmask = tmp2; // green mask
278 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 274 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
279 bmask = tmp2; // blue mask 275 //bmask = tmp2; // blue mask
280 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 276 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
281 amask = tmp2; // alpha mask 277 amask = tmp2; // alpha mask
282 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie 278 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie
@@ -291,7 +287,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
291 if (h < 0) 287 if (h < 0)
292 { 288 {
293 h = -h; 289 h = -h;
294 right_way_up = 1; 290 //right_way_up = 1;
295 } 291 }
296 292
297 if ((w < 1) || (h < 1) || (w > IMG_MAX_SIZE) || (h > IMG_MAX_SIZE) || 293 if ((w < 1) || (h < 1) || (w > IMG_MAX_SIZE) || (h > IMG_MAX_SIZE) ||
@@ -313,8 +309,8 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
313 309
314 if (bit_count < 16) 310 if (bit_count < 16)
315 { 311 {
316 if ((palette_size < 0) || (palette_size > 256)) pal_num = 256; 312 //if ((palette_size < 0) || (palette_size > 256)) pal_num = 256;
317 else pal_num = palette_size; 313 //else pal_num = palette_size;
318 if (bit_count == 1) 314 if (bit_count == 1)
319 { 315 {
320 if (comp == 0) // no compression 316 if (comp == 0) // no compression
@@ -389,8 +385,8 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
389 size_t position = 0; 385 size_t position = 0;
390 unsigned char *buffer = NULL, *buffer_end = NULL, *p; 386 unsigned char *buffer = NULL, *buffer_end = NULL, *p;
391 char hasa = 0; 387 char hasa = 0;
392 int x = 0, y = 0, w = 0, h = 0, planes = 0, bit_count = 0, image_size = 0, 388 int x = 0, y = 0, w = 0, h = 0, bit_count = 0, image_size = 0,
393 comp = 0, hdpi = 0, vdpi = 0, palette_size = -1, important_colors = 0; 389 comp = 0, palette_size = -1;
394 unsigned int offset = 0, head_size = 0; 390 unsigned int offset = 0, head_size = 0;
395 unsigned int *pal = NULL, pal_num = 0, *pix = NULL, *surface = NULL, fix, 391 unsigned int *pal = NULL, pal_num = 0, *pix = NULL, *surface = NULL, fix,
396 rmask = 0, gmask = 0, bmask = 0, amask = 0; 392 rmask = 0, gmask = 0, bmask = 0, amask = 0;
@@ -440,7 +436,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
440 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 436 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
441 h = tmp; // height 437 h = tmp; // height
442 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 438 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
443 planes = tmp; // must be 1 439 //planes = tmp; // must be 1
444 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 440 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
445 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24 441 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24
446 } 442 }
@@ -454,7 +450,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
454 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 450 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
455 h = tmp2; // height 451 h = tmp2; // height
456 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 452 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
457 planes = tmp; // must be 1 453 //planes = tmp; // must be 1
458 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 454 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
459 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 455 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
460 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 456 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -462,13 +458,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
462 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 458 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
463 image_size = tmp2; // bitmap data size 459 image_size = tmp2; // bitmap data size
464 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 460 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
465 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 461 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
466 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 462 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
467 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 463 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
468 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 464 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
469 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 465 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
470 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 466 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
471 important_colors = tmp2; // number of important colors - 0 if all 467 //important_colors = tmp2; // number of important colors - 0 if all
472 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header 468 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header
473 if (image_size == 0) image_size = fsize - offset; 469 if (image_size == 0) image_size = fsize - offset;
474 } 470 }
@@ -482,7 +478,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
482 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 478 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
483 h = tmp2; // height 479 h = tmp2; // height
484 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 480 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
485 planes = tmp; // must be 1 481 //planes = tmp; // must be 1
486 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 482 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
487 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 483 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
488 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 484 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -490,13 +486,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
490 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 486 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
491 image_size = tmp2; // bitmap data size 487 image_size = tmp2; // bitmap data size
492 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 488 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
493 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 489 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
494 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 490 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
495 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 491 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
496 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 492 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
497 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 493 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
498 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 494 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
499 important_colors = tmp2; // number of important colors - 0 if all 495 //important_colors = tmp2; // number of important colors - 0 if all
500 if (image_size == 0) image_size = fsize - offset; 496 if (image_size == 0) image_size = fsize - offset;
501 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way 497 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way
502 } 498 }
@@ -510,7 +506,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
510 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 506 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
511 h = tmp2; // height 507 h = tmp2; // height
512 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 508 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
513 planes = tmp; // must be 1 509 //planes = tmp; // must be 1
514 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 510 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
515 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 511 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
516 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 512 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -518,13 +514,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
518 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 514 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
519 image_size = tmp2; // bitmap data size 515 image_size = tmp2; // bitmap data size
520 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 516 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
521 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 517 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
522 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 518 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
523 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 519 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
524 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 520 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
525 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 521 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
526 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 522 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
527 important_colors = tmp2; // number of important colors - 0 if all 523 //important_colors = tmp2; // number of important colors - 0 if all
528 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 524 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
529 rmask = tmp2; // red mask 525 rmask = tmp2; // red mask
530 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 526 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -548,7 +544,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
548 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 544 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
549 h = tmp2; // height 545 h = tmp2; // height
550 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 546 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
551 planes = tmp; // must be 1 547 //planes = tmp; // must be 1
552 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 548 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
553 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 549 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
554 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 550 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -556,13 +552,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
556 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 552 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
557 image_size = tmp2; // bitmap data size 553 image_size = tmp2; // bitmap data size
558 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 554 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
559 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 555 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
560 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 556 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
561 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 557 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
562 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 558 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
563 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 559 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
564 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 560 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
565 important_colors = tmp2; // number of important colors - 0 if all 561 //important_colors = tmp2; // number of important colors - 0 if all
566 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 562 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
567 rmask = tmp2; // red mask 563 rmask = tmp2; // red mask
568 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 564 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
diff --git a/libraries/evas/src/modules/loaders/edb/Makefile.in b/libraries/evas/src/modules/loaders/edb/Makefile.in
index 87356b4..19f906f 100644
--- a/libraries/evas/src/modules/loaders/edb/Makefile.in
+++ b/libraries/evas/src/modules/loaders/edb/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/loaders/eet/Makefile.am b/libraries/evas/src/modules/loaders/eet/Makefile.am
index c96a8d3..44270e5 100644
--- a/libraries/evas/src/modules/loaders/eet/Makefile.am
+++ b/libraries/evas/src/modules/loaders/eet/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@evas_image_loader_eet_cflags@ \ 10@evas_image_loader_eet_cflags@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15 13
16if BUILD_LOADER_EET 14if BUILD_LOADER_EET
17if !EVAS_STATIC_BUILD_EET 15if !EVAS_STATIC_BUILD_EET
diff --git a/libraries/evas/src/modules/loaders/eet/Makefile.in b/libraries/evas/src/modules/loaders/eet/Makefile.in
index 25a30cf..b144d3a 100644
--- a/libraries/evas/src/modules/loaders/eet/Makefile.in
+++ b/libraries/evas/src/modules/loaders/eet/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@evas_image_loader_eet_cflags@ \ 418@evas_image_loader_eet_cflags@ \
419@EINA_CFLAGS@ 419@EINA_CFLAGS@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH) 421@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH)
423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_load_eet.c 423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_load_eet.c
diff --git a/libraries/evas/src/modules/loaders/generic/Makefile.am b/libraries/evas/src/modules/loaders/generic/Makefile.am
index a9e522e..1f72bfc 100644
--- a/libraries/evas/src/modules/loaders/generic/Makefile.am
+++ b/libraries/evas/src/modules/loaders/generic/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@evas_image_loader_generic_cflags@ \ 10@evas_image_loader_generic_cflags@ \
11@EINA_CFLAGS@ \ 11@EINA_CFLAGS@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17 14
18if BUILD_LOADER_GENERIC 15if BUILD_LOADER_GENERIC
diff --git a/libraries/evas/src/modules/loaders/generic/Makefile.in b/libraries/evas/src/modules/loaders/generic/Makefile.in
index dfd5294..98bb45b 100644
--- a/libraries/evas/src/modules/loaders/generic/Makefile.in
+++ b/libraries/evas/src/modules/loaders/generic/Makefile.in
@@ -182,6 +182,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 182EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 183EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 184EXEEXT = @EXEEXT@
185EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
186EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 187FGREP = @FGREP@
186FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 188FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
187FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 189FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -232,6 +234,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
232PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 234PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
233PIXMAN_LIBS = @PIXMAN_LIBS@ 235PIXMAN_LIBS = @PIXMAN_LIBS@
234PKG_CONFIG = @PKG_CONFIG@ 236PKG_CONFIG = @PKG_CONFIG@
237PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
238PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
235PNG_CFLAGS = @PNG_CFLAGS@ 239PNG_CFLAGS = @PNG_CFLAGS@
236PNG_LIBS = @PNG_LIBS@ 240PNG_LIBS = @PNG_LIBS@
237RANLIB = @RANLIB@ 241RANLIB = @RANLIB@
@@ -250,8 +254,6 @@ VERSION = @VERSION@
250VMAJ = @VMAJ@ 254VMAJ = @VMAJ@
251WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 255WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
252WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 256WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
253WIN32_CFLAGS = @WIN32_CFLAGS@
254WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
255XCB_CFLAGS = @XCB_CFLAGS@ 257XCB_CFLAGS = @XCB_CFLAGS@
256XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 258XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
257XCB_GL_LIBS = @XCB_GL_LIBS@ 259XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -325,8 +327,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
325evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 327evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
326evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 328evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
327evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 329evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
328evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
329evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
330evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 330evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
331evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 331evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
332evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 332evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,10 +418,8 @@ AM_CPPFLAGS = \
418@PIXMAN_CFLAGS@ \ 418@PIXMAN_CFLAGS@ \
419@evas_image_loader_generic_cflags@ \ 419@evas_image_loader_generic_cflags@ \
420@EINA_CFLAGS@ \ 420@EINA_CFLAGS@ \
421@EVIL_CFLAGS@ \ 421@EVIL_CFLAGS@
422@WIN32_CPPFLAGS@
423 422
424AM_CFLAGS = @WIN32_CFLAGS@
425@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/loaders/generic/$(MODULE_ARCH) 423@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/loaders/generic/$(MODULE_ARCH)
426@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkg_LTLIBRARIES = module.la 424@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkg_LTLIBRARIES = module.la
427@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@module_la_SOURCES = evas_image_load_generic.c 425@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@module_la_SOURCES = evas_image_load_generic.c
diff --git a/libraries/evas/src/modules/loaders/gif/Makefile.am b/libraries/evas/src/modules/loaders/gif/Makefile.am
index 9234370..3ae57a0 100644
--- a/libraries/evas/src/modules/loaders/gif/Makefile.am
+++ b/libraries/evas/src/modules/loaders/gif/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@evas_image_loader_gif_cflags@ \ 10@evas_image_loader_gif_cflags@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_GIF 13if BUILD_LOADER_GIF
16if !EVAS_STATIC_BUILD_GIF 14if !EVAS_STATIC_BUILD_GIF
17 15
diff --git a/libraries/evas/src/modules/loaders/gif/Makefile.in b/libraries/evas/src/modules/loaders/gif/Makefile.in
index f32fcf4..a7fae36 100644
--- a/libraries/evas/src/modules/loaders/gif/Makefile.in
+++ b/libraries/evas/src/modules/loaders/gif/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@evas_image_loader_gif_cflags@ \ 418@evas_image_loader_gif_cflags@ \
419@EINA_CFLAGS@ 419@EINA_CFLAGS@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/gif/$(MODULE_ARCH) 421@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/gif/$(MODULE_ARCH)
423@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@module_la_SOURCES = evas_image_load_gif.c 423@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@module_la_SOURCES = evas_image_load_gif.c
diff --git a/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c b/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c
index 9cd6f6e..dbb3584 100644
--- a/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c
+++ b/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c
@@ -483,10 +483,17 @@ _evas_image_load_frame_image_data(Image_Entry *ie, GifFileType *gif, Image_Entry
483 } 483 }
484 else 484 else
485 { 485 {
486 r = cmap->Colors[rows[i1][j1]].Red; 486 if (rows[i1][j1] == alpha)
487 g = cmap->Colors[rows[i1][j1]].Green; 487 {
488 b = cmap->Colors[rows[i1][j1]].Blue; 488 ptr++ ;
489 *ptr++ = ARGB_JOIN(0xff, r, g, b); 489 }
490 else
491 {
492 r = cmap->Colors[rows[i1][j1]].Red;
493 g = cmap->Colors[rows[i1][j1]].Green;
494 b = cmap->Colors[rows[i1][j1]].Blue;
495 *ptr++ = ARGB_JOIN(0xff, r, g, b);
496 }
490 } 497 }
491 } 498 }
492 } 499 }
diff --git a/libraries/evas/src/modules/loaders/ico/Makefile.am b/libraries/evas/src/modules/loaders/ico/Makefile.am
index 044dd0d..5f9b313 100644
--- a/libraries/evas/src/modules/loaders/ico/Makefile.am
+++ b/libraries/evas/src/modules/loaders/ico/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_ICO 13if BUILD_LOADER_ICO
15if !EVAS_STATIC_BUILD_ICO 14if !EVAS_STATIC_BUILD_ICO
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_ico.la 27noinst_LTLIBRARIES = libevas_loader_ico.la
29libevas_loader_ico_la_SOURCES = evas_image_load_ico.c 28libevas_loader_ico_la_SOURCES = evas_image_load_ico.c
30libevas_loader_ico_la_LIBADD = 29libevas_loader_ico_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/ico/Makefile.in b/libraries/evas/src/modules/loaders/ico/Makefile.in
index f65ace0..2c9c95f 100644
--- a/libraries/evas/src/modules/loaders/ico/Makefile.in
+++ b/libraries/evas/src/modules/loaders/ico/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkgdir = $(libdir)/evas/modules/loaders/ico/$(MODULE_ARCH) 421@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkgdir = $(libdir)/evas/modules/loaders/ico/$(MODULE_ARCH)
423@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c b/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c
index 6e31191..4239407 100644
--- a/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c
+++ b/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c
@@ -88,7 +88,7 @@ evas_image_load_file_head_ico(Image_Entry *ie, const char *file, const char *key
88 unsigned short word; 88 unsigned short word;
89 unsigned char byte; 89 unsigned char byte;
90 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0, 90 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0,
91 hot_x = 0, hot_y = 0, bpp = 0, pdelta, search = -1, have_choice = 0, 91 bpp = 0, pdelta, search = -1, have_choice = 0,
92 hasa = 1; 92 hasa = 1;
93 unsigned int bmoffset, bmsize, fsize; 93 unsigned int bmoffset, bmsize, fsize;
94 unsigned short reserved, type, count; 94 unsigned short reserved, type, count;
@@ -182,10 +182,10 @@ evas_image_load_file_head_ico(Image_Entry *ie, const char *file, const char *key
182 if (!read_uchar(map, fsize, &position, &byte)) goto close_file; 182 if (!read_uchar(map, fsize, &position, &byte)) goto close_file;
183 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 183 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
184 if (type == CURSOR) planes = word; 184 if (type == CURSOR) planes = word;
185 else hot_x = word; 185 //else hot_x = word;
186 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 186 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
187 if (type == CURSOR) bpp = word; 187 if (type == CURSOR) bpp = word;
188 else hot_y = word; 188 //else hot_y = word;
189 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file; 189 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file;
190 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file; 190 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file;
191 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file; 191 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file;
@@ -315,11 +315,11 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
315 unsigned char byte; 315 unsigned char byte;
316 unsigned int dword; 316 unsigned int dword;
317 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0, 317 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0,
318 hot_x = 0, hot_y = 0, bpp = 0, pdelta, search = -1, have_choice = 0, 318 bpp = 0, pdelta, search = -1, have_choice = 0,
319 stride, pstride, j, right_way_up = 0, diff_size = 0, cols2; 319 stride, pstride, j, right_way_up = 0, diff_size = 0, cols2;
320 unsigned int bmoffset, bmsize, bitcount, compression, imagesize, fsize, 320 unsigned int bmoffset, bmsize, bitcount, fsize,
321 colorsused, colorsimportant, *pal, *surface, *pix, none_zero_alpha = 0; 321 *pal, *surface, *pix, none_zero_alpha = 0;
322 unsigned short reserved, type, count, planes2; 322 unsigned short reserved, type, count;
323 unsigned char *maskbuf, *pixbuf, *p; 323 unsigned char *maskbuf, *pixbuf, *p;
324 struct { 324 struct {
325 int pdelta; 325 int pdelta;
@@ -411,10 +411,10 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
411 if (!read_uchar(map, fsize, &position, &byte)) goto close_file; 411 if (!read_uchar(map, fsize, &position, &byte)) goto close_file;
412 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 412 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
413 if (type == 1) planes = word; 413 if (type == 1) planes = word;
414 else hot_x = word; 414 //else hot_x = word;
415 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 415 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
416 if (type == 1) bpp = word; 416 if (type == 1) bpp = word;
417 else hot_y = word; 417 //else hot_y = word;
418 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file; 418 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file;
419 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file; 419 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file;
420 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file; 420 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file;
@@ -540,19 +540,19 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
540 file, ie->w, ie->h, w, h); 540 file, ie->w, ie->h, w, h);
541 } 541 }
542 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // planes 542 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // planes
543 planes2 = word; 543 //planes2 = word;
544 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // bitcount 544 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // bitcount
545 bitcount = word; 545 bitcount = word;
546 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // compression 546 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // compression
547 compression = dword; 547 //compression = dword;
548 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // imagesize 548 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // imagesize
549 imagesize = dword; 549 //imagesize = dword;
550 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // z pixels per m 550 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // z pixels per m
551 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // y pizels per m 551 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // y pizels per m
552 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors used 552 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors used
553 colorsused = dword; 553 //colorsused = dword;
554 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors important 554 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors important
555 colorsimportant = dword; 555 //colorsimportant = dword;
556 556
557 evas_cache_image_surface_alloc(ie, ie->w, ie->h); 557 evas_cache_image_surface_alloc(ie, ie->w, ie->h);
558 surface = evas_cache_image_pixels(ie); 558 surface = evas_cache_image_pixels(ie);
diff --git a/libraries/evas/src/modules/loaders/jpeg/Makefile.am b/libraries/evas/src/modules/loaders/jpeg/Makefile.am
index 2088ba8..a7a19ab 100644
--- a/libraries/evas/src/modules/loaders/jpeg/Makefile.am
+++ b/libraries/evas/src/modules/loaders/jpeg/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_jpeg_cflags@ \ 11@evas_image_loader_jpeg_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_JPEG 14if BUILD_LOADER_JPEG
18if !EVAS_STATIC_BUILD_JPEG 15if !EVAS_STATIC_BUILD_JPEG
diff --git a/libraries/evas/src/modules/loaders/jpeg/Makefile.in b/libraries/evas/src/modules/loaders/jpeg/Makefile.in
index 7c0ca18..4945f85 100644
--- a/libraries/evas/src/modules/loaders/jpeg/Makefile.in
+++ b/libraries/evas/src/modules/loaders/jpeg/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_jpeg_cflags@ \ 419@evas_image_loader_jpeg_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH) 422@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH)
425@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_load_jpeg.c 424@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_load_jpeg.c
diff --git a/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c b/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
index 797c76d..73a7310 100644
--- a/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
+++ b/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
@@ -272,7 +272,7 @@ evas_image_load_file_head_jpeg_internal(Image_Entry *ie,
272 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 272 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
273 return EINA_FALSE; 273 return EINA_FALSE;
274 } 274 }
275 jpeg_create_decompress(&cinfo); 275 jpeg_create_decompress(&cinfo);
276 276
277 if (_evas_jpeg_membuf_src(&cinfo, map, length)) 277 if (_evas_jpeg_membuf_src(&cinfo, map, length))
278 { 278 {
@@ -508,11 +508,11 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
508 unsigned int x, y, l, i, scans; 508 unsigned int x, y, l, i, scans;
509 int region = 0; 509 int region = 0;
510 /* rotation setting */ 510 /* rotation setting */
511 unsigned int tmp; 511 unsigned int ie_w = 0, ie_h = 0;
512 unsigned int load_region_x = 0, load_region_y = 0; 512 unsigned int load_region_x = 0, load_region_y = 0;
513 unsigned int load_region_w = 0, load_region_h = 0; 513 unsigned int load_region_w = 0, load_region_h = 0;
514 int degree = 0; 514 volatile int degree = 0;
515 Eina_Bool change_wh = EINA_FALSE; 515 volatile Eina_Bool change_wh = EINA_FALSE;
516 Eina_Bool line_done = EINA_FALSE; 516 Eina_Bool line_done = EINA_FALSE;
517 517
518 if (ie->flags.rotated) 518 if (ie->flags.rotated)
@@ -582,9 +582,13 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
582 582
583 if (change_wh) 583 if (change_wh)
584 { 584 {
585 tmp = ie->w; 585 ie_w = ie->h;
586 ie->w = ie->h; 586 ie_h = ie->w;
587 ie->h = tmp; 587 }
588 else
589 {
590 ie_w = ie->w;
591 ie_h = ie->h;
588 } 592 }
589 593
590 if ((ie->load_opts.region.w > 0) && (ie->load_opts.region.h > 0)) 594 if ((ie->load_opts.region.w > 0) && (ie->load_opts.region.h > 0))
@@ -629,20 +633,31 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
629 cinfo.region_h = ie->load_opts.region.h; 633 cinfo.region_h = ie->load_opts.region.h;
630#endif 634#endif
631 } 635 }
632 if ((!region) && ((w != ie->w) || (h != ie->h))) 636 if ((!region) && ((w != ie_w) || (h != ie_h)))
633 { 637 {
634 // race condition, the file could have change from when we call header 638 // race condition, the file could have change from when we call header
635 // this test will not solve the problem with region code. 639 // this test will not solve the problem with region code.
636 jpeg_destroy_decompress(&cinfo); 640 jpeg_destroy_decompress(&cinfo);
637 _evas_jpeg_membuf_src_term(&cinfo); 641 _evas_jpeg_membuf_src_term(&cinfo);
638 *error = EVAS_LOAD_ERROR_GENERIC; 642 *error = EVAS_LOAD_ERROR_GENERIC;
639 return EINA_FALSE; 643 return EINA_FALSE;
640 } 644 }
641 if ((region) && 645 if ((region) &&
642 ((ie->w != ie->load_opts.region.w) || (ie->h != ie->load_opts.region.h))) 646 ((ie_w != ie->load_opts.region.w) || (ie_h != ie->load_opts.region.h)))
643 { 647 {
644 ie->w = ie->load_opts.region.w; 648 ie_w = ie->load_opts.region.w;
645 ie->h = ie->load_opts.region.h; 649 ie_h = ie->load_opts.region.h;
650 if (change_wh)
651 {
652 ie->w = ie_h;
653 ie->h = ie_w;
654 }
655 else
656 {
657 ie->w = ie_w;
658 ie->h = ie_h;
659 }
660
646 } 661 }
647 662
648 if (!(((cinfo.out_color_space == JCS_RGB) && 663 if (!(((cinfo.out_color_space == JCS_RGB) &&
@@ -971,31 +986,24 @@ done:
971 if (ie->flags.rotated) 986 if (ie->flags.rotated)
972 { 987 {
973 DATA32 *data1, *data2, *to, *from; 988 DATA32 *data1, *data2, *to, *from;
974 int x, y, w, h, hw; 989 int lx, ly, lw, lh, hw;
975
976 if (change_wh)
977 {
978 tmp = ie->w;
979 ie->w = ie->h;
980 ie->h = tmp;
981 }
982 990
983 w = ie->w; 991 lw = ie->w;
984 h = ie->h; 992 lh = ie->h;
985 hw =w * h; 993 hw =lw * lh;
986 994
987 data1 = evas_cache_image_pixels(ie); 995 data1 = evas_cache_image_pixels(ie);
988 996
989 if (degree == 180) 997 if (degree == 180)
990 { 998 {
991 DATA32 tmp; 999 DATA32 tmpd;
992 1000
993 data2 = data1 + (h * w) -1; 1001 data2 = data1 + (lh * lw) -1;
994 for (x = (w * h) / 2; --x >= 0;) 1002 for (lx = (lw * lh) / 2; --lx >= 0;)
995 { 1003 {
996 tmp = *data1; 1004 tmpd = *data1;
997 *data1 = *data2; 1005 *data1 = *data2;
998 *data2 = tmp; 1006 *data2 = tmpd;
999 data1++; 1007 data1++;
1000 data2--; 1008 data2--;
1001 } 1009 }
@@ -1008,26 +1016,26 @@ done:
1008 1016
1009 if (degree == 90) 1017 if (degree == 90)
1010 { 1018 {
1011 to = data1 + w - 1; 1019 to = data1 + lw - 1;
1012 hw = -hw - 1; 1020 hw = -hw - 1;
1013 } 1021 }
1014 else if (degree == 270) 1022 else if (degree == 270)
1015 { 1023 {
1016 to = data1 + hw - w; 1024 to = data1 + hw - lw;
1017 w = -w; 1025 lw = -lw;
1018 hw = hw + 1; 1026 hw = hw + 1;
1019 } 1027 }
1020 1028
1021 if (to) 1029 if (to)
1022 { 1030 {
1023 from = data2; 1031 from = data2;
1024 for (x = ie->w; --x >= 0;) 1032 for (lx = ie->w; --lx >= 0;)
1025 { 1033 {
1026 for (y =ie->h; --y >= 0;) 1034 for (ly =ie->h; --ly >= 0;)
1027 { 1035 {
1028 *to = *from; 1036 *to = *from;
1029 from++; 1037 from++;
1030 to += w; 1038 to += lw;
1031 } 1039 }
1032 to += hw; 1040 to += hw;
1033 } 1041 }
@@ -1046,6 +1054,7 @@ done:
1046 ie->load_opts.region.h = load_region_h; 1054 ie->load_opts.region.h = load_region_h;
1047 } 1055 }
1048 } 1056 }
1057
1049 if (line_done) 1058 if (line_done)
1050 { 1059 {
1051 jpeg_destroy_decompress(&cinfo); 1060 jpeg_destroy_decompress(&cinfo);
diff --git a/libraries/evas/src/modules/loaders/pmaps/Makefile.am b/libraries/evas/src/modules/loaders/pmaps/Makefile.am
index dc07a32..6fc3d6d 100644
--- a/libraries/evas/src/modules/loaders/pmaps/Makefile.am
+++ b/libraries/evas/src/modules/loaders/pmaps/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_pmaps_cflags@ \ 11@evas_image_loader_pmaps_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_PMAPS 14if BUILD_LOADER_PMAPS
18if !EVAS_STATIC_BUILD_PMAPS 15if !EVAS_STATIC_BUILD_PMAPS
diff --git a/libraries/evas/src/modules/loaders/pmaps/Makefile.in b/libraries/evas/src/modules/loaders/pmaps/Makefile.in
index 745e79b..c44904a 100644
--- a/libraries/evas/src/modules/loaders/pmaps/Makefile.in
+++ b/libraries/evas/src/modules/loaders/pmaps/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_pmaps_cflags@ \ 419@evas_image_loader_pmaps_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH) 422@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH)
425@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_SOURCES = evas_image_load_pmaps.c 424@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_SOURCES = evas_image_load_pmaps.c
diff --git a/libraries/evas/src/modules/loaders/png/Makefile.am b/libraries/evas/src/modules/loaders/png/Makefile.am
index f9387a5..884cdec 100644
--- a/libraries/evas/src/modules/loaders/png/Makefile.am
+++ b/libraries/evas/src/modules/loaders/png/Makefile.am
@@ -9,8 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_png_cflags@ \ 11@evas_image_loader_png_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14 13
15if BUILD_LOADER_PNG 14if BUILD_LOADER_PNG
16if !EVAS_STATIC_BUILD_PNG 15if !EVAS_STATIC_BUILD_PNG
diff --git a/libraries/evas/src/modules/loaders/png/Makefile.in b/libraries/evas/src/modules/loaders/png/Makefile.in
index 3bd4919..13352bc 100644
--- a/libraries/evas/src/modules/loaders/png/Makefile.in
+++ b/libraries/evas/src/modules/loaders/png/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,8 +417,7 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_png_cflags@ \ 419@evas_image_loader_png_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH) 422@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH)
424@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/psd/Makefile.am b/libraries/evas/src/modules/loaders/psd/Makefile.am
index 8b06348..a87e492 100644
--- a/libraries/evas/src/modules/loaders/psd/Makefile.am
+++ b/libraries/evas/src/modules/loaders/psd/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_PSD 13if BUILD_LOADER_PSD
15if !EVAS_STATIC_BUILD_PSD 14if !EVAS_STATIC_BUILD_PSD
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_psd.la 27noinst_LTLIBRARIES = libevas_loader_psd.la
29libevas_loader_psd_la_SOURCES = evas_image_load_psd.c 28libevas_loader_psd_la_SOURCES = evas_image_load_psd.c
30libevas_loader_psd_la_LIBADD = 29libevas_loader_psd_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/psd/Makefile.in b/libraries/evas/src/modules/loaders/psd/Makefile.in
index 3dc9c38..b1987c6 100644
--- a/libraries/evas/src/modules/loaders/psd/Makefile.in
+++ b/libraries/evas/src/modules/loaders/psd/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkgdir = $(libdir)/evas/modules/loaders/psd/$(MODULE_ARCH) 421@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkgdir = $(libdir)/evas/modules/loaders/psd/$(MODULE_ARCH)
423@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c b/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c
index 27f5f24..4449db0 100644
--- a/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c
+++ b/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c
@@ -509,12 +509,10 @@ get_single_channel(Image_Entry *ie __UNUSED__,
509 Eina_Bool compressed) 509 Eina_Bool compressed)
510{ 510{
511 unsigned int i, bpc; 511 unsigned int i, bpc;
512 unsigned short *tmp;
513 char headbyte; 512 char headbyte;
514 int c; 513 int c;
515 int pixels_count; 514 int pixels_count;
516 515
517 tmp = (unsigned short*)buffer;
518 bpc = (head->depth / 8); 516 bpc = (head->depth / 8);
519 pixels_count = head->width * head->height; 517 pixels_count = head->width * head->height;
520 518
@@ -569,7 +567,6 @@ read_psd_grey(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
569{ 567{
570 unsigned int color_mode, resource_size, misc_info; 568 unsigned int color_mode, resource_size, misc_info;
571 unsigned short compressed; 569 unsigned short compressed;
572 unsigned int type;
573 void *surface = NULL; 570 void *surface = NULL;
574 571
575 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 572 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
@@ -602,10 +599,7 @@ read_psd_grey(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
602 switch (head->depth) 599 switch (head->depth)
603 { 600 {
604 case 8: 601 case 8:
605 type = 1;
606 break;
607 case 16: 602 case 16:
608 type = 2;
609 break; 603 break;
610 default: 604 default:
611 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 605 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
@@ -697,7 +691,6 @@ read_psd_rgb(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t
697{ 691{
698 unsigned int color_mode, resource_size, misc_info; 692 unsigned int color_mode, resource_size, misc_info;
699 unsigned short compressed; 693 unsigned short compressed;
700 unsigned int type;
701 void *surface; 694 void *surface;
702 695
703#define CHECK_RET(Call) \ 696#define CHECK_RET(Call) \
@@ -721,10 +714,7 @@ read_psd_rgb(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t
721 switch (head->depth) 714 switch (head->depth)
722 { 715 {
723 case 8: 716 case 8:
724 type = 1;
725 break;
726 case 16: 717 case 16:
727 type = 2;
728 break; 718 break;
729 default: 719 default:
730 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 720 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
@@ -758,7 +748,7 @@ read_psd_rgb(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t
758Eina_Bool 748Eina_Bool
759read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t length, size_t *position, int *error) 749read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t length, size_t *position, int *error)
760{ 750{
761 unsigned int color_mode, resource_size, misc_info, size, i, j, data_size; 751 unsigned int color_mode, resource_size, misc_info, size, j, data_size;
762 unsigned short compressed; 752 unsigned short compressed;
763 unsigned int format, type; 753 unsigned int format, type;
764 unsigned char *kchannel = NULL; 754 unsigned char *kchannel = NULL;
@@ -841,7 +831,7 @@ read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
841 unsigned char *tmp = surface; 831 unsigned char *tmp = surface;
842 const unsigned char *limit = tmp + data_size; 832 const unsigned char *limit = tmp + data_size;
843 833
844 for (i = 0, j = 0; tmp < limit; tmp++, j++) 834 for (j = 0; tmp < limit; tmp++, j++)
845 { 835 {
846 int k; 836 int k;
847 837
@@ -857,7 +847,7 @@ read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
857 const unsigned char *limit = tmp + data_size; 847 const unsigned char *limit = tmp + data_size;
858 848
859 // The KChannel array really holds the alpha channel on this one. 849 // The KChannel array really holds the alpha channel on this one.
860 for (i = 0, j = 0; tmp < limit; tmp += 4, j++) 850 for (j = 0; tmp < limit; tmp += 4, j++)
861 { 851 {
862 tmp[0] = (tmp[0] * tmp[3]) >> 8; 852 tmp[0] = (tmp[0] * tmp[3]) >> 8;
863 tmp[1] = (tmp[1] * tmp[3]) >> 8; 853 tmp[1] = (tmp[1] * tmp[3]) >> 8;
diff --git a/libraries/evas/src/modules/loaders/svg/Makefile.am b/libraries/evas/src/modules/loaders/svg/Makefile.am
index 4b8d1b5..65820ce 100644
--- a/libraries/evas/src/modules/loaders/svg/Makefile.am
+++ b/libraries/evas/src/modules/loaders/svg/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_svg_cflags@ 11@evas_image_loader_svg_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_SVG 13if BUILD_LOADER_SVG
16if !EVAS_STATIC_BUILD_SVG 14if !EVAS_STATIC_BUILD_SVG
17 15
diff --git a/libraries/evas/src/modules/loaders/svg/Makefile.in b/libraries/evas/src/modules/loaders/svg/Makefile.in
index b742842..4d23de1 100644
--- a/libraries/evas/src/modules/loaders/svg/Makefile.in
+++ b/libraries/evas/src/modules/loaders/svg/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_svg_cflags@ 419@evas_image_loader_svg_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/svg/$(MODULE_ARCH) 421@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/svg/$(MODULE_ARCH)
423@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@module_la_SOURCES = evas_image_load_svg.c 423@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@module_la_SOURCES = evas_image_load_svg.c
diff --git a/libraries/evas/src/modules/loaders/tga/Makefile.am b/libraries/evas/src/modules/loaders/tga/Makefile.am
index 4d9e240..7cd8fed 100644
--- a/libraries/evas/src/modules/loaders/tga/Makefile.am
+++ b/libraries/evas/src/modules/loaders/tga/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_TGA 13if BUILD_LOADER_TGA
15if !EVAS_STATIC_BUILD_TGA 14if !EVAS_STATIC_BUILD_TGA
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_tga.la 27noinst_LTLIBRARIES = libevas_loader_tga.la
29libevas_loader_tga_la_SOURCES = evas_image_load_tga.c 28libevas_loader_tga_la_SOURCES = evas_image_load_tga.c
30libevas_loader_tga_la_LIBADD = 29libevas_loader_tga_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/tga/Makefile.in b/libraries/evas/src/modules/loaders/tga/Makefile.in
index 4d822d1..d2a9271 100644
--- a/libraries/evas/src/modules/loaders/tga/Makefile.in
+++ b/libraries/evas/src/modules/loaders/tga/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tga/$(MODULE_ARCH) 421@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tga/$(MODULE_ARCH)
423@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c b/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c
index 9b4073c..bab169b 100644
--- a/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c
+++ b/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c
@@ -76,10 +76,9 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
76 unsigned char *seg = NULL, *filedata; 76 unsigned char *seg = NULL, *filedata;
77 tga_header *header; 77 tga_header *header;
78 tga_footer *footer, tfooter; 78 tga_footer *footer, tfooter;
79 char hasa = 0, footer_present = 0, vinverted = 0; 79 char hasa = 0;
80 int w = 0, h = 0, bpp; 80 int w = 0, h = 0, bpp;
81 int x, y; 81 int x, y;
82 int abits;
83 82
84 f = eina_file_open(file, EINA_FALSE); 83 f = eina_file_open(file, EINA_FALSE);
85 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; 84 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
@@ -98,7 +97,7 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
98 memcpy((unsigned char *)(&tfooter), 97 memcpy((unsigned char *)(&tfooter),
99 (unsigned char *)footer, 98 (unsigned char *)footer,
100 sizeof(tga_footer)); 99 sizeof(tga_footer));
101 printf("0\n"); 100 //printf("0\n");
102 if (!memcmp(tfooter.signature, TGA_SIGNATURE, sizeof(tfooter.signature))) 101 if (!memcmp(tfooter.signature, TGA_SIGNATURE, sizeof(tfooter.signature)))
103 { 102 {
104 if ((tfooter.dot == '.') && (tfooter.null == 0)) 103 if ((tfooter.dot == '.') && (tfooter.null == 0))
@@ -106,14 +105,12 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
106 // footer is there and matches. this is a tga file - any problems now 105 // footer is there and matches. this is a tga file - any problems now
107 // are a corrupt file 106 // are a corrupt file
108 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 107 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
109 footer_present = 1;
110 } 108 }
111 } 109 }
112// else goto close_file; 110// else goto close_file;
113 printf("1\n"); 111 //printf("1\n");
114 112
115 filedata = (unsigned char *)filedata + sizeof(tga_header); 113 filedata = (unsigned char *)filedata + sizeof(tga_header);
116 vinverted = !(header->descriptor & TGA_DESC_VERTICAL);
117 switch (header->imageType) 114 switch (header->imageType)
118 { 115 {
119 case TGA_TYPE_COLOR_RLE: 116 case TGA_TYPE_COLOR_RLE:
@@ -131,7 +128,6 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
131 if (!((bpp == 32) || (bpp == 24) || (bpp == 16) || (bpp == 8))) 128 if (!((bpp == 32) || (bpp == 24) || (bpp == 16) || (bpp == 8)))
132 goto close_file; 129 goto close_file;
133 if ((bpp == 32) && (header->descriptor & TGA_DESC_ABITS)) hasa = 1; 130 if ((bpp == 32) && (header->descriptor & TGA_DESC_ABITS)) hasa = 1;
134 abits = header->descriptor & TGA_DESC_ABITS;
135 // don't handle colormapped images 131 // don't handle colormapped images
136 if ((header->colorMapType) != 0) 132 if ((header->colorMapType) != 0)
137 goto close_file; 133 goto close_file;
diff --git a/libraries/evas/src/modules/loaders/tiff/Makefile.am b/libraries/evas/src/modules/loaders/tiff/Makefile.am
index f617c5e..1a53686 100644
--- a/libraries/evas/src/modules/loaders/tiff/Makefile.am
+++ b/libraries/evas/src/modules/loaders/tiff/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_tiff_cflags@ \ 11@evas_image_loader_tiff_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_TIFF 14if BUILD_LOADER_TIFF
18if !EVAS_STATIC_BUILD_TIFF 15if !EVAS_STATIC_BUILD_TIFF
diff --git a/libraries/evas/src/modules/loaders/tiff/Makefile.in b/libraries/evas/src/modules/loaders/tiff/Makefile.in
index 2b102a1..5976b63 100644
--- a/libraries/evas/src/modules/loaders/tiff/Makefile.in
+++ b/libraries/evas/src/modules/loaders/tiff/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_tiff_cflags@ \ 419@evas_image_loader_tiff_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tiff/$(MODULE_ARCH) 422@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tiff/$(MODULE_ARCH)
425@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_load_tiff.c 424@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_load_tiff.c
diff --git a/libraries/evas/src/modules/loaders/wbmp/Makefile.am b/libraries/evas/src/modules/loaders/wbmp/Makefile.am
index eed287a..61a4def 100644
--- a/libraries/evas/src/modules/loaders/wbmp/Makefile.am
+++ b/libraries/evas/src/modules/loaders/wbmp/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_WBMP 13if BUILD_LOADER_WBMP
15if !EVAS_STATIC_BUILD_WBMP 14if !EVAS_STATIC_BUILD_WBMP
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_wbmp.la 27noinst_LTLIBRARIES = libevas_loader_wbmp.la
29libevas_loader_wbmp_la_SOURCES = evas_image_load_wbmp.c 28libevas_loader_wbmp_la_SOURCES = evas_image_load_wbmp.c
30libevas_loader_wbmp_la_LIBADD = 29libevas_loader_wbmp_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/wbmp/Makefile.in b/libraries/evas/src/modules/loaders/wbmp/Makefile.in
index 5c01e1c..aba23a2 100644
--- a/libraries/evas/src/modules/loaders/wbmp/Makefile.in
+++ b/libraries/evas/src/modules/loaders/wbmp/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/wbmp/$(MODULE_ARCH) 421@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/wbmp/$(MODULE_ARCH)
423@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/xpm/Makefile.am b/libraries/evas/src/modules/loaders/xpm/Makefile.am
index b8cb1fa..83c9970 100644
--- a/libraries/evas/src/modules/loaders/xpm/Makefile.am
+++ b/libraries/evas/src/modules/loaders/xpm/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_xpm_cflags@ \ 11@evas_image_loader_xpm_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_XPM 14if BUILD_LOADER_XPM
18if !EVAS_STATIC_BUILD_XPM 15if !EVAS_STATIC_BUILD_XPM
diff --git a/libraries/evas/src/modules/loaders/xpm/Makefile.in b/libraries/evas/src/modules/loaders/xpm/Makefile.in
index 6383d9e..cfce4ad 100644
--- a/libraries/evas/src/modules/loaders/xpm/Makefile.in
+++ b/libraries/evas/src/modules/loaders/xpm/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_xpm_cflags@ \ 419@evas_image_loader_xpm_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH) 422@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
425@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_SOURCES = evas_image_load_xpm.c 424@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_SOURCES = evas_image_load_xpm.c
diff --git a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
index c764f6d..f00f92d 100644
--- a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
+++ b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
@@ -153,7 +153,7 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UN
153 position = 0; 153 position = 0;
154 if (length < 9) 154 if (length < 9)
155 { 155 {
156 ERR("XPM ERROR: file size, %i, is to small", length); 156 ERR("XPM ERROR: file size, %zd, is to small", length);
157 eina_file_close(f); 157 eina_file_close(f);
158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
159 return EINA_FALSE; 159 return EINA_FALSE;
@@ -170,7 +170,6 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UN
170 170
171 if (strncmp("/* XPM */", map, 9)) 171 if (strncmp("/* XPM */", map, 9))
172 { 172 {
173 ERR("XPM ERROR: header not found");
174 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 173 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
175 goto on_error; 174 goto on_error;
176 } 175 }
diff --git a/libraries/evas/src/modules/savers/Makefile.in b/libraries/evas/src/modules/savers/Makefile.in
index 28236d9..629961c 100644
--- a/libraries/evas/src/modules/savers/Makefile.in
+++ b/libraries/evas/src/modules/savers/Makefile.in
@@ -161,6 +161,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
161EVIL_CFLAGS = @EVIL_CFLAGS@ 161EVIL_CFLAGS = @EVIL_CFLAGS@
162EVIL_LIBS = @EVIL_LIBS@ 162EVIL_LIBS = @EVIL_LIBS@
163EXEEXT = @EXEEXT@ 163EXEEXT = @EXEEXT@
164EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
165EXOTIC_LIBS = @EXOTIC_LIBS@
164FGREP = @FGREP@ 166FGREP = @FGREP@
165FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 167FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
166FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 168FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -211,6 +213,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
211PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 213PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
212PIXMAN_LIBS = @PIXMAN_LIBS@ 214PIXMAN_LIBS = @PIXMAN_LIBS@
213PKG_CONFIG = @PKG_CONFIG@ 215PKG_CONFIG = @PKG_CONFIG@
216PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214PNG_CFLAGS = @PNG_CFLAGS@ 218PNG_CFLAGS = @PNG_CFLAGS@
215PNG_LIBS = @PNG_LIBS@ 219PNG_LIBS = @PNG_LIBS@
216RANLIB = @RANLIB@ 220RANLIB = @RANLIB@
@@ -229,8 +233,6 @@ VERSION = @VERSION@
229VMAJ = @VMAJ@ 233VMAJ = @VMAJ@
230WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 234WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
231WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 235WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
232WIN32_CFLAGS = @WIN32_CFLAGS@
233WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
234XCB_CFLAGS = @XCB_CFLAGS@ 236XCB_CFLAGS = @XCB_CFLAGS@
235XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 237XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
236XCB_GL_LIBS = @XCB_GL_LIBS@ 238XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -304,8 +306,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
304evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 306evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
305evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 307evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
306evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 308evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
307evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
308evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/savers/edb/Makefile.in b/libraries/evas/src/modules/savers/edb/Makefile.in
index 2ed29ec..7637c35 100644
--- a/libraries/evas/src/modules/savers/edb/Makefile.in
+++ b/libraries/evas/src/modules/savers/edb/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/savers/eet/Makefile.am b/libraries/evas/src/modules/savers/eet/Makefile.am
index 1c7f71c..ffa5bb5 100644
--- a/libraries/evas/src/modules/savers/eet/Makefile.am
+++ b/libraries/evas/src/modules/savers/eet/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_eet_cflags@ 11@evas_image_loader_eet_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_EET 13if BUILD_LOADER_EET
16if !EVAS_STATIC_BUILD_EET 14if !EVAS_STATIC_BUILD_EET
17 15
diff --git a/libraries/evas/src/modules/savers/eet/Makefile.in b/libraries/evas/src/modules/savers/eet/Makefile.in
index 6564c18..70c76d1 100644
--- a/libraries/evas/src/modules/savers/eet/Makefile.in
+++ b/libraries/evas/src/modules/savers/eet/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_eet_cflags@ 419@evas_image_loader_eet_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/savers/eet/$(MODULE_ARCH) 421@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/savers/eet/$(MODULE_ARCH)
423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_save_eet.c 423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_save_eet.c
diff --git a/libraries/evas/src/modules/savers/jpeg/Makefile.am b/libraries/evas/src/modules/savers/jpeg/Makefile.am
index 82a40ac..fee6cc3 100644
--- a/libraries/evas/src/modules/savers/jpeg/Makefile.am
+++ b/libraries/evas/src/modules/savers/jpeg/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS= \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_jpeg_cflags@ 11@evas_image_loader_jpeg_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_SAVER_JPEG 13if BUILD_SAVER_JPEG
16if !EVAS_STATIC_BUILD_JPEG 14if !EVAS_STATIC_BUILD_JPEG
17 15
diff --git a/libraries/evas/src/modules/savers/jpeg/Makefile.in b/libraries/evas/src/modules/savers/jpeg/Makefile.in
index e57c4f9..3e17f5b 100644
--- a/libraries/evas/src/modules/savers/jpeg/Makefile.in
+++ b/libraries/evas/src/modules/savers/jpeg/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_jpeg_cflags@ 419@evas_image_loader_jpeg_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/savers/jpeg/$(MODULE_ARCH) 421@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/savers/jpeg/$(MODULE_ARCH)
423@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_save_jpeg.c 423@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_save_jpeg.c
diff --git a/libraries/evas/src/modules/savers/png/Makefile.am b/libraries/evas/src/modules/savers/png/Makefile.am
index 1429f2e..84b3325 100644
--- a/libraries/evas/src/modules/savers/png/Makefile.am
+++ b/libraries/evas/src/modules/savers/png/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_png_cflags@ \ 11@evas_image_loader_png_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_PNG 14if BUILD_LOADER_PNG
18if !EVAS_STATIC_BUILD_PNG 15if !EVAS_STATIC_BUILD_PNG
diff --git a/libraries/evas/src/modules/savers/png/Makefile.in b/libraries/evas/src/modules/savers/png/Makefile.in
index da04ff2..e6f26ca 100644
--- a/libraries/evas/src/modules/savers/png/Makefile.in
+++ b/libraries/evas/src/modules/savers/png/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_png_cflags@ \ 419@evas_image_loader_png_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/savers/png/$(MODULE_ARCH) 422@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/savers/png/$(MODULE_ARCH)
425@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@module_la_SOURCES = evas_image_save_png.c 424@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@module_la_SOURCES = evas_image_save_png.c
diff --git a/libraries/evas/src/modules/savers/tiff/Makefile.am b/libraries/evas/src/modules/savers/tiff/Makefile.am
index 6d58d26..b75064f 100644
--- a/libraries/evas/src/modules/savers/tiff/Makefile.am
+++ b/libraries/evas/src/modules/savers/tiff/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_tiff_cflags@ 11@evas_image_loader_tiff_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_TIFF 13if BUILD_LOADER_TIFF
16if !EVAS_STATIC_BUILD_TIFF 14if !EVAS_STATIC_BUILD_TIFF
17 15
diff --git a/libraries/evas/src/modules/savers/tiff/Makefile.in b/libraries/evas/src/modules/savers/tiff/Makefile.in
index 8f4411f..3272ba9 100644
--- a/libraries/evas/src/modules/savers/tiff/Makefile.in
+++ b/libraries/evas/src/modules/savers/tiff/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_tiff_cflags@ 419@evas_image_loader_tiff_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/savers/tiff/$(MODULE_ARCH) 421@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/savers/tiff/$(MODULE_ARCH)
423@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_save_tiff.c 423@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_save_tiff.c
diff --git a/libraries/evas/src/static_deps/Makefile.in b/libraries/evas/src/static_deps/Makefile.in
index 514e79c..dd23c0c 100644
--- a/libraries/evas/src/static_deps/Makefile.in
+++ b/libraries/evas/src/static_deps/Makefile.in
@@ -157,6 +157,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
157EVIL_CFLAGS = @EVIL_CFLAGS@ 157EVIL_CFLAGS = @EVIL_CFLAGS@
158EVIL_LIBS = @EVIL_LIBS@ 158EVIL_LIBS = @EVIL_LIBS@
159EXEEXT = @EXEEXT@ 159EXEEXT = @EXEEXT@
160EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
161EXOTIC_LIBS = @EXOTIC_LIBS@
160FGREP = @FGREP@ 162FGREP = @FGREP@
161FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 163FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
162FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 164FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -207,6 +209,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
207PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 209PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
208PIXMAN_LIBS = @PIXMAN_LIBS@ 210PIXMAN_LIBS = @PIXMAN_LIBS@
209PKG_CONFIG = @PKG_CONFIG@ 211PKG_CONFIG = @PKG_CONFIG@
212PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
213PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
210PNG_CFLAGS = @PNG_CFLAGS@ 214PNG_CFLAGS = @PNG_CFLAGS@
211PNG_LIBS = @PNG_LIBS@ 215PNG_LIBS = @PNG_LIBS@
212RANLIB = @RANLIB@ 216RANLIB = @RANLIB@
@@ -225,8 +229,6 @@ VERSION = @VERSION@
225VMAJ = @VMAJ@ 229VMAJ = @VMAJ@
226WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 230WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
227WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 231WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
228WIN32_CFLAGS = @WIN32_CFLAGS@
229WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
230XCB_CFLAGS = @XCB_CFLAGS@ 232XCB_CFLAGS = @XCB_CFLAGS@
231XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 233XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
232XCB_GL_LIBS = @XCB_GL_LIBS@ 234XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -300,8 +302,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
300evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 302evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
301evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 303evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
302evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 304evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
303evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
304evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
305evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 305evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
306evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 306evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
307evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 307evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/static_deps/liblinebreak/Makefile.in b/libraries/evas/src/static_deps/liblinebreak/Makefile.in
index 9d44327..b26a9eb 100644
--- a/libraries/evas/src/static_deps/liblinebreak/Makefile.in
+++ b/libraries/evas/src/static_deps/liblinebreak/Makefile.in
@@ -150,6 +150,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
150EVIL_CFLAGS = @EVIL_CFLAGS@ 150EVIL_CFLAGS = @EVIL_CFLAGS@
151EVIL_LIBS = @EVIL_LIBS@ 151EVIL_LIBS = @EVIL_LIBS@
152EXEEXT = @EXEEXT@ 152EXEEXT = @EXEEXT@
153EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
154EXOTIC_LIBS = @EXOTIC_LIBS@
153FGREP = @FGREP@ 155FGREP = @FGREP@
154FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 156FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
155FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 157FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -200,6 +202,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
200PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 202PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
201PIXMAN_LIBS = @PIXMAN_LIBS@ 203PIXMAN_LIBS = @PIXMAN_LIBS@
202PKG_CONFIG = @PKG_CONFIG@ 204PKG_CONFIG = @PKG_CONFIG@
205PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
206PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
203PNG_CFLAGS = @PNG_CFLAGS@ 207PNG_CFLAGS = @PNG_CFLAGS@
204PNG_LIBS = @PNG_LIBS@ 208PNG_LIBS = @PNG_LIBS@
205RANLIB = @RANLIB@ 209RANLIB = @RANLIB@
@@ -218,8 +222,6 @@ VERSION = @VERSION@
218VMAJ = @VMAJ@ 222VMAJ = @VMAJ@
219WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 223WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
220WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 224WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
221WIN32_CFLAGS = @WIN32_CFLAGS@
222WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
223XCB_CFLAGS = @XCB_CFLAGS@ 225XCB_CFLAGS = @XCB_CFLAGS@
224XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 226XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
225XCB_GL_LIBS = @XCB_GL_LIBS@ 227XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -293,8 +295,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
293evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 295evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
294evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 296evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
295evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 297evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
296evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
297evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/tests/Makefile.in b/libraries/evas/src/tests/Makefile.in
index 8790c33..f3c46d3 100644
--- a/libraries/evas/src/tests/Makefile.in
+++ b/libraries/evas/src/tests/Makefile.in
@@ -153,6 +153,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
153EVIL_CFLAGS = @EVIL_CFLAGS@ 153EVIL_CFLAGS = @EVIL_CFLAGS@
154EVIL_LIBS = @EVIL_LIBS@ 154EVIL_LIBS = @EVIL_LIBS@
155EXEEXT = @EXEEXT@ 155EXEEXT = @EXEEXT@
156EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
157EXOTIC_LIBS = @EXOTIC_LIBS@
156FGREP = @FGREP@ 158FGREP = @FGREP@
157FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 159FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
158FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 160FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -203,6 +205,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
203PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 205PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
204PIXMAN_LIBS = @PIXMAN_LIBS@ 206PIXMAN_LIBS = @PIXMAN_LIBS@
205PKG_CONFIG = @PKG_CONFIG@ 207PKG_CONFIG = @PKG_CONFIG@
208PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
209PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
206PNG_CFLAGS = @PNG_CFLAGS@ 210PNG_CFLAGS = @PNG_CFLAGS@
207PNG_LIBS = @PNG_LIBS@ 211PNG_LIBS = @PNG_LIBS@
208RANLIB = @RANLIB@ 212RANLIB = @RANLIB@
@@ -221,8 +225,6 @@ VERSION = @VERSION@
221VMAJ = @VMAJ@ 225VMAJ = @VMAJ@
222WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 226WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
223WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 227WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
224WIN32_CFLAGS = @WIN32_CFLAGS@
225WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
226XCB_CFLAGS = @XCB_CFLAGS@ 228XCB_CFLAGS = @XCB_CFLAGS@
227XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 229XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
228XCB_GL_LIBS = @XCB_GL_LIBS@ 230XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -296,8 +298,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
296evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 298evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
297evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 299evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
298evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 300evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
299evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
300evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/tests/evas_test_textblock.c b/libraries/evas/src/tests/evas_test_textblock.c
index cf6a78b..983a2fc 100644
--- a/libraries/evas/src/tests/evas_test_textblock.c
+++ b/libraries/evas/src/tests/evas_test_textblock.c
@@ -1283,6 +1283,15 @@ START_TEST(evas_textblock_various)
1283 evas_object_textblock_text_markup_set(tb, "a<ps/>a<ps/>a"); 1283 evas_object_textblock_text_markup_set(tb, "a<ps/>a<ps/>a");
1284 fail_if(!_evas_textblock_check_item_node_link(tb)); 1284 fail_if(!_evas_textblock_check_item_node_link(tb));
1285 1285
1286 /* These shouldn't crash (although the desired outcome is not yet defined) */
1287 evas_object_textblock_text_markup_set(tb, "&#xfffc;");
1288 evas_textblock_cursor_pos_set(cur, 0);
1289 evas_textblock_cursor_char_delete(cur);
1290
1291 evas_object_textblock_text_markup_set(tb, "\xEF\xBF\xBC");
1292 evas_textblock_cursor_pos_set(cur, 0);
1293 evas_textblock_cursor_char_delete(cur);
1294
1286 END_TB_TEST(); 1295 END_TB_TEST();
1287} 1296}
1288END_TEST 1297END_TEST
@@ -2090,6 +2099,29 @@ START_TEST(evas_textblock_size)
2090 fail_if((w != nw) || (h != nh)); 2099 fail_if((w != nw) || (h != nh));
2091 fail_if(w <= 0); 2100 fail_if(w <= 0);
2092 2101
2102 /* This time with margins. */
2103 {
2104 Evas_Textblock_Style *newst;
2105 Evas_Coord oldw, oldh, oldnw, oldnh;
2106
2107 evas_object_textblock_text_markup_set(tb, buf);
2108 evas_object_textblock_size_formatted_get(tb, &oldw, &oldh);
2109 evas_object_textblock_size_native_get(tb, &oldnw, &oldnh);
2110
2111
2112 newst = evas_textblock_style_new();
2113 fail_if(!newst);
2114 evas_textblock_style_set(newst,
2115 "DEFAULT='left_margin=4 right_margin=4'");
2116 evas_object_textblock_style_user_push(tb, newst);
2117
2118 evas_object_textblock_size_formatted_get(tb, &w, &h);
2119 evas_object_textblock_size_native_get(tb, &nw, &nh);
2120
2121 fail_if((w != oldw + 8) || (h != oldh) ||
2122 (nw != oldnw + 8) || (nh != oldnh));
2123 }
2124
2093 /* FIXME: There is a lot more to be done. */ 2125 /* FIXME: There is a lot more to be done. */
2094 END_TB_TEST(); 2126 END_TB_TEST();
2095} 2127}