aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/buffer
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/engines/buffer
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/evas/src/modules/engines/buffer')
-rw-r--r--libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h43
-rw-r--r--libraries/evas/src/modules/engines/buffer/Makefile.am42
-rw-r--r--libraries/evas/src/modules/engines/buffer/Makefile.in808
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_engine.c444
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_engine.h91
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_outbuf.c357
6 files changed, 0 insertions, 1785 deletions
diff --git a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
deleted file mode 100644
index a9cbbfb..0000000
--- a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
+++ /dev/null
@@ -1,43 +0,0 @@
1#ifndef _EVAS_ENGINE_BUFFER_H
2#define _EVAS_ENGINE_BUFFER_H
3
4#define EVAS_ENGINE_BUFFER_DEPTH_ARGB32 0
5#define EVAS_ENGINE_BUFFER_DEPTH_BGRA32 1
6#define EVAS_ENGINE_BUFFER_DEPTH_RGB24 2
7#define EVAS_ENGINE_BUFFER_DEPTH_BGR24 3
8#define EVAS_ENGINE_BUFFER_DEPTH_RGB32 4
9
10typedef struct _Evas_Engine_Info_Buffer Evas_Engine_Info_Buffer;
11
12struct _Evas_Engine_Info_Buffer
13{
14 /* PRIVATE - don't mess with this baby or evas will poke its tongue out */
15 /* at you and make nasty noises */
16 Evas_Engine_Info magic;
17
18 struct {
19 int depth_type;
20
21 void *dest_buffer;
22 int dest_buffer_row_bytes;
23
24 char use_color_key : 1;
25 int alpha_threshold;
26 int color_key_r;
27 int color_key_g;
28 int color_key_b;
29 struct {
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);
32 void * (*switch_buffer) (void *data, void *dest_buffer);
33 } func;
34
35 void *switch_data;
36 } info;
37
38 /* non-blocking or blocking mode */
39 Evas_Engine_Render_Mode render_mode;
40};
41#endif
42
43
diff --git a/libraries/evas/src/modules/engines/buffer/Makefile.am b/libraries/evas/src/modules/engines/buffer/Makefile.am
deleted file mode 100644
index 4090b6f..0000000
--- a/libraries/evas/src/modules/engines/buffer/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
1
2MAINTAINERCLEANFILES = Makefile.in
3
4AM_CPPFLAGS = \
5-I. \
6-I$(top_srcdir)/src/lib \
7-I$(top_srcdir)/src/lib/include \
8-I$(top_srcdir)/src/modules/engines \
9@EINA_CFLAGS@ \
10@FREETYPE_CFLAGS@ \
11@PIXMAN_CFLAGS@
12
13if BUILD_ENGINE_BUFFER
14
15BUFFER_SOURCES = \
16evas_engine.c \
17evas_outbuf.c
18
19
20includes_HEADERS = Evas_Engine_Buffer.h
21includesdir = $(includedir)/evas-@VMAJ@
22
23if !EVAS_STATIC_BUILD_BUFFER
24
25pkgdir = $(libdir)/evas/modules/engines/buffer/$(MODULE_ARCH)
26pkg_LTLIBRARIES = module.la
27
28module_la_SOURCES = $(BUFFER_SOURCES)
29module_la_LIBADD = $(top_builddir)/src/lib/libevas.la @EINA_LIBS@
30module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
31module_la_LIBTOOLFLAGS = --tag=disable-static
32
33else
34
35noinst_LTLIBRARIES = libevas_engine_buffer.la
36
37libevas_engine_buffer_la_SOURCES = $(BUFFER_SOURCES)
38
39endif
40endif
41
42EXTRA_DIST = evas_engine.h
diff --git a/libraries/evas/src/modules/engines/buffer/Makefile.in b/libraries/evas/src/modules/engines/buffer/Makefile.in
deleted file mode 100644
index bd9818e..0000000
--- a/libraries/evas/src/modules/engines/buffer/Makefile.in
+++ /dev/null
@@ -1,808 +0,0 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkgincludedir = $(includedir)/@PACKAGE@
22pkglibdir = $(libdir)/@PACKAGE@
23pkglibexecdir = $(libexecdir)/@PACKAGE@
24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25install_sh_DATA = $(install_sh) -c -m 644
26install_sh_PROGRAM = $(install_sh) -c
27install_sh_SCRIPT = $(install_sh) -c
28INSTALL_HEADER = $(INSTALL_DATA)
29transform = $(program_transform_name)
30NORMAL_INSTALL = :
31PRE_INSTALL = :
32POST_INSTALL = :
33NORMAL_UNINSTALL = :
34PRE_UNINSTALL = :
35POST_UNINSTALL = :
36build_triplet = @build@
37host_triplet = @host@
38subdir = src/modules/engines/buffer
39DIST_COMMON = $(am__includes_HEADERS_DIST) $(srcdir)/Makefile.am \
40 $(srcdir)/Makefile.in
41ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \
45 $(top_srcdir)/m4/efl_fnmatch.m4 \
46 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
47 $(top_srcdir)/m4/evas_check_engine.m4 \
48 $(top_srcdir)/m4/evas_check_loader.m4 \
49 $(top_srcdir)/m4/evas_converter.m4 \
50 $(top_srcdir)/m4/evas_dither.m4 \
51 $(top_srcdir)/m4/evas_scaler.m4 $(top_srcdir)/m4/libtool.m4 \
52 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
53 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
54 $(top_srcdir)/configure.ac
55am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
56 $(ACLOCAL_M4)
57mkinstalldirs = $(install_sh) -d
58CONFIG_HEADER = $(top_builddir)/config.h
59CONFIG_CLEAN_FILES =
60CONFIG_CLEAN_VPATH_FILES =
61am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
62am__vpath_adj = case $$p in \
63 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
64 *) f=$$p;; \
65 esac;
66am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
67am__install_max = 40
68am__nobase_strip_setup = \
69 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
70am__nobase_strip = \
71 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
72am__nobase_list = $(am__nobase_strip_setup); \
73 for p in $$list; do echo "$$p $$p"; done | \
74 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
75 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
76 if (++n[$$2] == $(am__install_max)) \
77 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
78 END { for (dir in files) print dir, files[dir] }'
79am__base_list = \
80 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
81 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
82am__installdirs = "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"
83LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES)
84libevas_engine_buffer_la_LIBADD =
85am__libevas_engine_buffer_la_SOURCES_DIST = evas_engine.c \
86 evas_outbuf.c
87@BUILD_ENGINE_BUFFER_TRUE@am__objects_1 = evas_engine.lo \
88@BUILD_ENGINE_BUFFER_TRUE@ evas_outbuf.lo
89@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_TRUE@am_libevas_engine_buffer_la_OBJECTS = $(am__objects_1)
90libevas_engine_buffer_la_OBJECTS = \
91 $(am_libevas_engine_buffer_la_OBJECTS)
92AM_V_lt = $(am__v_lt_$(V))
93am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
94am__v_lt_0 = --silent
95@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_TRUE@am_libevas_engine_buffer_la_rpath =
96@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la
97am__module_la_SOURCES_DIST = evas_engine.c evas_outbuf.c
98@BUILD_ENGINE_BUFFER_TRUE@am__objects_2 = module_la-evas_engine.lo \
99@BUILD_ENGINE_BUFFER_TRUE@ module_la-evas_outbuf.lo
100@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@am_module_la_OBJECTS = $(am__objects_2)
101module_la_OBJECTS = $(am_module_la_OBJECTS)
102module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
103 $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
104 $(AM_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) -o $@
105@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@am_module_la_rpath = -rpath \
106@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@ $(pkgdir)
107DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
108depcomp = $(SHELL) $(top_srcdir)/depcomp
109am__depfiles_maybe = depfiles
110am__mv = mv -f
111COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
112 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
113LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
114 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
115 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
116 $(AM_CFLAGS) $(CFLAGS)
117AM_V_CC = $(am__v_CC_$(V))
118am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
119am__v_CC_0 = @echo " CC " $@;
120AM_V_at = $(am__v_at_$(V))
121am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
122am__v_at_0 = @
123CCLD = $(CC)
124LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
125 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
126 $(AM_LDFLAGS) $(LDFLAGS) -o $@
127AM_V_CCLD = $(am__v_CCLD_$(V))
128am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
129am__v_CCLD_0 = @echo " CCLD " $@;
130AM_V_GEN = $(am__v_GEN_$(V))
131am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
132am__v_GEN_0 = @echo " GEN " $@;
133SOURCES = $(libevas_engine_buffer_la_SOURCES) $(module_la_SOURCES)
134DIST_SOURCES = $(am__libevas_engine_buffer_la_SOURCES_DIST) \
135 $(am__module_la_SOURCES_DIST)
136am__includes_HEADERS_DIST = Evas_Engine_Buffer.h
137HEADERS = $(includes_HEADERS)
138ETAGS = etags
139CTAGS = ctags
140DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
141ACLOCAL = @ACLOCAL@
142ALLOCA = @ALLOCA@
143AMTAR = @AMTAR@
144AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
145AR = @AR@
146AS = @AS@
147AUTOCONF = @AUTOCONF@
148AUTOHEADER = @AUTOHEADER@
149AUTOMAKE = @AUTOMAKE@
150AWK = @AWK@
151CC = @CC@
152CCDEPMODE = @CCDEPMODE@
153CFLAGS = @CFLAGS@
154CHECK_CFLAGS = @CHECK_CFLAGS@
155CHECK_LIBS = @CHECK_LIBS@
156CPP = @CPP@
157CPPFLAGS = @CPPFLAGS@
158CXX = @CXX@
159CXXCPP = @CXXCPP@
160CXXDEPMODE = @CXXDEPMODE@
161CXXFLAGS = @CXXFLAGS@
162CYGPATH_W = @CYGPATH_W@
163DEFS = @DEFS@
164DEPDIR = @DEPDIR@
165DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@
166DIRECTFB_LIBS = @DIRECTFB_LIBS@
167DLLTOOL = @DLLTOOL@
168DSYMUTIL = @DSYMUTIL@
169DUMPBIN = @DUMPBIN@
170ECHO_C = @ECHO_C@
171ECHO_N = @ECHO_N@
172ECHO_T = @ECHO_T@
173ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@
174ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@
175EDB_CFLAGS = @EDB_CFLAGS@
176EDB_LIBS = @EDB_LIBS@
177EDJE_CFLAGS = @EDJE_CFLAGS@
178EDJE_LIBS = @EDJE_LIBS@
179EET_CFLAGS = @EET_CFLAGS@
180EET_LIBS = @EET_LIBS@
181EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@
182EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@
183EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@
184EGREP = @EGREP@
185EINA_CFLAGS = @EINA_CFLAGS@
186EINA_LIBS = @EINA_LIBS@
187EVAS_CFLAGS = @EVAS_CFLAGS@
188EVAS_LIBS = @EVAS_LIBS@
189EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
195FGREP = @FGREP@
196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
198FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
199FREETYPE_LIBS = @FREETYPE_LIBS@
200FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@
201FRIBIDI_LIBS = @FRIBIDI_LIBS@
202GL_EET_CFLAGS = @GL_EET_CFLAGS@
203GL_EET_LIBS = @GL_EET_LIBS@
204GREP = @GREP@
205HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@
206HARFBUZZ_LIBS = @HARFBUZZ_LIBS@
207INSTALL = @INSTALL@
208INSTALL_DATA = @INSTALL_DATA@
209INSTALL_PROGRAM = @INSTALL_PROGRAM@
210INSTALL_SCRIPT = @INSTALL_SCRIPT@
211INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
212LD = @LD@
213LDFLAGS = @LDFLAGS@
214LIBOBJS = @LIBOBJS@
215LIBS = @LIBS@
216LIBTOOL = @LIBTOOL@
217LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@
218LINEBREAK_LIBS = @LINEBREAK_LIBS@
219LIPO = @LIPO@
220LN_S = @LN_S@
221LTLIBOBJS = @LTLIBOBJS@
222MAKEINFO = @MAKEINFO@
223MKDIR_P = @MKDIR_P@
224MODULE_ARCH = @MODULE_ARCH@
225NM = @NM@
226NMEDIT = @NMEDIT@
227OBJC = @OBJC@
228OBJCDEPMODE = @OBJCDEPMODE@
229OBJCFLAGS = @OBJCFLAGS@
230OBJDUMP = @OBJDUMP@
231OBJEXT = @OBJEXT@
232OTOOL = @OTOOL@
233OTOOL64 = @OTOOL64@
234PACKAGE = @PACKAGE@
235PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
236PACKAGE_NAME = @PACKAGE_NAME@
237PACKAGE_STRING = @PACKAGE_STRING@
238PACKAGE_TARNAME = @PACKAGE_TARNAME@
239PACKAGE_URL = @PACKAGE_URL@
240PACKAGE_VERSION = @PACKAGE_VERSION@
241PATH_SEPARATOR = @PATH_SEPARATOR@
242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
243PIXMAN_LIBS = @PIXMAN_LIBS@
244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@
250SDL_CFLAGS = @SDL_CFLAGS@
251SDL_LIBS = @SDL_LIBS@
252SED = @SED@
253SET_MAKE = @SET_MAKE@
254SHELL = @SHELL@
255SHM_OPEN_LINK = @SHM_OPEN_LINK@
256STRIP = @STRIP@
257SVG_CFLAGS = @SVG_CFLAGS@
258SVG_LIBS = @SVG_LIBS@
259VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
260VALGRIND_LIBS = @VALGRIND_LIBS@
261VERSION = @VERSION@
262VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265XCB_CFLAGS = @XCB_CFLAGS@
266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
267XCB_GL_LIBS = @XCB_GL_LIBS@
268XCB_LIBS = @XCB_LIBS@
269XEXT_CFLAGS = @XEXT_CFLAGS@
270XEXT_LIBS = @XEXT_LIBS@
271XMKMF = @XMKMF@
272X_CFLAGS = @X_CFLAGS@
273X_EXTRA_LIBS = @X_EXTRA_LIBS@
274X_LIBS = @X_LIBS@
275X_PRE_LIBS = @X_PRE_LIBS@
276abs_builddir = @abs_builddir@
277abs_srcdir = @abs_srcdir@
278abs_top_builddir = @abs_top_builddir@
279abs_top_srcdir = @abs_top_srcdir@
280ac_ct_CC = @ac_ct_CC@
281ac_ct_CXX = @ac_ct_CXX@
282ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
283ac_ct_OBJC = @ac_ct_OBJC@
284altivec_cflags = @altivec_cflags@
285am__include = @am__include@
286am__leading_dot = @am__leading_dot@
287am__quote = @am__quote@
288am__tar = @am__tar@
289am__untar = @am__untar@
290bindir = @bindir@
291build = @build@
292build_alias = @build_alias@
293build_cpu = @build_cpu@
294build_os = @build_os@
295build_vendor = @build_vendor@
296builddir = @builddir@
297datadir = @datadir@
298datarootdir = @datarootdir@
299dlopen_libs = @dlopen_libs@
300docdir = @docdir@
301dvidir = @dvidir@
302edje_cc = @edje_cc@
303efl_doxygen = @efl_doxygen@
304efl_have_doxygen = @efl_have_doxygen@
305evas_engine_buffer_cflags = @evas_engine_buffer_cflags@
306evas_engine_buffer_libs = @evas_engine_buffer_libs@
307evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@
308evas_engine_direct3d_libs = @evas_engine_direct3d_libs@
309evas_engine_directfb_cflags = @evas_engine_directfb_cflags@
310evas_engine_directfb_libs = @evas_engine_directfb_libs@
311evas_engine_fb_cflags = @evas_engine_fb_cflags@
312evas_engine_fb_libs = @evas_engine_fb_libs@
313evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@
314evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@
315evas_engine_gl_common_libs = @evas_engine_gl_common_libs@
316evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@
317evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@
318evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@
319evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@
320evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@
321evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@
322evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@
323evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@
324evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@
325evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@
326evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@
327evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@
328evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@
329evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@
330evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@
331evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@
332evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@
333evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@
334evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
341evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@
342evas_engine_wayland_egl_cflags = @evas_engine_wayland_egl_cflags@
343evas_engine_wayland_egl_libs = @evas_engine_wayland_egl_libs@
344evas_engine_wayland_shm_cflags = @evas_engine_wayland_shm_cflags@
345evas_engine_wayland_shm_libs = @evas_engine_wayland_shm_libs@
346evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@
347evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@
348evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@
349evas_image_loader_edb_libs = @evas_image_loader_edb_libs@
350evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@
351evas_image_loader_eet_libs = @evas_image_loader_eet_libs@
352evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@
353evas_image_loader_generic_libs = @evas_image_loader_generic_libs@
354evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@
355evas_image_loader_gif_libs = @evas_image_loader_gif_libs@
356evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@
357evas_image_loader_ico_libs = @evas_image_loader_ico_libs@
358evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@
359evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@
360evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@
361evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@
362evas_image_loader_png_cflags = @evas_image_loader_png_cflags@
363evas_image_loader_png_libs = @evas_image_loader_png_libs@
364evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@
365evas_image_loader_psd_libs = @evas_image_loader_psd_libs@
366evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@
367evas_image_loader_svg_libs = @evas_image_loader_svg_libs@
368evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@
369evas_image_loader_tga_libs = @evas_image_loader_tga_libs@
370evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@
371evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@
372evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@
373evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@
374evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@
375evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@
376exec_prefix = @exec_prefix@
377have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@
378have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@
379have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@
380have_evas_engine_software_x11 = @have_evas_engine_software_x11@
381have_evas_engine_software_xcb = @have_evas_engine_software_xcb@
382have_evas_engine_software_xlib = @have_evas_engine_software_xlib@
383have_lcov = @have_lcov@
384host = @host@
385host_alias = @host_alias@
386host_cpu = @host_cpu@
387host_os = @host_os@
388host_vendor = @host_vendor@
389htmldir = @htmldir@
390includedir = @includedir@
391infodir = @infodir@
392install_sh = @install_sh@
393libdir = @libdir@
394libexecdir = @libexecdir@
395localedir = @localedir@
396localstatedir = @localstatedir@
397lt_ECHO = @lt_ECHO@
398lt_enable_auto_import = @lt_enable_auto_import@
399mandir = @mandir@
400mkdir_p = @mkdir_p@
401oldincludedir = @oldincludedir@
402pdfdir = @pdfdir@
403pkgconfig_requires_private = @pkgconfig_requires_private@
404prefix = @prefix@
405program_transform_name = @program_transform_name@
406psdir = @psdir@
407pthread_cflags = @pthread_cflags@
408pthread_libs = @pthread_libs@
409release_info = @release_info@
410requirement_evas = @requirement_evas@
411sbindir = @sbindir@
412sharedstatedir = @sharedstatedir@
413srcdir = @srcdir@
414sysconfdir = @sysconfdir@
415target_alias = @target_alias@
416top_build_prefix = @top_build_prefix@
417top_builddir = @top_builddir@
418top_srcdir = @top_srcdir@
419version_info = @version_info@
420MAINTAINERCLEANFILES = Makefile.in
421AM_CPPFLAGS = \
422-I. \
423-I$(top_srcdir)/src/lib \
424-I$(top_srcdir)/src/lib/include \
425-I$(top_srcdir)/src/modules/engines \
426@EINA_CFLAGS@ \
427@FREETYPE_CFLAGS@ \
428@PIXMAN_CFLAGS@
429
430@BUILD_ENGINE_BUFFER_TRUE@BUFFER_SOURCES = \
431@BUILD_ENGINE_BUFFER_TRUE@evas_engine.c \
432@BUILD_ENGINE_BUFFER_TRUE@evas_outbuf.c
433
434@BUILD_ENGINE_BUFFER_TRUE@includes_HEADERS = Evas_Engine_Buffer.h
435@BUILD_ENGINE_BUFFER_TRUE@includesdir = $(includedir)/evas-@VMAJ@
436@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@pkgdir = $(libdir)/evas/modules/engines/buffer/$(MODULE_ARCH)
437@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@pkg_LTLIBRARIES = module.la
438@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@module_la_SOURCES = $(BUFFER_SOURCES)
439@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@module_la_LIBADD = $(top_builddir)/src/lib/libevas.la @EINA_LIBS@
440@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
441@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static
442@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_TRUE@noinst_LTLIBRARIES = libevas_engine_buffer.la
443@BUILD_ENGINE_BUFFER_TRUE@@EVAS_STATIC_BUILD_BUFFER_TRUE@libevas_engine_buffer_la_SOURCES = $(BUFFER_SOURCES)
444EXTRA_DIST = evas_engine.h
445all: all-am
446
447.SUFFIXES:
448.SUFFIXES: .c .lo .o .obj
449$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
450 @for dep in $?; do \
451 case '$(am__configure_deps)' in \
452 *$$dep*) \
453 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
454 && { if test -f $@; then exit 0; else break; fi; }; \
455 exit 1;; \
456 esac; \
457 done; \
458 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/engines/buffer/Makefile'; \
459 $(am__cd) $(top_srcdir) && \
460 $(AUTOMAKE) --gnu src/modules/engines/buffer/Makefile
461.PRECIOUS: Makefile
462Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
463 @case '$?' in \
464 *config.status*) \
465 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
466 *) \
467 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
468 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
469 esac;
470
471$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
472 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
473
474$(top_srcdir)/configure: $(am__configure_deps)
475 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
476$(ACLOCAL_M4): $(am__aclocal_m4_deps)
477 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
478$(am__aclocal_m4_deps):
479
480clean-noinstLTLIBRARIES:
481 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
482 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
483 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
484 test "$$dir" != "$$p" || dir=.; \
485 echo "rm -f \"$${dir}/so_locations\""; \
486 rm -f "$${dir}/so_locations"; \
487 done
488install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
489 @$(NORMAL_INSTALL)
490 test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
491 @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \
492 list2=; for p in $$list; do \
493 if test -f $$p; then \
494 list2="$$list2 $$p"; \
495 else :; fi; \
496 done; \
497 test -z "$$list2" || { \
498 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \
499 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \
500 }
501
502uninstall-pkgLTLIBRARIES:
503 @$(NORMAL_UNINSTALL)
504 @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \
505 for p in $$list; do \
506 $(am__strip_dir) \
507 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \
508 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \
509 done
510
511clean-pkgLTLIBRARIES:
512 -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES)
513 @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
514 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
515 test "$$dir" != "$$p" || dir=.; \
516 echo "rm -f \"$${dir}/so_locations\""; \
517 rm -f "$${dir}/so_locations"; \
518 done
519libevas_engine_buffer.la: $(libevas_engine_buffer_la_OBJECTS) $(libevas_engine_buffer_la_DEPENDENCIES)
520 $(AM_V_CCLD)$(LINK) $(am_libevas_engine_buffer_la_rpath) $(libevas_engine_buffer_la_OBJECTS) $(libevas_engine_buffer_la_LIBADD) $(LIBS)
521module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES)
522 $(AM_V_CCLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS)
523
524mostlyclean-compile:
525 -rm -f *.$(OBJEXT)
526
527distclean-compile:
528 -rm -f *.tab.c
529
530@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@
531@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_outbuf.Plo@am__quote@
532@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_engine.Plo@am__quote@
533@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_outbuf.Plo@am__quote@
534
535.c.o:
536@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
537@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
538@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
539@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
540@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
541@am__fastdepCC_FALSE@ $(COMPILE) -c $<
542
543.c.obj:
544@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
545@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
546@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
547@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
548@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
549@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
550
551.c.lo:
552@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
553@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
554@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
555@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
556@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
557@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
558
559module_la-evas_engine.lo: evas_engine.c
560@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
561@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo
562@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
563@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@
564@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
565@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
566
567module_la-evas_outbuf.lo: evas_outbuf.c
568@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_outbuf.lo -MD -MP -MF $(DEPDIR)/module_la-evas_outbuf.Tpo -c -o module_la-evas_outbuf.lo `test -f 'evas_outbuf.c' || echo '$(srcdir)/'`evas_outbuf.c
569@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_outbuf.Tpo $(DEPDIR)/module_la-evas_outbuf.Plo
570@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
571@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_outbuf.c' object='module_la-evas_outbuf.lo' libtool=yes @AMDEPBACKSLASH@
572@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
573@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_outbuf.lo `test -f 'evas_outbuf.c' || echo '$(srcdir)/'`evas_outbuf.c
574
575mostlyclean-libtool:
576 -rm -f *.lo
577
578clean-libtool:
579 -rm -rf .libs _libs
580install-includesHEADERS: $(includes_HEADERS)
581 @$(NORMAL_INSTALL)
582 test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)"
583 @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \
584 for p in $$list; do \
585 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
586 echo "$$d$$p"; \
587 done | $(am__base_list) | \
588 while read files; do \
589 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \
590 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \
591 done
592
593uninstall-includesHEADERS:
594 @$(NORMAL_UNINSTALL)
595 @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \
596 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
597 test -n "$$files" || exit 0; \
598 echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \
599 cd "$(DESTDIR)$(includesdir)" && rm -f $$files
600
601ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
602 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
603 unique=`for i in $$list; do \
604 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
605 done | \
606 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
607 END { if (nonempty) { for (i in files) print i; }; }'`; \
608 mkid -fID $$unique
609tags: TAGS
610
611TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
612 $(TAGS_FILES) $(LISP)
613 set x; \
614 here=`pwd`; \
615 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
616 unique=`for i in $$list; do \
617 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
618 done | \
619 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
620 END { if (nonempty) { for (i in files) print i; }; }'`; \
621 shift; \
622 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
623 test -n "$$unique" || unique=$$empty_fix; \
624 if test $$# -gt 0; then \
625 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
626 "$$@" $$unique; \
627 else \
628 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
629 $$unique; \
630 fi; \
631 fi
632ctags: CTAGS
633CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
634 $(TAGS_FILES) $(LISP)
635 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
636 unique=`for i in $$list; do \
637 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
638 done | \
639 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
640 END { if (nonempty) { for (i in files) print i; }; }'`; \
641 test -z "$(CTAGS_ARGS)$$unique" \
642 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
643 $$unique
644
645GTAGS:
646 here=`$(am__cd) $(top_builddir) && pwd` \
647 && $(am__cd) $(top_srcdir) \
648 && gtags -i $(GTAGS_ARGS) "$$here"
649
650distclean-tags:
651 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
652
653distdir: $(DISTFILES)
654 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
655 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
656 list='$(DISTFILES)'; \
657 dist_files=`for file in $$list; do echo $$file; done | \
658 sed -e "s|^$$srcdirstrip/||;t" \
659 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
660 case $$dist_files in \
661 */*) $(MKDIR_P) `echo "$$dist_files" | \
662 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
663 sort -u` ;; \
664 esac; \
665 for file in $$dist_files; do \
666 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
667 if test -d $$d/$$file; then \
668 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
669 if test -d "$(distdir)/$$file"; then \
670 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
671 fi; \
672 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
673 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
674 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
675 fi; \
676 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
677 else \
678 test -f "$(distdir)/$$file" \
679 || cp -p $$d/$$file "$(distdir)/$$file" \
680 || exit 1; \
681 fi; \
682 done
683check-am: all-am
684check: check-am
685all-am: Makefile $(LTLIBRARIES) $(HEADERS)
686installdirs:
687 for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \
688 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
689 done
690install: install-am
691install-exec: install-exec-am
692install-data: install-data-am
693uninstall: uninstall-am
694
695install-am: all-am
696 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
697
698installcheck: installcheck-am
699install-strip:
700 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
701 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
702 `test -z '$(STRIP)' || \
703 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
704mostlyclean-generic:
705
706clean-generic:
707
708distclean-generic:
709 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
710 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
711
712maintainer-clean-generic:
713 @echo "This command is intended for maintainers to use"
714 @echo "it deletes files that may require special tools to rebuild."
715 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
716clean: clean-am
717
718clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
719 clean-pkgLTLIBRARIES mostlyclean-am
720
721distclean: distclean-am
722 -rm -rf ./$(DEPDIR)
723 -rm -f Makefile
724distclean-am: clean-am distclean-compile distclean-generic \
725 distclean-tags
726
727dvi: dvi-am
728
729dvi-am:
730
731html: html-am
732
733html-am:
734
735info: info-am
736
737info-am:
738
739install-data-am: install-includesHEADERS install-pkgLTLIBRARIES
740
741install-dvi: install-dvi-am
742
743install-dvi-am:
744
745install-exec-am:
746
747install-html: install-html-am
748
749install-html-am:
750
751install-info: install-info-am
752
753install-info-am:
754
755install-man:
756
757install-pdf: install-pdf-am
758
759install-pdf-am:
760
761install-ps: install-ps-am
762
763install-ps-am:
764
765installcheck-am:
766
767maintainer-clean: maintainer-clean-am
768 -rm -rf ./$(DEPDIR)
769 -rm -f Makefile
770maintainer-clean-am: distclean-am maintainer-clean-generic
771
772mostlyclean: mostlyclean-am
773
774mostlyclean-am: mostlyclean-compile mostlyclean-generic \
775 mostlyclean-libtool
776
777pdf: pdf-am
778
779pdf-am:
780
781ps: ps-am
782
783ps-am:
784
785uninstall-am: uninstall-includesHEADERS uninstall-pkgLTLIBRARIES
786
787.MAKE: install-am install-strip
788
789.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
790 clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \
791 ctags distclean distclean-compile distclean-generic \
792 distclean-libtool distclean-tags distdir dvi dvi-am html \
793 html-am info info-am install install-am install-data \
794 install-data-am install-dvi install-dvi-am install-exec \
795 install-exec-am install-html install-html-am \
796 install-includesHEADERS install-info install-info-am \
797 install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \
798 install-ps install-ps-am install-strip installcheck \
799 installcheck-am installdirs maintainer-clean \
800 maintainer-clean-generic mostlyclean mostlyclean-compile \
801 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
802 tags uninstall uninstall-am uninstall-includesHEADERS \
803 uninstall-pkgLTLIBRARIES
804
805
806# Tell versions [3.59,3.63) of GNU make to not export all variables.
807# Otherwise a system limit (for SysV at least) may be exceeded.
808.NOEXPORT:
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.c b/libraries/evas/src/modules/engines/buffer/evas_engine.c
deleted file mode 100644
index 758ef10..0000000
--- a/libraries/evas/src/modules/engines/buffer/evas_engine.c
+++ /dev/null
@@ -1,444 +0,0 @@
1#include "evas_common.h"
2#include "evas_private.h"
3#include "evas_engine.h"
4#include "Evas_Engine_Buffer.h"
5
6/* domain for eina_log */
7/* the log macros are defined in evas_common.h */
8/* theirs names are EVAS_ERR, EVAS_DBG, EVAS_CRIT, EVAS_WRN and EVAS_INF */
9/* although we can use the EVAS_ERROR, etc... macros it will not work
10 when the -fvisibility=hidden option is passed to gcc */
11
12int _evas_engine_buffer_log_dom = -1;
13
14/* function tables - filled in later (func and parent func) */
15
16static Evas_Func func, pfunc;
17
18
19/* engine struct data */
20typedef struct _Render_Engine Render_Engine;
21
22struct _Render_Engine
23{
24 Tilebuf *tb;
25 Outbuf *ob;
26 Tilebuf_Rect *rects;
27 Eina_Inlist *cur_rect;
28 Eina_Inarray previous_rects;
29 int end : 1;
30};
31
32/* prototypes we will use here */
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);
34
35static void *eng_info(Evas *e __UNUSED__);
36static void eng_info_free(Evas *e __UNUSED__, void *info);
37static int eng_setup(Evas *e, void *info);
38static void eng_output_free(void *data);
39static void eng_output_resize(void *data, int w, int h);
40static void eng_output_tile_size_set(void *data, int w, int h);
41static void eng_output_redraws_rect_add(void *data, int x, int y, int w, int h);
42static void eng_output_redraws_rect_del(void *data, int x, int y, int w, int h);
43static void eng_output_redraws_clear(void *data);
44static void *eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, int *cx, int *cy, int *cw, int *ch);
45static void eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h);
46static void eng_output_flush(void *data);
47static void eng_output_idle_flush(void *data);
48
49/* internal engine routines */
50static void *
51_output_setup(int w,
52 int h,
53 void *dest_buffer,
54 int dest_buffer_row_bytes,
55 int depth_type,
56 int use_color_key,
57 int alpha_threshold,
58 int color_key_r,
59 int color_key_g,
60 int color_key_b,
61 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),
63 void *(*switch_buffer) (void *data, void *dest_buffer),
64 void *switch_data
65 )
66{
67 Render_Engine *re;
68
69 re = calloc(1, sizeof(Render_Engine));
70 if (!re)
71 return NULL;
72 /* if we haven't initialized - init (automatic abort if already done) */
73 evas_common_cpu_init();
74
75 evas_common_blend_init();
76 evas_common_image_init();
77 evas_common_convert_init();
78 evas_common_scale_init();
79 evas_common_rectangle_init();
80 evas_common_polygon_init();
81 evas_common_line_init();
82 evas_common_font_init();
83 evas_common_draw_init();
84 evas_common_tilebuf_init();
85
86 evas_buffer_outbuf_buf_init();
87
88 {
89 Outbuf_Depth dep;
90 DATA32 color_key = 0;
91
92 dep = OUTBUF_DEPTH_BGR_24BPP_888_888;
93 if (depth_type == EVAS_ENGINE_BUFFER_DEPTH_ARGB32)
94 dep = OUTBUF_DEPTH_ARGB_32BPP_8888_8888;
95 else if (depth_type == EVAS_ENGINE_BUFFER_DEPTH_RGB32)
96 dep = OUTBUF_DEPTH_RGB_32BPP_888_8888;
97 else if (depth_type == EVAS_ENGINE_BUFFER_DEPTH_BGRA32)
98 dep = OUTBUF_DEPTH_BGRA_32BPP_8888_8888;
99 else if (depth_type == EVAS_ENGINE_BUFFER_DEPTH_RGB24)
100 dep = OUTBUF_DEPTH_RGB_24BPP_888_888;
101 else if (depth_type == EVAS_ENGINE_BUFFER_DEPTH_BGR24)
102 dep = OUTBUF_DEPTH_BGR_24BPP_888_888;
103 R_VAL(&color_key) = color_key_r;
104 G_VAL(&color_key) = color_key_g;
105 B_VAL(&color_key) = color_key_b;
106 A_VAL(&color_key) = 0;
107 re->ob = evas_buffer_outbuf_buf_setup_fb(w,
108 h,
109 dep,
110 dest_buffer,
111 dest_buffer_row_bytes,
112 use_color_key,
113 color_key,
114 alpha_threshold,
115 new_update_region,
116 free_update_region,
117 switch_buffer,
118 switch_data);
119 }
120 re->tb = evas_common_tilebuf_new(w, h);
121 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
122 eina_inarray_setup(&re->previous_rects, sizeof (Eina_Rectangle), 8);
123 return re;
124}
125
126/* engine api this module provides */
127static void *
128eng_info(Evas *e __UNUSED__)
129{
130 Evas_Engine_Info_Buffer *info;
131 info = calloc(1, sizeof(Evas_Engine_Info_Buffer));
132 if (!info) return NULL;
133 info->magic.magic = rand();
134 info->render_mode = EVAS_RENDER_MODE_BLOCKING;
135 return info;
136}
137
138static void
139eng_info_free(Evas *e __UNUSED__, void *info)
140{
141 Evas_Engine_Info_Buffer *in;
142 in = (Evas_Engine_Info_Buffer *)info;
143 free(in);
144}
145
146static int
147eng_setup(Evas *e, void *in)
148{
149 Render_Engine *re;
150 Evas_Engine_Info_Buffer *info;
151
152 info = (Evas_Engine_Info_Buffer *)in;
153 re = _output_setup(e->output.w,
154 e->output.h,
155 info->info.dest_buffer,
156 info->info.dest_buffer_row_bytes,
157 info->info.depth_type,
158 info->info.use_color_key,
159 info->info.alpha_threshold,
160 info->info.color_key_r,
161 info->info.color_key_g,
162 info->info.color_key_b,
163 info->info.func.new_update_region,
164 info->info.func.free_update_region,
165 info->info.func.switch_buffer,
166 info->info.switch_data);
167 if (e->engine.data.output)
168 eng_output_free(e->engine.data.output);
169 e->engine.data.output = re;
170 if (!e->engine.data.output) return 0;
171 if (!e->engine.data.context)
172 e->engine.data.context = e->engine.func->context_new(e->engine.data.output);
173 return 1;
174}
175
176static void
177eng_output_free(void *data)
178{
179 Render_Engine *re;
180
181 re = (Render_Engine *)data;
182 evas_buffer_outbuf_buf_free(re->ob);
183 evas_common_tilebuf_free(re->tb);
184 if (re->rects) evas_common_tilebuf_free_render_rects(re->rects);
185 free(re);
186
187 evas_common_font_shutdown();
188 evas_common_image_shutdown();
189}
190
191static void
192eng_output_resize(void *data, int w, int h)
193{
194 Render_Engine *re;
195
196 re = (Render_Engine *)data;
197 {
198 int depth;
199 void *dest;
200 int dest_row_bytes;
201 int alpha_level;
202 DATA32 color_key;
203 char use_color_key;
204 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
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;
208
209 depth = re->ob->depth;
210 dest = re->ob->dest;
211 dest_row_bytes = re->ob->dest_row_bytes;
212 alpha_level = re->ob->alpha_level;
213 color_key = re->ob->color_key;
214 use_color_key = re->ob->use_color_key;
215 new_update_region = re->ob->func.new_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;
219 evas_buffer_outbuf_buf_free(re->ob);
220 re->ob = evas_buffer_outbuf_buf_setup_fb(w,
221 h,
222 depth,
223 dest,
224 dest_row_bytes,
225 use_color_key,
226 color_key,
227 alpha_level,
228 new_update_region,
229 free_update_region,
230 switch_buffer,
231 switch_data);
232 }
233 evas_common_tilebuf_free(re->tb);
234 re->tb = evas_common_tilebuf_new(w, h);
235 if (re->tb)
236 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
237}
238
239static void
240eng_output_tile_size_set(void *data, int w, int h)
241{
242 Render_Engine *re;
243
244 re = (Render_Engine *)data;
245 evas_common_tilebuf_set_tile_size(re->tb, w, h);
246}
247
248static void
249eng_output_redraws_rect_add(void *data, int x, int y, int w, int h)
250{
251 Render_Engine *re;
252
253 re = (Render_Engine *)data;
254 evas_common_tilebuf_add_redraw(re->tb, x, y, w, h);
255}
256
257static void
258eng_output_redraws_rect_del(void *data, int x, int y, int w, int h)
259{
260 Render_Engine *re;
261
262 re = (Render_Engine *)data;
263 evas_common_tilebuf_del_redraw(re->tb, x, y, w, h);
264}
265
266static void
267eng_output_redraws_clear(void *data)
268{
269 Render_Engine *re;
270
271 re = (Render_Engine *)data;
272 evas_common_tilebuf_clear(re->tb);
273}
274
275static void *
276eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, int *cx, int *cy, int *cw, int *ch)
277{
278 Render_Engine *re;
279 RGBA_Image *surface;
280 Tilebuf_Rect *rect;
281 int ux, uy, uw, uh;
282
283 re = (Render_Engine *)data;
284 if (re->end)
285 {
286 re->end = 0;
287 return NULL;
288 }
289 if (!re->rects)
290 {
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
323 re->cur_rect = EINA_INLIST_GET(re->rects);
324 }
325 if (!re->cur_rect) return NULL;
326 rect = (Tilebuf_Rect *)re->cur_rect;
327 ux = rect->x; uy = rect->y; uw = rect->w; uh = rect->h;
328 re->cur_rect = re->cur_rect->next;
329 if (!re->cur_rect)
330 {
331 evas_common_tilebuf_free_render_rects(re->rects);
332 re->rects = NULL;
333 re->end = 1;
334 }
335
336 if ((ux + uw) > re->ob->w) uw = re->ob->w - ux;
337 if ((uy + uh) > re->ob->h) uh = re->ob->h - uy;
338 if ((uw <= 0) || (uh <= 0)) return NULL;
339 surface = evas_buffer_outbuf_buf_new_region_for_update(re->ob,
340 ux, uy, uw, uh,
341 cx, cy, cw, ch);
342 *x = ux; *y = uy; *w = uw; *h = uh;
343 return surface;
344}
345
346static void
347eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h)
348{
349 Render_Engine *re;
350
351 re = (Render_Engine *)data;
352#ifdef BUILD_PIPE_RENDER
353 evas_common_pipe_map_begin(surface);
354#endif
355 evas_buffer_outbuf_buf_push_updated_region(re->ob, surface, x, y, w, h);
356 evas_buffer_outbuf_buf_free_region_for_update(re->ob, surface);
357 evas_common_cpu_end_opt();
358}
359
360static void
361eng_output_flush(void *data)
362{
363 Render_Engine *re = (Render_Engine *)data;
364 evas_buffer_outbuf_buf_switch_buffer(re->ob);
365}
366
367static void
368eng_output_idle_flush(void *data __UNUSED__)
369{
370}
371
372static Eina_Bool
373eng_canvas_alpha_get(void *data, void *context __UNUSED__)
374{
375 Render_Engine *re;
376
377 re = (Render_Engine *)data;
378 if (re->ob->priv.back_buf)
379 return re->ob->priv.back_buf->cache_entry.flags.alpha;
380 return EINA_TRUE;
381}
382
383/* module advertising code */
384static int
385module_open(Evas_Module *em)
386{
387 if (!em) return 0;
388 /* get whatever engine module we inherit from */
389 if (!_evas_module_engine_inherit(&pfunc, "software_generic")) return 0;
390
391 _evas_engine_buffer_log_dom = eina_log_domain_register
392 ("evas-buffer", EINA_COLOR_BLUE);
393 if (_evas_engine_buffer_log_dom < 0)
394 {
395 EINA_LOG_ERR("Can not create a module log domain.");
396 return 0;
397 }
398
399 /* store it for later use */
400 func = pfunc;
401 /* now to override methods */
402#define ORD(f) EVAS_API_OVERRIDE(f, &func, eng_)
403 ORD(info);
404 ORD(info_free);
405 ORD(setup);
406 ORD(canvas_alpha_get);
407 ORD(output_free);
408 ORD(output_resize);
409 ORD(output_tile_size_set);
410 ORD(output_redraws_rect_add);
411 ORD(output_redraws_rect_del);
412 ORD(output_redraws_clear);
413 ORD(output_redraws_next_update_get);
414 ORD(output_redraws_next_update_push);
415 ORD(output_flush);
416 ORD(output_idle_flush);
417 /* now advertise out own api */
418 em->functions = (void *)(&func);
419 return 1;
420}
421
422static void
423module_close(Evas_Module *em __UNUSED__)
424{
425 eina_log_domain_unregister(_evas_engine_buffer_log_dom);
426}
427
428static Evas_Module_Api evas_modapi =
429{
430 EVAS_MODULE_API_VERSION,
431 "buffer",
432 "none",
433 {
434 module_open,
435 module_close
436 }
437};
438
439EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, buffer);
440
441#ifndef EVAS_STATIC_BUILD_BUFFER
442EVAS_EINA_MODULE_DEFINE(engine, buffer);
443#endif
444
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.h b/libraries/evas/src/modules/engines/buffer/evas_engine.h
deleted file mode 100644
index af82477..0000000
--- a/libraries/evas/src/modules/engines/buffer/evas_engine.h
+++ /dev/null
@@ -1,91 +0,0 @@
1#ifndef EVAS_ENGINE_H
2#define EVAS_ENGINE_H
3#include "evas_common.h"
4/* this thing is for eina_log */
5extern int _evas_engine_buffer_log_dom ;
6
7#ifdef ERR
8# undef ERR
9#endif
10#define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_buffer_log_dom, __VA_ARGS__)
11
12#ifdef DBG
13# undef DBG
14#endif
15#define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_buffer_log_dom, __VA_ARGS__)
16
17#ifdef INF
18# undef INF
19#endif
20#define INF(...) EINA_LOG_DOM_INFO(_evas_engine_buffer_log_dom, __VA_ARGS__)
21
22#ifdef WRN
23# undef WRN
24#endif
25#define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_buffer_log_dom, __VA_ARGS__)
26
27#ifdef CRIT
28# undef CRIT
29#endif
30#define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_buffer_log_dom, __VA_ARGS__)
31
32typedef struct _Outbuf Outbuf;
33
34typedef enum _Outbuf_Depth Outbuf_Depth;
35
36enum _Outbuf_Depth
37{
38 OUTBUF_DEPTH_NONE,
39 OUTBUF_DEPTH_ARGB_32BPP_8888_8888,
40 OUTBUF_DEPTH_BGRA_32BPP_8888_8888,
41 OUTBUF_DEPTH_RGB_32BPP_888_8888,
42 OUTBUF_DEPTH_BGR_32BPP_888_8888,
43 OUTBUF_DEPTH_RGB_24BPP_888_888,
44 OUTBUF_DEPTH_BGR_24BPP_888_888,
45 OUTBUF_DEPTH_LAST
46};
47
48struct _Outbuf
49{
50 int w, h;
51 Outbuf_Depth depth;
52
53 void *dest;
54 unsigned int dest_row_bytes;
55 void *switch_data;
56
57 int alpha_level;
58 DATA32 color_key;
59 char use_color_key : 1;
60 char first_frame : 1;
61
62 struct {
63 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
64 void (*free_update_region) (int x, int y, int w, int h, void *data);
65 void * (*switch_buffer) (void *data, void *dest_buffer);
66 } func;
67
68 struct {
69 RGBA_Image *back_buf;
70 } priv;
71};
72
73/****/
74
75void evas_buffer_outbuf_buf_init (void);
76void evas_buffer_outbuf_buf_free (Outbuf *buf);
77
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,
79 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes),
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);
83
84
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);
86void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update);
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);
89
90#endif
91
diff --git a/libraries/evas/src/modules/engines/buffer/evas_outbuf.c b/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
deleted file mode 100644
index 0fa1842..0000000
--- a/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
+++ /dev/null
@@ -1,357 +0,0 @@
1#include "evas_common.h"
2#include "evas_engine.h"
3
4void
5evas_buffer_outbuf_buf_init(void)
6{
7}
8
9void
10evas_buffer_outbuf_buf_free(Outbuf *buf)
11{
12 if (buf->priv.back_buf)
13 {
14 evas_cache_image_drop(&buf->priv.back_buf->cache_entry);
15 }
16 free(buf);
17}
18
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,
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),
23 void * (*switch_buffer) (void *data, void *dest_buffer),
24 void *switch_data
25 )
26{
27 Outbuf *buf;
28
29 buf = calloc(1, sizeof(Outbuf));
30 if (!buf) return NULL;
31
32 buf->w = w;
33 buf->h = h;
34 buf->depth = depth;
35
36 buf->dest = dest;
37 buf->dest_row_bytes = dest_row_bytes;
38
39 buf->alpha_level = alpha_level;
40 buf->color_key = color_key;
41 buf->use_color_key = use_color_key;
42 buf->first_frame = 1;
43
44 buf->func.new_update_region = new_update_region;
45 buf->func.free_update_region = free_update_region;
46 buf->func.switch_buffer = switch_buffer;
47 buf->switch_data = switch_data;
48
49 if ((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888) &&
50 (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32))))
51 {
52 memset(buf->dest, 0, h * buf->dest_row_bytes);
53 buf->priv.back_buf = (RGBA_Image *) evas_cache_image_data(evas_common_image_cache_get(),
54 w, h,
55 buf->dest,
56 1, EVAS_COLORSPACE_ARGB8888);
57 }
58 else if ((buf->depth == OUTBUF_DEPTH_RGB_32BPP_888_8888) &&
59 (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32))))
60 {
61 buf->priv.back_buf = (RGBA_Image *) evas_cache_image_data(evas_common_image_cache_get(),
62 w, h,
63 buf->dest,
64 0, EVAS_COLORSPACE_ARGB8888);
65 }
66
67 return buf;
68}
69
70RGBA_Image *
71evas_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)
72{
73 RGBA_Image *im;
74
75 if (buf->priv.back_buf)
76 {
77 *cx = x; *cy = y; *cw = w; *ch = h;
78 return buf->priv.back_buf;
79 }
80 else
81 {
82 *cx = 0; *cy = 0; *cw = w; *ch = h;
83 im = (RGBA_Image *) evas_cache_image_empty(evas_common_image_cache_get());
84 if (im)
85 {
86 if (((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888)) ||
87 ((buf->depth == OUTBUF_DEPTH_BGRA_32BPP_8888_8888)))
88 {
89 im->cache_entry.flags.alpha = 1;
90 im = (RGBA_Image *) evas_cache_image_size_set(&im->cache_entry, w, h);
91 }
92 }
93 }
94 return im;
95}
96
97void
98evas_buffer_outbuf_buf_free_region_for_update(Outbuf *buf, RGBA_Image *update)
99{
100 if (update != buf->priv.back_buf) evas_cache_image_drop(&update->cache_entry);
101}
102
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
122evas_buffer_outbuf_buf_push_updated_region(Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h)
123{
124 /* copy update image to out buf & convert */
125 switch (buf->depth)
126 {
127 case OUTBUF_DEPTH_RGB_24BPP_888_888:
128 /* copy & pack into 24bpp - if colorkey is enabled... etc. */
129 {
130 DATA8 thresh;
131 int xx, yy;
132 int row_bytes;
133 DATA8 *dest;
134 DATA32 colorkey;
135 DATA32 *src;
136 DATA8 *dst;
137
138 colorkey = buf->color_key;
139 thresh = buf->alpha_level;
140 row_bytes = buf->dest_row_bytes;
141 dest = (DATA8 *)(buf->dest) + (y * row_bytes) + (x * 3);
142 if (buf->func.new_update_region)
143 {
144 dest = buf->func.new_update_region(x, y, w, h, &row_bytes);
145 }
146 if (!dest) break;
147 if (buf->use_color_key)
148 {
149 for (yy = 0; yy < h; yy++)
150 {
151 dst = dest + (yy * row_bytes);
152 src = update->image.data + (yy * update->cache_entry.w);
153 for (xx = 0; xx < w; xx++)
154 {
155 if (A_VAL(src) > thresh)
156 {
157 *dst++ = R_VAL(src);
158 *dst++ = G_VAL(src);
159 *dst++ = B_VAL(src);
160 }
161 else
162 {
163 *dst++ = R_VAL(&colorkey);
164 *dst++ = G_VAL(&colorkey);
165 *dst++ = B_VAL(&colorkey);
166 }
167 src++;
168 }
169 }
170 }
171 else
172 {
173 for (yy = 0; yy < h; yy++)
174 {
175 dst = dest + (yy * row_bytes);
176 src = update->image.data + (yy * update->cache_entry.w);
177 for (xx = 0; xx < w; xx++)
178 {
179 *dst++ = R_VAL(src);
180 *dst++ = G_VAL(src);
181 *dst++ = B_VAL(src);
182 src++;
183 }
184 }
185 }
186 if (buf->func.free_update_region)
187 {
188 buf->func.free_update_region(x, y, w, h, dest);
189 }
190 }
191 break;
192 case OUTBUF_DEPTH_BGR_24BPP_888_888:
193 /* copy & pack into 24bpp - if colorkey is enabled... etc. */
194 {
195 DATA8 thresh;
196 int xx, yy;
197 int row_bytes;
198 DATA8 *dest;
199 DATA32 colorkey;
200 DATA32 *src;
201 DATA8 *dst;
202
203 colorkey = buf->color_key;
204 thresh = buf->alpha_level;
205 row_bytes = buf->dest_row_bytes;
206 dest = (DATA8 *)(buf->dest) + (y * row_bytes) + (x * 3);
207 if (buf->func.new_update_region)
208 {
209 dest = buf->func.new_update_region(x, y, w, h, &row_bytes);
210 }
211 if (!dest) break;
212 if (buf->use_color_key)
213 {
214 for (yy = 0; yy < h; yy++)
215 {
216 dst = dest + (yy * row_bytes);
217 src = update->image.data + (yy * update->cache_entry.w);
218 for (xx = 0; xx < w; xx++)
219 {
220 if (A_VAL(src) > thresh)
221 {
222 *dst++ = B_VAL(src);
223 *dst++ = G_VAL(src);
224 *dst++ = R_VAL(src);
225 }
226 else
227 {
228 *dst++ = B_VAL(&colorkey);
229 *dst++ = G_VAL(&colorkey);
230 *dst++ = R_VAL(&colorkey);
231 }
232 src++;
233 }
234 }
235 }
236 else
237 {
238 for (yy = 0; yy < h; yy++)
239 {
240 dst = dest + (yy * row_bytes);
241 src = update->image.data + (yy * update->cache_entry.w);
242 for (xx = 0; xx < w; xx++)
243 {
244 *dst++ = B_VAL(src);
245 *dst++ = G_VAL(src);
246 *dst++ = R_VAL(src);
247 src++;
248 }
249 }
250 }
251 if (buf->func.free_update_region)
252 {
253 buf->func.free_update_region(x, y, w, h, dest);
254 }
255 }
256 break;
257 case OUTBUF_DEPTH_RGB_32BPP_888_8888:
258 case OUTBUF_DEPTH_ARGB_32BPP_8888_8888:
259 {
260 DATA32 *dest, *src, *dst;
261 int yy, row_bytes;
262
263 row_bytes = buf->dest_row_bytes;
264 dest = (DATA32 *)((DATA8 *)(buf->dest) + (y * row_bytes) + (x * 4));
265 if (buf->func.new_update_region)
266 {
267 dest = buf->func.new_update_region(x, y, w, h, &row_bytes);
268 }
269 /* no need src == dest */
270 if (!buf->priv.back_buf)
271 {
272 Gfx_Func_Copy func;
273
274 func = evas_common_draw_func_copy_get(w, 0);
275 if (func)
276 {
277 for (yy = 0; yy < h; yy++)
278 {
279 src = update->image.data + (yy * update->cache_entry.w);
280 dst = (DATA32 *)((DATA8 *)(buf->dest) + ((y + yy) * row_bytes));
281 func(src, dst, w);
282 }
283
284 }
285 }
286 if (buf->func.free_update_region)
287 {
288 buf->func.free_update_region(x, y, w, h, dest);
289 }
290 }
291 break;
292 case OUTBUF_DEPTH_BGR_32BPP_888_8888:
293 {
294 DATA32 *src, *dst;
295 DATA8 *dest;
296 int xx, yy, row_bytes;
297
298 row_bytes = buf->dest_row_bytes;
299 dest = (DATA8 *)(buf->dest) + (y * row_bytes) + (x * 4);
300 if (buf->func.new_update_region)
301 {
302 dest = buf->func.new_update_region(x, y, w, h, &row_bytes);
303 }
304 for (yy = 0; yy < h; yy++)
305 {
306 dst = (DATA32 *)(dest + (yy * row_bytes));
307 src = update->image.data + (yy * update->cache_entry.w);
308 for (xx = 0; xx < w; xx++)
309 {
310 A_VAL(dst) = B_VAL(src);
311 R_VAL(dst) = G_VAL(src);
312 G_VAL(dst) = R_VAL(src);
313 dst++;
314 src++;
315 }
316 }
317 if (buf->func.free_update_region)
318 {
319 buf->func.free_update_region(x, y, w, h, dest);
320 }
321 }
322 break;
323 case OUTBUF_DEPTH_BGRA_32BPP_8888_8888:
324 {
325 DATA32 *src, *dst;
326 DATA8 *dest;
327 int xx, yy, row_bytes;
328
329 row_bytes = buf->dest_row_bytes;
330 dest = (DATA8 *)(buf->dest) + (y * row_bytes) + (x * 4);
331 if (buf->func.new_update_region)
332 {
333 dest = buf->func.new_update_region(x, y, w, h, &row_bytes);
334 }
335 for (yy = 0; yy < h; yy++)
336 {
337 dst = (DATA32 *)(dest + (yy * row_bytes));
338 src = update->image.data + (yy * update->cache_entry.w);
339 for (xx = 0; xx < w; xx++)
340 {
341 A_VAL(dst) = B_VAL(src);
342 R_VAL(dst) = G_VAL(src);
343 G_VAL(dst) = R_VAL(src);
344 dst++;
345 src++;
346 }
347 }
348 if (buf->func.free_update_region)
349 {
350 buf->func.free_update_region(x, y, w, h, dest);
351 }
352 }
353 break;
354 default:
355 break;
356 }
357}