diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/engines/buffer | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-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')
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 | |||
10 | typedef struct _Evas_Engine_Info_Buffer Evas_Engine_Info_Buffer; | ||
11 | |||
12 | struct _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 | |||
2 | MAINTAINERCLEANFILES = Makefile.in | ||
3 | |||
4 | AM_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 | |||
13 | if BUILD_ENGINE_BUFFER | ||
14 | |||
15 | BUFFER_SOURCES = \ | ||
16 | evas_engine.c \ | ||
17 | evas_outbuf.c | ||
18 | |||
19 | |||
20 | includes_HEADERS = Evas_Engine_Buffer.h | ||
21 | includesdir = $(includedir)/evas-@VMAJ@ | ||
22 | |||
23 | if !EVAS_STATIC_BUILD_BUFFER | ||
24 | |||
25 | pkgdir = $(libdir)/evas/modules/engines/buffer/$(MODULE_ARCH) | ||
26 | pkg_LTLIBRARIES = module.la | ||
27 | |||
28 | module_la_SOURCES = $(BUFFER_SOURCES) | ||
29 | module_la_LIBADD = $(top_builddir)/src/lib/libevas.la @EINA_LIBS@ | ||
30 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
31 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
32 | |||
33 | else | ||
34 | |||
35 | noinst_LTLIBRARIES = libevas_engine_buffer.la | ||
36 | |||
37 | libevas_engine_buffer_la_SOURCES = $(BUFFER_SOURCES) | ||
38 | |||
39 | endif | ||
40 | endif | ||
41 | |||
42 | EXTRA_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 | |||
19 | VPATH = @srcdir@ | ||
20 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
21 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
22 | pkglibdir = $(libdir)/@PACKAGE@ | ||
23 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
24 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
25 | install_sh_DATA = $(install_sh) -c -m 644 | ||
26 | install_sh_PROGRAM = $(install_sh) -c | ||
27 | install_sh_SCRIPT = $(install_sh) -c | ||
28 | INSTALL_HEADER = $(INSTALL_DATA) | ||
29 | transform = $(program_transform_name) | ||
30 | NORMAL_INSTALL = : | ||
31 | PRE_INSTALL = : | ||
32 | POST_INSTALL = : | ||
33 | NORMAL_UNINSTALL = : | ||
34 | PRE_UNINSTALL = : | ||
35 | POST_UNINSTALL = : | ||
36 | build_triplet = @build@ | ||
37 | host_triplet = @host@ | ||
38 | subdir = src/modules/engines/buffer | ||
39 | DIST_COMMON = $(am__includes_HEADERS_DIST) $(srcdir)/Makefile.am \ | ||
40 | $(srcdir)/Makefile.in | ||
41 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
42 | am__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 | ||
55 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
56 | $(ACLOCAL_M4) | ||
57 | mkinstalldirs = $(install_sh) -d | ||
58 | CONFIG_HEADER = $(top_builddir)/config.h | ||
59 | CONFIG_CLEAN_FILES = | ||
60 | CONFIG_CLEAN_VPATH_FILES = | ||
61 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
62 | am__vpath_adj = case $$p in \ | ||
63 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
64 | *) f=$$p;; \ | ||
65 | esac; | ||
66 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
67 | am__install_max = 40 | ||
68 | am__nobase_strip_setup = \ | ||
69 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
70 | am__nobase_strip = \ | ||
71 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
72 | am__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] }' | ||
79 | am__base_list = \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
81 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
82 | am__installdirs = "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)" | ||
83 | LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES) | ||
84 | libevas_engine_buffer_la_LIBADD = | ||
85 | am__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) | ||
90 | libevas_engine_buffer_la_OBJECTS = \ | ||
91 | $(am_libevas_engine_buffer_la_OBJECTS) | ||
92 | AM_V_lt = $(am__v_lt_$(V)) | ||
93 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
94 | am__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 | ||
97 | am__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) | ||
101 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
102 | module_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) | ||
107 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
108 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
109 | am__depfiles_maybe = depfiles | ||
110 | am__mv = mv -f | ||
111 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
112 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
113 | LTCOMPILE = $(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) | ||
117 | AM_V_CC = $(am__v_CC_$(V)) | ||
118 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
119 | am__v_CC_0 = @echo " CC " $@; | ||
120 | AM_V_at = $(am__v_at_$(V)) | ||
121 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
122 | am__v_at_0 = @ | ||
123 | CCLD = $(CC) | ||
124 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
125 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
126 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
127 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
128 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
129 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
130 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
131 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
132 | am__v_GEN_0 = @echo " GEN " $@; | ||
133 | SOURCES = $(libevas_engine_buffer_la_SOURCES) $(module_la_SOURCES) | ||
134 | DIST_SOURCES = $(am__libevas_engine_buffer_la_SOURCES_DIST) \ | ||
135 | $(am__module_la_SOURCES_DIST) | ||
136 | am__includes_HEADERS_DIST = Evas_Engine_Buffer.h | ||
137 | HEADERS = $(includes_HEADERS) | ||
138 | ETAGS = etags | ||
139 | CTAGS = ctags | ||
140 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
141 | ACLOCAL = @ACLOCAL@ | ||
142 | ALLOCA = @ALLOCA@ | ||
143 | AMTAR = @AMTAR@ | ||
144 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
145 | AR = @AR@ | ||
146 | AS = @AS@ | ||
147 | AUTOCONF = @AUTOCONF@ | ||
148 | AUTOHEADER = @AUTOHEADER@ | ||
149 | AUTOMAKE = @AUTOMAKE@ | ||
150 | AWK = @AWK@ | ||
151 | CC = @CC@ | ||
152 | CCDEPMODE = @CCDEPMODE@ | ||
153 | CFLAGS = @CFLAGS@ | ||
154 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
155 | CHECK_LIBS = @CHECK_LIBS@ | ||
156 | CPP = @CPP@ | ||
157 | CPPFLAGS = @CPPFLAGS@ | ||
158 | CXX = @CXX@ | ||
159 | CXXCPP = @CXXCPP@ | ||
160 | CXXDEPMODE = @CXXDEPMODE@ | ||
161 | CXXFLAGS = @CXXFLAGS@ | ||
162 | CYGPATH_W = @CYGPATH_W@ | ||
163 | DEFS = @DEFS@ | ||
164 | DEPDIR = @DEPDIR@ | ||
165 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
166 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
167 | DLLTOOL = @DLLTOOL@ | ||
168 | DSYMUTIL = @DSYMUTIL@ | ||
169 | DUMPBIN = @DUMPBIN@ | ||
170 | ECHO_C = @ECHO_C@ | ||
171 | ECHO_N = @ECHO_N@ | ||
172 | ECHO_T = @ECHO_T@ | ||
173 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
174 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
175 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
176 | EDB_LIBS = @EDB_LIBS@ | ||
177 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
178 | EDJE_LIBS = @EDJE_LIBS@ | ||
179 | EET_CFLAGS = @EET_CFLAGS@ | ||
180 | EET_LIBS = @EET_LIBS@ | ||
181 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
182 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
183 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
184 | EGREP = @EGREP@ | ||
185 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
186 | EINA_LIBS = @EINA_LIBS@ | ||
187 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
188 | EVAS_LIBS = @EVAS_LIBS@ | ||
189 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
190 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
191 | EVIL_LIBS = @EVIL_LIBS@ | ||
192 | EXEEXT = @EXEEXT@ | ||
193 | EXOTIC_CFLAGS = @EXOTIC_CFLAGS@ | ||
194 | EXOTIC_LIBS = @EXOTIC_LIBS@ | ||
195 | FGREP = @FGREP@ | ||
196 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
197 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
198 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
199 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
200 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
201 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
202 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
203 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
204 | GREP = @GREP@ | ||
205 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
206 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
207 | INSTALL = @INSTALL@ | ||
208 | INSTALL_DATA = @INSTALL_DATA@ | ||
209 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
210 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
211 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
212 | LD = @LD@ | ||
213 | LDFLAGS = @LDFLAGS@ | ||
214 | LIBOBJS = @LIBOBJS@ | ||
215 | LIBS = @LIBS@ | ||
216 | LIBTOOL = @LIBTOOL@ | ||
217 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
218 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
219 | LIPO = @LIPO@ | ||
220 | LN_S = @LN_S@ | ||
221 | LTLIBOBJS = @LTLIBOBJS@ | ||
222 | MAKEINFO = @MAKEINFO@ | ||
223 | MKDIR_P = @MKDIR_P@ | ||
224 | MODULE_ARCH = @MODULE_ARCH@ | ||
225 | NM = @NM@ | ||
226 | NMEDIT = @NMEDIT@ | ||
227 | OBJC = @OBJC@ | ||
228 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
229 | OBJCFLAGS = @OBJCFLAGS@ | ||
230 | OBJDUMP = @OBJDUMP@ | ||
231 | OBJEXT = @OBJEXT@ | ||
232 | OTOOL = @OTOOL@ | ||
233 | OTOOL64 = @OTOOL64@ | ||
234 | PACKAGE = @PACKAGE@ | ||
235 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
236 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
237 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
238 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
239 | PACKAGE_URL = @PACKAGE_URL@ | ||
240 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
241 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
242 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
243 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
244 | PKG_CONFIG = @PKG_CONFIG@ | ||
245 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
246 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
247 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
248 | PNG_LIBS = @PNG_LIBS@ | ||
249 | RANLIB = @RANLIB@ | ||
250 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
251 | SDL_LIBS = @SDL_LIBS@ | ||
252 | SED = @SED@ | ||
253 | SET_MAKE = @SET_MAKE@ | ||
254 | SHELL = @SHELL@ | ||
255 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
256 | STRIP = @STRIP@ | ||
257 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
258 | SVG_LIBS = @SVG_LIBS@ | ||
259 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
260 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
261 | VERSION = @VERSION@ | ||
262 | VMAJ = @VMAJ@ | ||
263 | WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ | ||
264 | WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ | ||
265 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
266 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
267 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
268 | XCB_LIBS = @XCB_LIBS@ | ||
269 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
270 | XEXT_LIBS = @XEXT_LIBS@ | ||
271 | XMKMF = @XMKMF@ | ||
272 | X_CFLAGS = @X_CFLAGS@ | ||
273 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
274 | X_LIBS = @X_LIBS@ | ||
275 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
276 | abs_builddir = @abs_builddir@ | ||
277 | abs_srcdir = @abs_srcdir@ | ||
278 | abs_top_builddir = @abs_top_builddir@ | ||
279 | abs_top_srcdir = @abs_top_srcdir@ | ||
280 | ac_ct_CC = @ac_ct_CC@ | ||
281 | ac_ct_CXX = @ac_ct_CXX@ | ||
282 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
283 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
284 | altivec_cflags = @altivec_cflags@ | ||
285 | am__include = @am__include@ | ||
286 | am__leading_dot = @am__leading_dot@ | ||
287 | am__quote = @am__quote@ | ||
288 | am__tar = @am__tar@ | ||
289 | am__untar = @am__untar@ | ||
290 | bindir = @bindir@ | ||
291 | build = @build@ | ||
292 | build_alias = @build_alias@ | ||
293 | build_cpu = @build_cpu@ | ||
294 | build_os = @build_os@ | ||
295 | build_vendor = @build_vendor@ | ||
296 | builddir = @builddir@ | ||
297 | datadir = @datadir@ | ||
298 | datarootdir = @datarootdir@ | ||
299 | dlopen_libs = @dlopen_libs@ | ||
300 | docdir = @docdir@ | ||
301 | dvidir = @dvidir@ | ||
302 | edje_cc = @edje_cc@ | ||
303 | efl_doxygen = @efl_doxygen@ | ||
304 | efl_have_doxygen = @efl_have_doxygen@ | ||
305 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
306 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
307 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
308 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
309 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
310 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
311 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
312 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
313 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
314 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
315 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
316 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
317 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
318 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
319 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
320 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
321 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
322 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
323 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
324 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
325 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
326 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
327 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
328 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
329 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
330 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
331 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
332 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
333 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
334 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
335 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
336 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
337 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
338 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
339 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
340 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
341 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@ | ||
342 | evas_engine_wayland_egl_cflags = @evas_engine_wayland_egl_cflags@ | ||
343 | evas_engine_wayland_egl_libs = @evas_engine_wayland_egl_libs@ | ||
344 | evas_engine_wayland_shm_cflags = @evas_engine_wayland_shm_cflags@ | ||
345 | evas_engine_wayland_shm_libs = @evas_engine_wayland_shm_libs@ | ||
346 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
347 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
348 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
349 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
350 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
351 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
352 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
353 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
354 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
355 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
356 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
357 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
358 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
359 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
360 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
361 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
362 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
363 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
364 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
365 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
366 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
367 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
368 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
369 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
370 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
371 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
372 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
373 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
374 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
375 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
376 | exec_prefix = @exec_prefix@ | ||
377 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
378 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
379 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
380 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
381 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
382 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
383 | have_lcov = @have_lcov@ | ||
384 | host = @host@ | ||
385 | host_alias = @host_alias@ | ||
386 | host_cpu = @host_cpu@ | ||
387 | host_os = @host_os@ | ||
388 | host_vendor = @host_vendor@ | ||
389 | htmldir = @htmldir@ | ||
390 | includedir = @includedir@ | ||
391 | infodir = @infodir@ | ||
392 | install_sh = @install_sh@ | ||
393 | libdir = @libdir@ | ||
394 | libexecdir = @libexecdir@ | ||
395 | localedir = @localedir@ | ||
396 | localstatedir = @localstatedir@ | ||
397 | lt_ECHO = @lt_ECHO@ | ||
398 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
399 | mandir = @mandir@ | ||
400 | mkdir_p = @mkdir_p@ | ||
401 | oldincludedir = @oldincludedir@ | ||
402 | pdfdir = @pdfdir@ | ||
403 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
404 | prefix = @prefix@ | ||
405 | program_transform_name = @program_transform_name@ | ||
406 | psdir = @psdir@ | ||
407 | pthread_cflags = @pthread_cflags@ | ||
408 | pthread_libs = @pthread_libs@ | ||
409 | release_info = @release_info@ | ||
410 | requirement_evas = @requirement_evas@ | ||
411 | sbindir = @sbindir@ | ||
412 | sharedstatedir = @sharedstatedir@ | ||
413 | srcdir = @srcdir@ | ||
414 | sysconfdir = @sysconfdir@ | ||
415 | target_alias = @target_alias@ | ||
416 | top_build_prefix = @top_build_prefix@ | ||
417 | top_builddir = @top_builddir@ | ||
418 | top_srcdir = @top_srcdir@ | ||
419 | version_info = @version_info@ | ||
420 | MAINTAINERCLEANFILES = Makefile.in | ||
421 | AM_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) | ||
444 | EXTRA_DIST = evas_engine.h | ||
445 | all: 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 | ||
462 | Makefile: $(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 | |||
480 | clean-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 | ||
488 | install-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 | |||
502 | uninstall-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 | |||
511 | clean-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 | ||
519 | libevas_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) | ||
521 | module.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 | |||
524 | mostlyclean-compile: | ||
525 | -rm -f *.$(OBJEXT) | ||
526 | |||
527 | distclean-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 | |||
559 | module_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 | |||
567 | module_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 | |||
575 | mostlyclean-libtool: | ||
576 | -rm -f *.lo | ||
577 | |||
578 | clean-libtool: | ||
579 | -rm -rf .libs _libs | ||
580 | install-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 | |||
593 | uninstall-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 | |||
601 | ID: $(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 | ||
609 | tags: TAGS | ||
610 | |||
611 | TAGS: $(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 | ||
632 | ctags: CTAGS | ||
633 | CTAGS: $(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 | |||
645 | GTAGS: | ||
646 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
647 | && $(am__cd) $(top_srcdir) \ | ||
648 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
649 | |||
650 | distclean-tags: | ||
651 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
652 | |||
653 | distdir: $(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 | ||
683 | check-am: all-am | ||
684 | check: check-am | ||
685 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
686 | installdirs: | ||
687 | for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
688 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
689 | done | ||
690 | install: install-am | ||
691 | install-exec: install-exec-am | ||
692 | install-data: install-data-am | ||
693 | uninstall: uninstall-am | ||
694 | |||
695 | install-am: all-am | ||
696 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
697 | |||
698 | installcheck: installcheck-am | ||
699 | install-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 | ||
704 | mostlyclean-generic: | ||
705 | |||
706 | clean-generic: | ||
707 | |||
708 | distclean-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 | |||
712 | maintainer-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) | ||
716 | clean: clean-am | ||
717 | |||
718 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
719 | clean-pkgLTLIBRARIES mostlyclean-am | ||
720 | |||
721 | distclean: distclean-am | ||
722 | -rm -rf ./$(DEPDIR) | ||
723 | -rm -f Makefile | ||
724 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
725 | distclean-tags | ||
726 | |||
727 | dvi: dvi-am | ||
728 | |||
729 | dvi-am: | ||
730 | |||
731 | html: html-am | ||
732 | |||
733 | html-am: | ||
734 | |||
735 | info: info-am | ||
736 | |||
737 | info-am: | ||
738 | |||
739 | install-data-am: install-includesHEADERS install-pkgLTLIBRARIES | ||
740 | |||
741 | install-dvi: install-dvi-am | ||
742 | |||
743 | install-dvi-am: | ||
744 | |||
745 | install-exec-am: | ||
746 | |||
747 | install-html: install-html-am | ||
748 | |||
749 | install-html-am: | ||
750 | |||
751 | install-info: install-info-am | ||
752 | |||
753 | install-info-am: | ||
754 | |||
755 | install-man: | ||
756 | |||
757 | install-pdf: install-pdf-am | ||
758 | |||
759 | install-pdf-am: | ||
760 | |||
761 | install-ps: install-ps-am | ||
762 | |||
763 | install-ps-am: | ||
764 | |||
765 | installcheck-am: | ||
766 | |||
767 | maintainer-clean: maintainer-clean-am | ||
768 | -rm -rf ./$(DEPDIR) | ||
769 | -rm -f Makefile | ||
770 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
771 | |||
772 | mostlyclean: mostlyclean-am | ||
773 | |||
774 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
775 | mostlyclean-libtool | ||
776 | |||
777 | pdf: pdf-am | ||
778 | |||
779 | pdf-am: | ||
780 | |||
781 | ps: ps-am | ||
782 | |||
783 | ps-am: | ||
784 | |||
785 | uninstall-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 | |||
12 | int _evas_engine_buffer_log_dom = -1; | ||
13 | |||
14 | /* function tables - filled in later (func and parent func) */ | ||
15 | |||
16 | static Evas_Func func, pfunc; | ||
17 | |||
18 | |||
19 | /* engine struct data */ | ||
20 | typedef struct _Render_Engine Render_Engine; | ||
21 | |||
22 | struct _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 */ | ||
33 | static 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 | |||
35 | static void *eng_info(Evas *e __UNUSED__); | ||
36 | static void eng_info_free(Evas *e __UNUSED__, void *info); | ||
37 | static int eng_setup(Evas *e, void *info); | ||
38 | static void eng_output_free(void *data); | ||
39 | static void eng_output_resize(void *data, int w, int h); | ||
40 | static void eng_output_tile_size_set(void *data, int w, int h); | ||
41 | static void eng_output_redraws_rect_add(void *data, int x, int y, int w, int h); | ||
42 | static void eng_output_redraws_rect_del(void *data, int x, int y, int w, int h); | ||
43 | static void eng_output_redraws_clear(void *data); | ||
44 | static 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); | ||
45 | static void eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h); | ||
46 | static void eng_output_flush(void *data); | ||
47 | static void eng_output_idle_flush(void *data); | ||
48 | |||
49 | /* internal engine routines */ | ||
50 | static 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 */ | ||
127 | static void * | ||
128 | eng_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 | |||
138 | static void | ||
139 | eng_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 | |||
146 | static int | ||
147 | eng_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 | |||
176 | static void | ||
177 | eng_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 | |||
191 | static void | ||
192 | eng_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 | |||
239 | static void | ||
240 | eng_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 | |||
248 | static void | ||
249 | eng_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 | |||
257 | static void | ||
258 | eng_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 | |||
266 | static void | ||
267 | eng_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 | |||
275 | static void * | ||
276 | eng_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 | |||
346 | static void | ||
347 | eng_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 | |||
360 | static void | ||
361 | eng_output_flush(void *data) | ||
362 | { | ||
363 | Render_Engine *re = (Render_Engine *)data; | ||
364 | evas_buffer_outbuf_buf_switch_buffer(re->ob); | ||
365 | } | ||
366 | |||
367 | static void | ||
368 | eng_output_idle_flush(void *data __UNUSED__) | ||
369 | { | ||
370 | } | ||
371 | |||
372 | static Eina_Bool | ||
373 | eng_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 */ | ||
384 | static int | ||
385 | module_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 | |||
422 | static void | ||
423 | module_close(Evas_Module *em __UNUSED__) | ||
424 | { | ||
425 | eina_log_domain_unregister(_evas_engine_buffer_log_dom); | ||
426 | } | ||
427 | |||
428 | static 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 | |||
439 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, buffer); | ||
440 | |||
441 | #ifndef EVAS_STATIC_BUILD_BUFFER | ||
442 | EVAS_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 */ | ||
5 | extern 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 | |||
32 | typedef struct _Outbuf Outbuf; | ||
33 | |||
34 | typedef enum _Outbuf_Depth Outbuf_Depth; | ||
35 | |||
36 | enum _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 | |||
48 | struct _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 | |||
75 | void evas_buffer_outbuf_buf_init (void); | ||
76 | void evas_buffer_outbuf_buf_free (Outbuf *buf); | ||
77 | |||
78 | Outbuf *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 | |||
85 | RGBA_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); | ||
86 | void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update); | ||
87 | void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h); | ||
88 | void 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 | |||
4 | void | ||
5 | evas_buffer_outbuf_buf_init(void) | ||
6 | { | ||
7 | } | ||
8 | |||
9 | void | ||
10 | evas_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 | |||
19 | Outbuf * | ||
20 | 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, | ||
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 | |||
70 | RGBA_Image * | ||
71 | 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) | ||
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 | |||
97 | void | ||
98 | evas_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 | |||
103 | void | ||
104 | evas_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 | |||
121 | void | ||
122 | evas_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 | } | ||