efl/legacy/evas/src/lib/engines/common/Makefile.am

116 lines
2.7 KiB
Makefile
Raw Normal View History

2002-11-08 00:02:15 -08:00
SUBDIRS = evas_op_add evas_op_blend evas_op_copy evas_op_mask evas_op_mul evas_op_sub
2002-11-08 00:02:15 -08:00
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = -I. \
2002-11-08 00:02:15 -08:00
-I$(top_srcdir)/src/lib \
shared cache server++ is it ok? 1. it can be --disabled in evas's configure, but i think it works WITHOUT disabling it (runtime) as it falls back to the old way of loading 2. it may cause build problems on some platforms - without it being enabled we won't find out, so enable. 3. it needs enabling runtime to make use of it so it should be safe for now until you enable it. what is it? it is a SHARED cache server - that means images loaded are loaded BY the cache server (not by the actual process using evas). images are shared via shared memory segments (shm_open + mmap). this means only 1 copy is in all ram at any time - no matter how many processes need it , and its only loaded once. also if another app has already loaded the same data - and its in the cache or active hash, then another process needing the same stuff will avoid the loads as it will just get instant replies from the cache of "image already there". as it runs in its own process it can also time-out images from the cache too. right now you enable it by doing 2 things 1. run evas_cserve (it has cmd-line options to configure cache etc. 2. export EVAS_CSERVE=1 (im the environment of apps that should use the cache server). it works (for me) without crashes or problems. except for the following: 1. preloading doesnt work so its disabled if cserve is enabled. thisis because the load threads interfere withthe unix comms socket causing problems. this need to really change and have the cserve know about/do preload and let the select() on the evas async events fd listen for the unsolicited reply "load done". but it's not broken - simple preloads are syncronous and forced if cserve is enabled (at build time). 2. if cserve is killed/crashes every app using it will have a bad day. baaad day. so dont do it. also cserve may be vulnerable to apps crashing on it - it may also exit with sigpipe. this needs fixing. 3. if the apps load using relative paths - this will break as it doesnt account for the CWD of the client currently. will be fixed. 4. no way to change cache config runtime (yet) 5. no way to get internal cache state (yet). 6. if cache server exist - it wont clean up the shmem file nodes in /dev/shm - it will clean on restart (remove the old junk). this needs fixing. if you fine other issues - let me know. things for the future: 1. now its a separate server.. the server could do async http etc. loads too 2. as a server it could monitor history of usage of files and images and auto-pre-load files it knows historically are loaded then whose data is immediately accessed. 3. the same infra could be used to share font loads (freetype and/or fontconfig data). 4. ultimately being able to share rendered font glyphs will help a lot too. 5. it could, on its own, monitor "free memory" and when free memory runs load, reduce cache size dynamically. (improving low memory situations). 6. it should get a gui to query cache state/contents and display visually. this would be awesome to have a list of thumbnails that show whats in the cache, how many referencesa they have, last active timestamps etc. blah blah. please let me know if the build is broken asap though as i will vanish offline for a bit in about 24hrs... SVN revision: 40478
2009-05-01 00:11:07 -07:00
-I$(top_srcdir)/src/lib/cserve \
2005-03-03 16:39:41 -08:00
-I$(top_srcdir)/src/lib/include \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
@EET_CFLAGS@ @pthread_cflags@ \
@WIN32_CFLAGS@ @EINA_CFLAGS@ \
@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@
2002-11-08 00:02:15 -08:00
noinst_LTLIBRARIES = libevas_engine_common.la
libevas_engine_common_la_SOURCES = \
evas_op_copy_main_.c \
evas_op_blend_main_.c \
evas_op_add_main_.c \
evas_op_sub_main_.c \
evas_op_mask_main_.c \
evas_op_mul_main_.c \
2002-11-08 00:02:15 -08:00
evas_blend_main.c \
evas_blit_main.c \
evas_convert_color.c \
evas_convert_colorspace.c \
2002-11-08 00:02:15 -08:00
evas_convert_gry_1.c \
evas_convert_gry_4.c \
evas_convert_gry_8.c \
evas_convert_main.c \
evas_convert_rgb_16.c \
evas_convert_rgb_24.c \
evas_convert_rgb_32.c \
evas_convert_rgb_8.c \
evas_convert_grypal_6.c \
evas_convert_yuv.c \
2002-11-08 00:02:15 -08:00
evas_cpu.c \
evas_draw_main.c \
evas_encoding.c \
2002-11-08 00:02:15 -08:00
evas_font_draw.c \
evas_font_load.c \
evas_font_main.c \
evas_font_query.c \
evas_image_load.c \
evas_image_save.c \
2002-11-08 00:02:15 -08:00
evas_image_main.c \
evas_image_data.c \
evas_image_scalecache.c \
2002-11-08 00:02:15 -08:00
evas_line_main.c \
evas_polygon_main.c \
evas_rectangle_main.c \
evas_scale_main.c \
evas_scale_sample.c \
evas_scale_smooth.c \
evas_scale_span.c \
evas_tiler.c \
evas_regionbuf.c \
evas_pipe.c \
language/evas_bidi_utils.c \
language/evas_language_utils.c \
evas_text_utils.c \
evas_font_ot.c \
2011-01-30 05:55:04 -08:00
evas_font_glyph_info.c \
evas_map_image.c \
evas_map_image.h
2002-11-08 00:02:15 -08:00
EXTRA_DIST = \
evas_blend.h \
evas_blend_private.h \
evas_convert_color.h \
evas_convert_colorspace.h \
evas_convert_gry_1.h \
evas_convert_gry_4.h \
evas_convert_gry_8.h \
evas_convert_grypal_6.h \
evas_convert_main.h \
evas_convert_rgb_16.h \
evas_convert_rgb_24.h \
evas_convert_rgb_32.h \
evas_convert_rgb_8.h \
evas_convert_yuv.h \
evas_draw.h \
evas_encoding.h \
evas_font.h \
evas_font_private.h \
evas_image.h \
evas_image_private.h \
evas_line.h \
evas_polygon.h \
evas_rectangle.h \
evas_scale_main.h \
evas_scale_smooth.h \
evas_scale_smooth_scaler.c \
evas_scale_smooth_scaler_down.c \
evas_scale_smooth_scaler_downx.c \
evas_scale_smooth_scaler_downx_downy.c \
evas_scale_smooth_scaler_downy.c \
evas_scale_smooth_scaler_noscale.c \
evas_scale_smooth_scaler_up.c \
evas_scale_span.h \
evas_pipe.h \
language/evas_bidi_utils.h \
language/evas_language_utils.h \
evas_text_utils.h \
evas_font_ot.h \
2011-01-30 05:55:04 -08:00
evas_font_glyph_info.h \
evas_map_image_internal.c \
evas_map_image_core.c \
evas_map_image_loop.c
2002-11-08 00:02:15 -08:00
libevas_engine_common_la_DEPENDENCIES = \
$(top_builddir)/config.h