diff options
Diffstat (limited to '')
30 files changed, 9946 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/software_16/Makefile.am b/libraries/evas/src/modules/engines/software_16/Makefile.am new file mode 100644 index 0000000..070d610 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16/Makefile.am | |||
@@ -0,0 +1,39 @@ | |||
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 | @FREETYPE_CFLAGS@ \ | ||
10 | @PIXMAN_CFLAGS@ \ | ||
11 | @EINA_CFLAGS@ | ||
12 | |||
13 | AM_CFLAGS = @WIN32_CFLAGS@ | ||
14 | |||
15 | if BUILD_ENGINE_SOFTWARE_16 | ||
16 | |||
17 | SOFTWARE_16_SOURCES = evas_engine.c | ||
18 | |||
19 | |||
20 | if !EVAS_STATIC_BUILD_SOFTWARE_16 | ||
21 | |||
22 | pkgdir = $(libdir)/evas/modules/engines/software_16/$(MODULE_ARCH) | ||
23 | pkg_LTLIBRARIES = module.la | ||
24 | module_la_SOURCES = $(SOFTWARE_16_SOURCES) | ||
25 | module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la | ||
26 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
27 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
28 | |||
29 | else | ||
30 | |||
31 | noinst_LTLIBRARIES = libevas_engine_software_16.la | ||
32 | |||
33 | libevas_engine_software_16_la_SOURCES = $(SOFTWARE_16_SOURCES) | ||
34 | |||
35 | endif | ||
36 | endif | ||
37 | |||
38 | EXTRA_DIST = \ | ||
39 | evas_engine.c | ||
diff --git a/libraries/evas/src/modules/engines/software_16/Makefile.in b/libraries/evas/src/modules/engines/software_16/Makefile.in new file mode 100644 index 0000000..1fc95cf --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16/Makefile.in | |||
@@ -0,0 +1,765 @@ | |||
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 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/engines/software_16 | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_coverage.m4 \ | ||
42 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
43 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
44 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
45 | $(top_srcdir)/m4/evas_check_engine.m4 \ | ||
46 | $(top_srcdir)/m4/evas_check_loader.m4 \ | ||
47 | $(top_srcdir)/m4/evas_converter.m4 \ | ||
48 | $(top_srcdir)/m4/evas_dither.m4 \ | ||
49 | $(top_srcdir)/m4/evas_scaler.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
50 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
51 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
52 | $(top_srcdir)/configure.ac | ||
53 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
54 | $(ACLOCAL_M4) | ||
55 | mkinstalldirs = $(install_sh) -d | ||
56 | CONFIG_HEADER = $(top_builddir)/config.h | ||
57 | CONFIG_CLEAN_FILES = | ||
58 | CONFIG_CLEAN_VPATH_FILES = | ||
59 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
60 | am__vpath_adj = case $$p in \ | ||
61 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
62 | *) f=$$p;; \ | ||
63 | esac; | ||
64 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
65 | am__install_max = 40 | ||
66 | am__nobase_strip_setup = \ | ||
67 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
68 | am__nobase_strip = \ | ||
69 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
70 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
71 | for p in $$list; do echo "$$p $$p"; done | \ | ||
72 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
73 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
74 | if (++n[$$2] == $(am__install_max)) \ | ||
75 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
76 | END { for (dir in files) print dir, files[dir] }' | ||
77 | am__base_list = \ | ||
78 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
80 | am__installdirs = "$(DESTDIR)$(pkgdir)" | ||
81 | LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES) | ||
82 | libevas_engine_software_16_la_LIBADD = | ||
83 | am__libevas_engine_software_16_la_SOURCES_DIST = evas_engine.c | ||
84 | @BUILD_ENGINE_SOFTWARE_16_TRUE@am__objects_1 = evas_engine.lo | ||
85 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_TRUE@am_libevas_engine_software_16_la_OBJECTS = $(am__objects_1) | ||
86 | libevas_engine_software_16_la_OBJECTS = \ | ||
87 | $(am_libevas_engine_software_16_la_OBJECTS) | ||
88 | AM_V_lt = $(am__v_lt_$(V)) | ||
89 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
90 | am__v_lt_0 = --silent | ||
91 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_TRUE@am_libevas_engine_software_16_la_rpath = | ||
92 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la | ||
93 | am__module_la_SOURCES_DIST = evas_engine.c | ||
94 | @BUILD_ENGINE_SOFTWARE_16_TRUE@am__objects_2 = \ | ||
95 | @BUILD_ENGINE_SOFTWARE_16_TRUE@ module_la-evas_engine.lo | ||
96 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@am_module_la_OBJECTS = $(am__objects_2) | ||
97 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
98 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
99 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
100 | $(AM_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
101 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@am_module_la_rpath = -rpath \ | ||
102 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@ $(pkgdir) | ||
103 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
104 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
105 | am__depfiles_maybe = depfiles | ||
106 | am__mv = mv -f | ||
107 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
108 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
109 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
110 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
111 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
112 | $(AM_CFLAGS) $(CFLAGS) | ||
113 | AM_V_CC = $(am__v_CC_$(V)) | ||
114 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CC_0 = @echo " CC " $@; | ||
116 | AM_V_at = $(am__v_at_$(V)) | ||
117 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_at_0 = @ | ||
119 | CCLD = $(CC) | ||
120 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
121 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
122 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
123 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
124 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
125 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
126 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
127 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
128 | am__v_GEN_0 = @echo " GEN " $@; | ||
129 | SOURCES = $(libevas_engine_software_16_la_SOURCES) \ | ||
130 | $(module_la_SOURCES) | ||
131 | DIST_SOURCES = $(am__libevas_engine_software_16_la_SOURCES_DIST) \ | ||
132 | $(am__module_la_SOURCES_DIST) | ||
133 | ETAGS = etags | ||
134 | CTAGS = ctags | ||
135 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
136 | ACLOCAL = @ACLOCAL@ | ||
137 | ALLOCA = @ALLOCA@ | ||
138 | AMTAR = @AMTAR@ | ||
139 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
140 | AR = @AR@ | ||
141 | AS = @AS@ | ||
142 | AUTOCONF = @AUTOCONF@ | ||
143 | AUTOHEADER = @AUTOHEADER@ | ||
144 | AUTOMAKE = @AUTOMAKE@ | ||
145 | AWK = @AWK@ | ||
146 | CC = @CC@ | ||
147 | CCDEPMODE = @CCDEPMODE@ | ||
148 | CFLAGS = @CFLAGS@ | ||
149 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
150 | CHECK_LIBS = @CHECK_LIBS@ | ||
151 | CPP = @CPP@ | ||
152 | CPPFLAGS = @CPPFLAGS@ | ||
153 | CXX = @CXX@ | ||
154 | CXXCPP = @CXXCPP@ | ||
155 | CXXDEPMODE = @CXXDEPMODE@ | ||
156 | CXXFLAGS = @CXXFLAGS@ | ||
157 | CYGPATH_W = @CYGPATH_W@ | ||
158 | DEFS = @DEFS@ | ||
159 | DEPDIR = @DEPDIR@ | ||
160 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
161 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
162 | DLLTOOL = @DLLTOOL@ | ||
163 | DSYMUTIL = @DSYMUTIL@ | ||
164 | DUMPBIN = @DUMPBIN@ | ||
165 | ECHO_C = @ECHO_C@ | ||
166 | ECHO_N = @ECHO_N@ | ||
167 | ECHO_T = @ECHO_T@ | ||
168 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
169 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
170 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
171 | EDB_LIBS = @EDB_LIBS@ | ||
172 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
173 | EDJE_LIBS = @EDJE_LIBS@ | ||
174 | EET_CFLAGS = @EET_CFLAGS@ | ||
175 | EET_LIBS = @EET_LIBS@ | ||
176 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
177 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
178 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
179 | EGREP = @EGREP@ | ||
180 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
181 | EINA_LIBS = @EINA_LIBS@ | ||
182 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
183 | EVAS_LIBS = @EVAS_LIBS@ | ||
184 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
185 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
186 | EVIL_LIBS = @EVIL_LIBS@ | ||
187 | EXEEXT = @EXEEXT@ | ||
188 | FGREP = @FGREP@ | ||
189 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
190 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
191 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
192 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
193 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
194 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
195 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
196 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
197 | GREP = @GREP@ | ||
198 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
199 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
200 | INSTALL = @INSTALL@ | ||
201 | INSTALL_DATA = @INSTALL_DATA@ | ||
202 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
203 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
204 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
205 | LD = @LD@ | ||
206 | LDFLAGS = @LDFLAGS@ | ||
207 | LIBOBJS = @LIBOBJS@ | ||
208 | LIBS = @LIBS@ | ||
209 | LIBTOOL = @LIBTOOL@ | ||
210 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
211 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
212 | LIPO = @LIPO@ | ||
213 | LN_S = @LN_S@ | ||
214 | LTLIBOBJS = @LTLIBOBJS@ | ||
215 | MAKEINFO = @MAKEINFO@ | ||
216 | MKDIR_P = @MKDIR_P@ | ||
217 | MODULE_ARCH = @MODULE_ARCH@ | ||
218 | NM = @NM@ | ||
219 | NMEDIT = @NMEDIT@ | ||
220 | OBJC = @OBJC@ | ||
221 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
222 | OBJCFLAGS = @OBJCFLAGS@ | ||
223 | OBJDUMP = @OBJDUMP@ | ||
224 | OBJEXT = @OBJEXT@ | ||
225 | OTOOL = @OTOOL@ | ||
226 | OTOOL64 = @OTOOL64@ | ||
227 | PACKAGE = @PACKAGE@ | ||
228 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
229 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
230 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
231 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
232 | PACKAGE_URL = @PACKAGE_URL@ | ||
233 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
234 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
235 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
236 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
237 | PKG_CONFIG = @PKG_CONFIG@ | ||
238 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
239 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
240 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
241 | PNG_LIBS = @PNG_LIBS@ | ||
242 | RANLIB = @RANLIB@ | ||
243 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
244 | SDL_LIBS = @SDL_LIBS@ | ||
245 | SED = @SED@ | ||
246 | SET_MAKE = @SET_MAKE@ | ||
247 | SHELL = @SHELL@ | ||
248 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
249 | STRIP = @STRIP@ | ||
250 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
251 | SVG_LIBS = @SVG_LIBS@ | ||
252 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
253 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
254 | VERSION = @VERSION@ | ||
255 | VMAJ = @VMAJ@ | ||
256 | WIN32_CFLAGS = @WIN32_CFLAGS@ | ||
257 | WIN32_CPPFLAGS = @WIN32_CPPFLAGS@ | ||
258 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
259 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
260 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
261 | XCB_LIBS = @XCB_LIBS@ | ||
262 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
263 | XEXT_LIBS = @XEXT_LIBS@ | ||
264 | XMKMF = @XMKMF@ | ||
265 | X_CFLAGS = @X_CFLAGS@ | ||
266 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
267 | X_LIBS = @X_LIBS@ | ||
268 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
269 | abs_builddir = @abs_builddir@ | ||
270 | abs_srcdir = @abs_srcdir@ | ||
271 | abs_top_builddir = @abs_top_builddir@ | ||
272 | abs_top_srcdir = @abs_top_srcdir@ | ||
273 | ac_ct_CC = @ac_ct_CC@ | ||
274 | ac_ct_CXX = @ac_ct_CXX@ | ||
275 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
276 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
277 | altivec_cflags = @altivec_cflags@ | ||
278 | am__include = @am__include@ | ||
279 | am__leading_dot = @am__leading_dot@ | ||
280 | am__quote = @am__quote@ | ||
281 | am__tar = @am__tar@ | ||
282 | am__untar = @am__untar@ | ||
283 | bindir = @bindir@ | ||
284 | build = @build@ | ||
285 | build_alias = @build_alias@ | ||
286 | build_cpu = @build_cpu@ | ||
287 | build_os = @build_os@ | ||
288 | build_vendor = @build_vendor@ | ||
289 | builddir = @builddir@ | ||
290 | datadir = @datadir@ | ||
291 | datarootdir = @datarootdir@ | ||
292 | dlopen_libs = @dlopen_libs@ | ||
293 | docdir = @docdir@ | ||
294 | dvidir = @dvidir@ | ||
295 | edje_cc = @edje_cc@ | ||
296 | efl_doxygen = @efl_doxygen@ | ||
297 | efl_have_doxygen = @efl_have_doxygen@ | ||
298 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
299 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
300 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
301 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
302 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
303 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
304 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
305 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
306 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
307 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
308 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
309 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
310 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
311 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
312 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
313 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
314 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
315 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
316 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
317 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
318 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
319 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
320 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
321 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
322 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
323 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
324 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
325 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
326 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
327 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
328 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
329 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
330 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
331 | evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@ | ||
332 | evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@ | ||
333 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
334 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
335 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
336 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@ | ||
337 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
338 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
339 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
340 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
341 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
342 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
343 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
344 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
345 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
346 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
347 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
348 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
349 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
350 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
351 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
352 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
353 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
354 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
355 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
356 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
357 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
358 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
359 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
360 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
361 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
362 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
363 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
364 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
365 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
366 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
367 | exec_prefix = @exec_prefix@ | ||
368 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
369 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
370 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
371 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
372 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
373 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
374 | have_lcov = @have_lcov@ | ||
375 | host = @host@ | ||
376 | host_alias = @host_alias@ | ||
377 | host_cpu = @host_cpu@ | ||
378 | host_os = @host_os@ | ||
379 | host_vendor = @host_vendor@ | ||
380 | htmldir = @htmldir@ | ||
381 | includedir = @includedir@ | ||
382 | infodir = @infodir@ | ||
383 | install_sh = @install_sh@ | ||
384 | libdir = @libdir@ | ||
385 | libexecdir = @libexecdir@ | ||
386 | localedir = @localedir@ | ||
387 | localstatedir = @localstatedir@ | ||
388 | lt_ECHO = @lt_ECHO@ | ||
389 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
390 | mandir = @mandir@ | ||
391 | mkdir_p = @mkdir_p@ | ||
392 | oldincludedir = @oldincludedir@ | ||
393 | pdfdir = @pdfdir@ | ||
394 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
395 | prefix = @prefix@ | ||
396 | program_transform_name = @program_transform_name@ | ||
397 | psdir = @psdir@ | ||
398 | pthread_cflags = @pthread_cflags@ | ||
399 | pthread_libs = @pthread_libs@ | ||
400 | release_info = @release_info@ | ||
401 | requirement_evas = @requirement_evas@ | ||
402 | sbindir = @sbindir@ | ||
403 | sharedstatedir = @sharedstatedir@ | ||
404 | srcdir = @srcdir@ | ||
405 | sysconfdir = @sysconfdir@ | ||
406 | target_alias = @target_alias@ | ||
407 | top_build_prefix = @top_build_prefix@ | ||
408 | top_builddir = @top_builddir@ | ||
409 | top_srcdir = @top_srcdir@ | ||
410 | version_info = @version_info@ | ||
411 | MAINTAINERCLEANFILES = Makefile.in | ||
412 | AM_CPPFLAGS = \ | ||
413 | -I. \ | ||
414 | -I$(top_srcdir)/src/lib \ | ||
415 | -I$(top_srcdir)/src/lib/include \ | ||
416 | -I$(top_srcdir)/src/modules/engines \ | ||
417 | @FREETYPE_CFLAGS@ \ | ||
418 | @PIXMAN_CFLAGS@ \ | ||
419 | @EINA_CFLAGS@ | ||
420 | |||
421 | AM_CFLAGS = @WIN32_CFLAGS@ | ||
422 | @BUILD_ENGINE_SOFTWARE_16_TRUE@SOFTWARE_16_SOURCES = evas_engine.c | ||
423 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16/$(MODULE_ARCH) | ||
424 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkg_LTLIBRARIES = module.la | ||
425 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@module_la_SOURCES = $(SOFTWARE_16_SOURCES) | ||
426 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la | ||
427 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
428 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static | ||
429 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16.la | ||
430 | @BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_TRUE@libevas_engine_software_16_la_SOURCES = $(SOFTWARE_16_SOURCES) | ||
431 | EXTRA_DIST = \ | ||
432 | evas_engine.c | ||
433 | |||
434 | all: all-am | ||
435 | |||
436 | .SUFFIXES: | ||
437 | .SUFFIXES: .c .lo .o .obj | ||
438 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
439 | @for dep in $?; do \ | ||
440 | case '$(am__configure_deps)' in \ | ||
441 | *$$dep*) \ | ||
442 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
443 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
444 | exit 1;; \ | ||
445 | esac; \ | ||
446 | done; \ | ||
447 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/engines/software_16/Makefile'; \ | ||
448 | $(am__cd) $(top_srcdir) && \ | ||
449 | $(AUTOMAKE) --gnu src/modules/engines/software_16/Makefile | ||
450 | .PRECIOUS: Makefile | ||
451 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
452 | @case '$?' in \ | ||
453 | *config.status*) \ | ||
454 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
455 | *) \ | ||
456 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
457 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
458 | esac; | ||
459 | |||
460 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
461 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
462 | |||
463 | $(top_srcdir)/configure: $(am__configure_deps) | ||
464 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
465 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
466 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
467 | $(am__aclocal_m4_deps): | ||
468 | |||
469 | clean-noinstLTLIBRARIES: | ||
470 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
471 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
472 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
473 | test "$$dir" != "$$p" || dir=.; \ | ||
474 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
475 | rm -f "$${dir}/so_locations"; \ | ||
476 | done | ||
477 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
478 | @$(NORMAL_INSTALL) | ||
479 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
480 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
481 | list2=; for p in $$list; do \ | ||
482 | if test -f $$p; then \ | ||
483 | list2="$$list2 $$p"; \ | ||
484 | else :; fi; \ | ||
485 | done; \ | ||
486 | test -z "$$list2" || { \ | ||
487 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
488 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
489 | } | ||
490 | |||
491 | uninstall-pkgLTLIBRARIES: | ||
492 | @$(NORMAL_UNINSTALL) | ||
493 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
494 | for p in $$list; do \ | ||
495 | $(am__strip_dir) \ | ||
496 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
497 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
498 | done | ||
499 | |||
500 | clean-pkgLTLIBRARIES: | ||
501 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
502 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
503 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
504 | test "$$dir" != "$$p" || dir=.; \ | ||
505 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
506 | rm -f "$${dir}/so_locations"; \ | ||
507 | done | ||
508 | libevas_engine_software_16.la: $(libevas_engine_software_16_la_OBJECTS) $(libevas_engine_software_16_la_DEPENDENCIES) | ||
509 | $(AM_V_CCLD)$(LINK) $(am_libevas_engine_software_16_la_rpath) $(libevas_engine_software_16_la_OBJECTS) $(libevas_engine_software_16_la_LIBADD) $(LIBS) | ||
510 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
511 | $(AM_V_CCLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
512 | |||
513 | mostlyclean-compile: | ||
514 | -rm -f *.$(OBJEXT) | ||
515 | |||
516 | distclean-compile: | ||
517 | -rm -f *.tab.c | ||
518 | |||
519 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@ | ||
520 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_engine.Plo@am__quote@ | ||
521 | |||
522 | .c.o: | ||
523 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
524 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
525 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
526 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
527 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
528 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
529 | |||
530 | .c.obj: | ||
531 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
532 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
533 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
534 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
535 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
536 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
537 | |||
538 | .c.lo: | ||
539 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
540 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
541 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
542 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
543 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
544 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
545 | |||
546 | module_la-evas_engine.lo: evas_engine.c | ||
547 | @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 | ||
548 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo | ||
549 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
550 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ | ||
551 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
552 | @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 | ||
553 | |||
554 | mostlyclean-libtool: | ||
555 | -rm -f *.lo | ||
556 | |||
557 | clean-libtool: | ||
558 | -rm -rf .libs _libs | ||
559 | |||
560 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
561 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
562 | unique=`for i in $$list; do \ | ||
563 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
564 | done | \ | ||
565 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
566 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
567 | mkid -fID $$unique | ||
568 | tags: TAGS | ||
569 | |||
570 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
571 | $(TAGS_FILES) $(LISP) | ||
572 | set x; \ | ||
573 | here=`pwd`; \ | ||
574 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
575 | unique=`for i in $$list; do \ | ||
576 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
577 | done | \ | ||
578 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
579 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
580 | shift; \ | ||
581 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
582 | test -n "$$unique" || unique=$$empty_fix; \ | ||
583 | if test $$# -gt 0; then \ | ||
584 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
585 | "$$@" $$unique; \ | ||
586 | else \ | ||
587 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
588 | $$unique; \ | ||
589 | fi; \ | ||
590 | fi | ||
591 | ctags: CTAGS | ||
592 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
593 | $(TAGS_FILES) $(LISP) | ||
594 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
595 | unique=`for i in $$list; do \ | ||
596 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
597 | done | \ | ||
598 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
599 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
600 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
601 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
602 | $$unique | ||
603 | |||
604 | GTAGS: | ||
605 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
606 | && $(am__cd) $(top_srcdir) \ | ||
607 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
608 | |||
609 | distclean-tags: | ||
610 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
611 | |||
612 | distdir: $(DISTFILES) | ||
613 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
614 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
615 | list='$(DISTFILES)'; \ | ||
616 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
617 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
618 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
619 | case $$dist_files in \ | ||
620 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
621 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
622 | sort -u` ;; \ | ||
623 | esac; \ | ||
624 | for file in $$dist_files; do \ | ||
625 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
626 | if test -d $$d/$$file; then \ | ||
627 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
628 | if test -d "$(distdir)/$$file"; then \ | ||
629 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
630 | fi; \ | ||
631 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
632 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
633 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
634 | fi; \ | ||
635 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
636 | else \ | ||
637 | test -f "$(distdir)/$$file" \ | ||
638 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
639 | || exit 1; \ | ||
640 | fi; \ | ||
641 | done | ||
642 | check-am: all-am | ||
643 | check: check-am | ||
644 | all-am: Makefile $(LTLIBRARIES) | ||
645 | installdirs: | ||
646 | for dir in "$(DESTDIR)$(pkgdir)"; do \ | ||
647 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
648 | done | ||
649 | install: install-am | ||
650 | install-exec: install-exec-am | ||
651 | install-data: install-data-am | ||
652 | uninstall: uninstall-am | ||
653 | |||
654 | install-am: all-am | ||
655 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
656 | |||
657 | installcheck: installcheck-am | ||
658 | install-strip: | ||
659 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
660 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
661 | `test -z '$(STRIP)' || \ | ||
662 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
663 | mostlyclean-generic: | ||
664 | |||
665 | clean-generic: | ||
666 | |||
667 | distclean-generic: | ||
668 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
669 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
670 | |||
671 | maintainer-clean-generic: | ||
672 | @echo "This command is intended for maintainers to use" | ||
673 | @echo "it deletes files that may require special tools to rebuild." | ||
674 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
675 | clean: clean-am | ||
676 | |||
677 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
678 | clean-pkgLTLIBRARIES mostlyclean-am | ||
679 | |||
680 | distclean: distclean-am | ||
681 | -rm -rf ./$(DEPDIR) | ||
682 | -rm -f Makefile | ||
683 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
684 | distclean-tags | ||
685 | |||
686 | dvi: dvi-am | ||
687 | |||
688 | dvi-am: | ||
689 | |||
690 | html: html-am | ||
691 | |||
692 | html-am: | ||
693 | |||
694 | info: info-am | ||
695 | |||
696 | info-am: | ||
697 | |||
698 | install-data-am: install-pkgLTLIBRARIES | ||
699 | |||
700 | install-dvi: install-dvi-am | ||
701 | |||
702 | install-dvi-am: | ||
703 | |||
704 | install-exec-am: | ||
705 | |||
706 | install-html: install-html-am | ||
707 | |||
708 | install-html-am: | ||
709 | |||
710 | install-info: install-info-am | ||
711 | |||
712 | install-info-am: | ||
713 | |||
714 | install-man: | ||
715 | |||
716 | install-pdf: install-pdf-am | ||
717 | |||
718 | install-pdf-am: | ||
719 | |||
720 | install-ps: install-ps-am | ||
721 | |||
722 | install-ps-am: | ||
723 | |||
724 | installcheck-am: | ||
725 | |||
726 | maintainer-clean: maintainer-clean-am | ||
727 | -rm -rf ./$(DEPDIR) | ||
728 | -rm -f Makefile | ||
729 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
730 | |||
731 | mostlyclean: mostlyclean-am | ||
732 | |||
733 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
734 | mostlyclean-libtool | ||
735 | |||
736 | pdf: pdf-am | ||
737 | |||
738 | pdf-am: | ||
739 | |||
740 | ps: ps-am | ||
741 | |||
742 | ps-am: | ||
743 | |||
744 | uninstall-am: uninstall-pkgLTLIBRARIES | ||
745 | |||
746 | .MAKE: install-am install-strip | ||
747 | |||
748 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
749 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
750 | ctags distclean distclean-compile distclean-generic \ | ||
751 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
752 | html-am info info-am install install-am install-data \ | ||
753 | install-data-am install-dvi install-dvi-am install-exec \ | ||
754 | install-exec-am install-html install-html-am install-info \ | ||
755 | install-info-am install-man install-pdf install-pdf-am \ | ||
756 | install-pkgLTLIBRARIES install-ps install-ps-am install-strip \ | ||
757 | installcheck installcheck-am installdirs maintainer-clean \ | ||
758 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
759 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
760 | tags uninstall uninstall-am uninstall-pkgLTLIBRARIES | ||
761 | |||
762 | |||
763 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
764 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
765 | .NOEXPORT: | ||
diff --git a/libraries/evas/src/modules/engines/software_16/evas_engine.c b/libraries/evas/src/modules/engines/software_16/evas_engine.c new file mode 100644 index 0000000..643e24f --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16/evas_engine.c | |||
@@ -0,0 +1,399 @@ | |||
1 | #include "evas_common.h"/* Also includes international specific stuff */ | ||
2 | #include "evas_common_soft16.h" | ||
3 | |||
4 | /* | ||
5 | ***** | ||
6 | ** | ||
7 | ** ENGINE ROUTINES | ||
8 | ** | ||
9 | ***** | ||
10 | */ | ||
11 | int _evas_soft16_log_dom = -1; | ||
12 | /* function tables - filled in later (func and parent func) */ | ||
13 | static Evas_Func func, pfunc; | ||
14 | #ifdef ERR | ||
15 | #undef ERR | ||
16 | #endif | ||
17 | #define ERR(...) EINA_LOG_DOM_ERR( _evas_soft16_log_dom, __VA_ARGS__) | ||
18 | |||
19 | #ifdef DBG | ||
20 | #undef DBG | ||
21 | #endif | ||
22 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_soft16_log_dom, __VA_ARGS__) | ||
23 | |||
24 | #ifdef INF | ||
25 | #undef INF | ||
26 | #endif | ||
27 | #define INF(...) EINA_LOG_DOM_INFO(_evas_soft16_log_dom, __VA_ARGS__) | ||
28 | |||
29 | #ifdef WRN | ||
30 | #undef WRN | ||
31 | #endif | ||
32 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_soft16_log_dom, __VA_ARGS__) | ||
33 | |||
34 | #ifdef CRIT | ||
35 | #undef CRIT | ||
36 | #endif | ||
37 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_soft16_log_dom, __VA_ARGS__) | ||
38 | |||
39 | #define NOT_IMPLEMENTED() \ | ||
40 | WRN("NOT_IMPLEMENTED: %s() at %s:%d", \ | ||
41 | __FUNCTION__, __FILE__, __LINE__) | ||
42 | |||
43 | static void | ||
44 | eng_rectangle_draw(void *data __UNUSED__, void *context, void *surface, int x, int y, int w, int h) | ||
45 | { | ||
46 | evas_common_soft16_rectangle_draw(surface, context, x, y, w, h); | ||
47 | } | ||
48 | |||
49 | static void | ||
50 | eng_line_draw(void *data __UNUSED__, void *context, void *surface, int x1, int y1, int x2, int y2) | ||
51 | { | ||
52 | evas_common_soft16_line_draw(surface, context, x1, y1, x2, y2); | ||
53 | } | ||
54 | |||
55 | static void | ||
56 | eng_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y) | ||
57 | { | ||
58 | evas_common_soft16_polygon_draw(surface, context, polygon, x, y); | ||
59 | } | ||
60 | |||
61 | static int | ||
62 | eng_image_alpha_get(void *data __UNUSED__, void *image) | ||
63 | { | ||
64 | Soft16_Image *im; | ||
65 | |||
66 | if (!image) return 0; | ||
67 | im = image; | ||
68 | return im->cache_entry.flags.alpha; | ||
69 | } | ||
70 | |||
71 | static void * | ||
72 | eng_image_alpha_set(void *data __UNUSED__, void *image, int have_alpha) | ||
73 | { | ||
74 | if (!image) return NULL; | ||
75 | have_alpha = !!have_alpha; | ||
76 | image = evas_common_soft16_image_alpha_set(image, have_alpha); | ||
77 | return image; | ||
78 | } | ||
79 | |||
80 | static char * | ||
81 | eng_image_comment_get(void *data __UNUSED__, void *image __UNUSED__, char *key __UNUSED__) | ||
82 | { | ||
83 | return NULL; | ||
84 | } | ||
85 | |||
86 | static char * | ||
87 | eng_image_format_get(void *data __UNUSED__, void *image __UNUSED__) | ||
88 | { | ||
89 | NOT_IMPLEMENTED(); | ||
90 | return NULL; | ||
91 | } | ||
92 | |||
93 | static int | ||
94 | eng_image_colorspace_get(void *data __UNUSED__, void *image __UNUSED__) | ||
95 | { | ||
96 | return EVAS_COLORSPACE_RGB565_A5P; | ||
97 | } | ||
98 | |||
99 | |||
100 | static void | ||
101 | eng_image_colorspace_set(void *data __UNUSED__, void *image __UNUSED__, int cspace __UNUSED__) | ||
102 | { | ||
103 | NOT_IMPLEMENTED(); | ||
104 | } | ||
105 | |||
106 | static void * | ||
107 | eng_image_native_set(void *data __UNUSED__, void *image __UNUSED__, void *native __UNUSED__) | ||
108 | { | ||
109 | NOT_IMPLEMENTED(); | ||
110 | return NULL; | ||
111 | } | ||
112 | |||
113 | static void * | ||
114 | eng_image_native_get(void *data __UNUSED__, void *image __UNUSED__) | ||
115 | { | ||
116 | NOT_IMPLEMENTED(); | ||
117 | return NULL; | ||
118 | } | ||
119 | |||
120 | static void * | ||
121 | eng_image_load(void *data __UNUSED__, const char *file, const char *key, int *error, Evas_Image_Load_Opts *lo) | ||
122 | { | ||
123 | return evas_cache_image_request(evas_common_soft16_image_cache_get(), file, key, lo, error); | ||
124 | } | ||
125 | |||
126 | static void * | ||
127 | eng_image_new_from_data(void *data __UNUSED__, int w, int h, DATA32 *image_data, int alpha, int cspace) | ||
128 | { | ||
129 | if ((image_data) && (cspace != EVAS_COLORSPACE_RGB565_A5P)) | ||
130 | { | ||
131 | WRN("Unsupported colorspace %d in %s() (%s:%d)", | ||
132 | cspace, __FUNCTION__, __FILE__, __LINE__); | ||
133 | return NULL; | ||
134 | } | ||
135 | return evas_cache_image_data(evas_common_soft16_image_cache_get(), w, h, image_data, alpha, EVAS_COLORSPACE_RGB565_A5P); | ||
136 | } | ||
137 | |||
138 | static void * | ||
139 | eng_image_new_from_copied_data(void *data __UNUSED__, int w, int h, DATA32 *image_data, int alpha, int cspace) | ||
140 | { | ||
141 | if ((image_data) && (cspace != EVAS_COLORSPACE_RGB565_A5P)) | ||
142 | { | ||
143 | WRN("Unsupported colorspace %d in %s() (%s:%d)", | ||
144 | cspace, __FUNCTION__, __FILE__, __LINE__); | ||
145 | return NULL; | ||
146 | } | ||
147 | return evas_cache_image_copied_data(evas_common_soft16_image_cache_get(), w, h, image_data, alpha, EVAS_COLORSPACE_RGB565_A5P); | ||
148 | } | ||
149 | |||
150 | static void | ||
151 | eng_image_size_get(void *data __UNUSED__, void *image, int *w, int *h) | ||
152 | { | ||
153 | Soft16_Image *im; | ||
154 | |||
155 | if (w) *w = 0; | ||
156 | if (h) *h = 0; | ||
157 | if (!image) return; | ||
158 | im = image; | ||
159 | if (w) *w = im->cache_entry.w; | ||
160 | if (h) *h = im->cache_entry.h; | ||
161 | } | ||
162 | |||
163 | static void * | ||
164 | eng_image_size_set(void *data __UNUSED__, void *image, int w, int h) | ||
165 | { | ||
166 | if (!image) return NULL; | ||
167 | if ((w <= 0) || (h <= 0)) | ||
168 | { | ||
169 | evas_cache_image_drop((Image_Entry *) image); | ||
170 | return NULL; | ||
171 | } | ||
172 | return evas_cache_image_size_set((Image_Entry *) image, w, h); | ||
173 | } | ||
174 | |||
175 | static void | ||
176 | eng_image_stride_get(void *data __UNUSED__, void *image, int *stride) | ||
177 | { | ||
178 | Soft16_Image *im; | ||
179 | |||
180 | if (stride) *stride = 0; | ||
181 | if (!image) return; | ||
182 | im = image; | ||
183 | if (stride) *stride = im->stride; | ||
184 | } | ||
185 | |||
186 | static void * | ||
187 | eng_image_dirty_region(void *data __UNUSED__, void *image, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__) | ||
188 | { | ||
189 | /* FIXME: is this required? */ | ||
190 | //NOT_IMPLEMENTED(); | ||
191 | return image; | ||
192 | } | ||
193 | |||
194 | static void * | ||
195 | eng_image_data_get(void *data __UNUSED__, void *image, int to_write, DATA32 **image_data, int *err) | ||
196 | { | ||
197 | Soft16_Image *im; | ||
198 | int error; | ||
199 | |||
200 | if (!image) | ||
201 | { | ||
202 | *image_data = NULL; | ||
203 | return NULL; | ||
204 | } | ||
205 | |||
206 | im = image; | ||
207 | error = evas_cache_image_load_data(&im->cache_entry); | ||
208 | |||
209 | if (to_write) | ||
210 | im = (Soft16_Image *) evas_cache_image_alone(&im->cache_entry); | ||
211 | |||
212 | if (image_data) *image_data = (DATA32 *) im->pixels; | ||
213 | |||
214 | if (err) *err = error; | ||
215 | return im; | ||
216 | } | ||
217 | |||
218 | static void * | ||
219 | eng_image_data_put(void *data __UNUSED__, void *image, DATA32 *image_data) | ||
220 | { | ||
221 | Soft16_Image *old_im, *new_im; | ||
222 | |||
223 | if (!image) return NULL; | ||
224 | |||
225 | old_im = image; | ||
226 | if ((DATA16 *)image_data == old_im->pixels) return old_im; | ||
227 | |||
228 | new_im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), old_im->cache_entry.w, old_im->cache_entry.h, image_data, old_im->cache_entry.flags.alpha, EVAS_COLORSPACE_RGB565_A5P); | ||
229 | evas_cache_image_drop(&old_im->cache_entry); | ||
230 | return new_im; | ||
231 | } | ||
232 | |||
233 | static void | ||
234 | eng_image_data_preload_request(void *data __UNUSED__, void *image, const void *target) | ||
235 | { | ||
236 | Soft16_Image *im = image; | ||
237 | |||
238 | if (!im) return ; | ||
239 | evas_cache_image_preload_data(&im->cache_entry, target); | ||
240 | } | ||
241 | |||
242 | static void | ||
243 | eng_image_data_preload_cancel(void *data __UNUSED__, void *image, const void *target) | ||
244 | { | ||
245 | Soft16_Image *im = image; | ||
246 | |||
247 | if (!im) return ; | ||
248 | evas_cache_image_preload_cancel(&im->cache_entry, target); | ||
249 | } | ||
250 | |||
251 | static void | ||
252 | eng_image_draw(void *data __UNUSED__, void *context, void *surface, void *image, int src_x, int src_y, int src_w, int src_h, int dst_x, int dst_y, int dst_w, int dst_h, int smooth) | ||
253 | { | ||
254 | Soft16_Image *im; | ||
255 | |||
256 | im = (Soft16_Image *) image; | ||
257 | |||
258 | evas_cache_image_load_data(&im->cache_entry); | ||
259 | evas_common_soft16_image_draw(im, surface, context, | ||
260 | src_x, src_y, src_w, src_h, | ||
261 | dst_x, dst_y, dst_w, dst_h, | ||
262 | smooth); | ||
263 | } | ||
264 | |||
265 | static void | ||
266 | eng_image_scale_hint_set(void *data __UNUSED__, void *image __UNUSED__, int hint __UNUSED__) | ||
267 | { | ||
268 | } | ||
269 | |||
270 | static int | ||
271 | eng_image_scale_hint_get(void *data __UNUSED__, void *image __UNUSED__) | ||
272 | { | ||
273 | return EVAS_IMAGE_SCALE_HINT_NONE; | ||
274 | } | ||
275 | |||
276 | static void | ||
277 | eng_image_cache_flush(void *data __UNUSED__) | ||
278 | { | ||
279 | evas_cache_image_flush(evas_common_soft16_image_cache_get()); | ||
280 | } | ||
281 | |||
282 | static void | ||
283 | eng_image_cache_set(void *data __UNUSED__, int bytes) | ||
284 | { | ||
285 | evas_cache_image_set(evas_common_soft16_image_cache_get(), bytes); | ||
286 | } | ||
287 | |||
288 | static int | ||
289 | eng_image_cache_get(void *data __UNUSED__) | ||
290 | { | ||
291 | return evas_cache_image_get(evas_common_soft16_image_cache_get()); | ||
292 | } | ||
293 | |||
294 | static void | ||
295 | eng_font_draw(void *data __UNUSED__, void *context, void *surface, Evas_Font_Set *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const Evas_Text_Props *text_props) | ||
296 | { | ||
297 | static RGBA_Image *im = NULL; | ||
298 | Soft16_Image *dst = surface; | ||
299 | |||
300 | if (!im) | ||
301 | im = (RGBA_Image *) evas_cache_image_empty(evas_common_image_cache_get()); | ||
302 | evas_cache_image_surface_alloc(&im->cache_entry, dst->cache_entry.w, dst->cache_entry.h); | ||
303 | evas_common_draw_context_font_ext_set(context, | ||
304 | surface, | ||
305 | evas_common_soft16_font_glyph_new, | ||
306 | evas_common_soft16_font_glyph_free, | ||
307 | evas_common_soft16_font_glyph_draw); | ||
308 | evas_common_font_draw(im, context, (RGBA_Font *) font, x, y, text_props); | ||
309 | evas_common_draw_context_font_ext_set(context, | ||
310 | NULL, | ||
311 | NULL, | ||
312 | NULL, | ||
313 | NULL); | ||
314 | } | ||
315 | |||
316 | /* | ||
317 | ***** | ||
318 | ** | ||
319 | ** MODULE ACCESSIBLE API API | ||
320 | ** | ||
321 | ***** | ||
322 | */ | ||
323 | |||
324 | static int | ||
325 | module_open(Evas_Module *em) | ||
326 | { | ||
327 | if (!em) return 0; | ||
328 | if (!_evas_module_engine_inherit(&pfunc, "software_generic")) return 0; | ||
329 | _evas_soft16_log_dom = eina_log_domain_register | ||
330 | ("evas-software_16", EVAS_DEFAULT_LOG_COLOR); | ||
331 | if (_evas_soft16_log_dom < 0) | ||
332 | { | ||
333 | EINA_LOG_ERR("Can not create a module log domain."); | ||
334 | return 0; | ||
335 | } | ||
336 | /* store it for later use */ | ||
337 | func = pfunc; | ||
338 | /* now to override methods */ | ||
339 | EVAS_API_RESET(info, &func); | ||
340 | EVAS_API_RESET(info_free, &func); | ||
341 | EVAS_API_RESET(setup, &func); | ||
342 | #define ORD(f) EVAS_API_OVERRIDE(f, &func, eng_) | ||
343 | ORD(rectangle_draw); | ||
344 | ORD(line_draw); | ||
345 | ORD(polygon_draw); | ||
346 | ORD(image_load); | ||
347 | ORD(image_new_from_data); | ||
348 | ORD(image_new_from_copied_data); | ||
349 | ORD(image_size_get); | ||
350 | ORD(image_size_set); | ||
351 | ORD(image_stride_get); | ||
352 | ORD(image_dirty_region); | ||
353 | ORD(image_data_get); | ||
354 | ORD(image_data_put); | ||
355 | ORD(image_data_preload_request); | ||
356 | ORD(image_data_preload_cancel); | ||
357 | ORD(image_alpha_set); | ||
358 | ORD(image_alpha_get); | ||
359 | ORD(image_draw); | ||
360 | ORD(image_comment_get); | ||
361 | ORD(image_format_get); | ||
362 | ORD(image_colorspace_set); | ||
363 | ORD(image_colorspace_get); | ||
364 | ORD(image_native_set); | ||
365 | ORD(image_native_get); | ||
366 | ORD(image_cache_flush); | ||
367 | ORD(image_cache_set); | ||
368 | ORD(image_cache_get); | ||
369 | ORD(font_draw); | ||
370 | ORD(image_scale_hint_set); | ||
371 | ORD(image_scale_hint_get); | ||
372 | |||
373 | em->functions = (void *)(&func); | ||
374 | |||
375 | return 1; | ||
376 | } | ||
377 | |||
378 | static void | ||
379 | module_close(Evas_Module *em __UNUSED__) | ||
380 | { | ||
381 | eina_log_domain_unregister(_evas_soft16_log_dom); | ||
382 | } | ||
383 | |||
384 | static Evas_Module_Api evas_modapi = | ||
385 | { | ||
386 | EVAS_MODULE_API_VERSION, | ||
387 | "software_16", | ||
388 | "none", | ||
389 | { | ||
390 | module_open, | ||
391 | module_close | ||
392 | } | ||
393 | }; | ||
394 | |||
395 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, software_16); | ||
396 | |||
397 | #ifndef EVAS_STATIC_BUILD_SOFTWARE_16 | ||
398 | EVAS_EINA_MODULE_DEFINE(engine, software_16); | ||
399 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/Evas_Engine_Software_16_DDraw.h b/libraries/evas/src/modules/engines/software_16_ddraw/Evas_Engine_Software_16_DDraw.h new file mode 100644 index 0000000..3c1547a --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/Evas_Engine_Software_16_DDraw.h | |||
@@ -0,0 +1,32 @@ | |||
1 | #ifndef __EVAS_ENGINE_SOFTWARE_16_DDRAW_H__ | ||
2 | #define __EVAS_ENGINE_SOFTWARE_16_DDRAW_H__ | ||
3 | |||
4 | |||
5 | #include <windows.h> | ||
6 | #include <ddraw.h> | ||
7 | |||
8 | typedef struct _Evas_Engine_Info_Software_16_DDraw Evas_Engine_Info_Software_16_DDraw; | ||
9 | |||
10 | struct _Evas_Engine_Info_Software_16_DDraw | ||
11 | { | ||
12 | /* PRIVATE - don't mess with this baby or evas will poke its tongue out */ | ||
13 | /* at you and make nasty noises */ | ||
14 | Evas_Engine_Info magic; | ||
15 | |||
16 | struct { | ||
17 | HWND window; | ||
18 | LPDIRECTDRAW object; /* DirectDraw object */ | ||
19 | LPDIRECTDRAWSURFACE surface_primary; /* DirectDraw primary surface */ | ||
20 | LPDIRECTDRAWSURFACE surface_back; /* DirectDraw back surface */ | ||
21 | LPDIRECTDRAWSURFACE surface_source; /* DirectDraw source surface */ | ||
22 | int depth; | ||
23 | |||
24 | int rotation; | ||
25 | } info; | ||
26 | |||
27 | /* non-blocking or blocking mode */ | ||
28 | Evas_Engine_Render_Mode render_mode; | ||
29 | }; | ||
30 | |||
31 | |||
32 | #endif /* __EVAS_ENGINE_SOFTWARE_16_DDRAW_H__ */ | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.am b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.am new file mode 100644 index 0000000..adbf477 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.am | |||
@@ -0,0 +1,49 @@ | |||
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 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
10 | @EINA_CFLAGS@ \ | ||
11 | @FREETYPE_CFLAGS@ \ | ||
12 | @PIXMAN_CFLAGS@ \ | ||
13 | @evas_engine_software_16_ddraw_cflags@ | ||
14 | |||
15 | if BUILD_ENGINE_SOFTWARE_16_DDRAW | ||
16 | |||
17 | SOFTWARE_16_DDRAW_SOURCES = \ | ||
18 | evas_engine.c \ | ||
19 | evas_ddraw_buffer.cpp \ | ||
20 | evas_ddraw_main.cpp | ||
21 | |||
22 | SOFTWARE_16_DDRAW_LIBADD = @evas_engine_software_16_ddraw_libs@ | ||
23 | |||
24 | |||
25 | includes_HEADERS = Evas_Engine_Software_16_DDraw.h | ||
26 | includesdir = $(includedir)/evas-@VMAJ@ | ||
27 | |||
28 | if !EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW | ||
29 | |||
30 | pkgdir = $(libdir)/evas/modules/engines/software_16_ddraw/$(MODULE_ARCH) | ||
31 | pkg_LTLIBRARIES = module.la | ||
32 | |||
33 | module_la_SOURCES = $(SOFTWARE_16_DDRAW_SOURCES) | ||
34 | module_la_CXXFLAGS = -fno-rtti -fno-exceptions | ||
35 | module_la_LIBADD = $(top_builddir)/src/lib/libevas.la @EINA_LIBS@ $(SOFTWARE_16_DDRAW_LIBADD) | ||
36 | module_la_LDFLAGS = @lt_enable_auto_import@ -no-undefined -module -avoid-version | ||
37 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
38 | |||
39 | else | ||
40 | |||
41 | noinst_LTLIBRARIES = libevas_engine_software_16_ddraw.la | ||
42 | |||
43 | libevas_engine_software_16_ddraw_la_SOURCES = $(SOFTWARE_16_DDRAW_SOURCES) | ||
44 | libevas_engine_software_16_ddraw_la_LIBADD = $(SOFTWARE_16_DDRAW_LIBADD) | ||
45 | |||
46 | endif | ||
47 | endif | ||
48 | |||
49 | EXTRA_DIST = evas_engine.h | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in new file mode 100644 index 0000000..f588c4f --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in | |||
@@ -0,0 +1,869 @@ | |||
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/software_16_ddraw | ||
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 | am__DEPENDENCIES_1 = | ||
85 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE@libevas_engine_software_16_ddraw_la_DEPENDENCIES = $(am__DEPENDENCIES_1) | ||
86 | am__libevas_engine_software_16_ddraw_la_SOURCES_DIST = evas_engine.c \ | ||
87 | evas_ddraw_buffer.cpp evas_ddraw_main.cpp | ||
88 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@am__objects_1 = evas_engine.lo \ | ||
89 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@ evas_ddraw_buffer.lo \ | ||
90 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@ evas_ddraw_main.lo | ||
91 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE@am_libevas_engine_software_16_ddraw_la_OBJECTS = $(am__objects_1) | ||
92 | libevas_engine_software_16_ddraw_la_OBJECTS = \ | ||
93 | $(am_libevas_engine_software_16_ddraw_la_OBJECTS) | ||
94 | AM_V_lt = $(am__v_lt_$(V)) | ||
95 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
96 | am__v_lt_0 = --silent | ||
97 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE@am_libevas_engine_software_16_ddraw_la_rpath = | ||
98 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la \ | ||
99 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@ $(am__DEPENDENCIES_1) | ||
100 | am__module_la_SOURCES_DIST = evas_engine.c evas_ddraw_buffer.cpp \ | ||
101 | evas_ddraw_main.cpp | ||
102 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@am__objects_2 = \ | ||
103 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@ module_la-evas_engine.lo \ | ||
104 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@ module_la-evas_ddraw_buffer.lo \ | ||
105 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@ module_la-evas_ddraw_main.lo | ||
106 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@am_module_la_OBJECTS = $(am__objects_2) | ||
107 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
108 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ | ||
109 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ | ||
110 | $(module_la_CXXFLAGS) $(CXXFLAGS) $(module_la_LDFLAGS) \ | ||
111 | $(LDFLAGS) -o $@ | ||
112 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@am_module_la_rpath = -rpath \ | ||
113 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@ $(pkgdir) | ||
114 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
115 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
116 | am__depfiles_maybe = depfiles | ||
117 | am__mv = mv -f | ||
118 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
119 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
120 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
121 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
122 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
123 | $(AM_CFLAGS) $(CFLAGS) | ||
124 | AM_V_CC = $(am__v_CC_$(V)) | ||
125 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
126 | am__v_CC_0 = @echo " CC " $@; | ||
127 | AM_V_at = $(am__v_at_$(V)) | ||
128 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
129 | am__v_at_0 = @ | ||
130 | CCLD = $(CC) | ||
131 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
132 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
133 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
134 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
135 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
136 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
137 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
138 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
139 | LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ | ||
140 | $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ | ||
141 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
142 | $(AM_CXXFLAGS) $(CXXFLAGS) | ||
143 | AM_V_CXX = $(am__v_CXX_$(V)) | ||
144 | am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) | ||
145 | am__v_CXX_0 = @echo " CXX " $@; | ||
146 | CXXLD = $(CXX) | ||
147 | CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ | ||
148 | $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ | ||
149 | $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
150 | AM_V_CXXLD = $(am__v_CXXLD_$(V)) | ||
151 | am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) | ||
152 | am__v_CXXLD_0 = @echo " CXXLD " $@; | ||
153 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
154 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
155 | am__v_GEN_0 = @echo " GEN " $@; | ||
156 | SOURCES = $(libevas_engine_software_16_ddraw_la_SOURCES) \ | ||
157 | $(module_la_SOURCES) | ||
158 | DIST_SOURCES = \ | ||
159 | $(am__libevas_engine_software_16_ddraw_la_SOURCES_DIST) \ | ||
160 | $(am__module_la_SOURCES_DIST) | ||
161 | am__includes_HEADERS_DIST = Evas_Engine_Software_16_DDraw.h | ||
162 | HEADERS = $(includes_HEADERS) | ||
163 | ETAGS = etags | ||
164 | CTAGS = ctags | ||
165 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
166 | ACLOCAL = @ACLOCAL@ | ||
167 | ALLOCA = @ALLOCA@ | ||
168 | AMTAR = @AMTAR@ | ||
169 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
170 | AR = @AR@ | ||
171 | AS = @AS@ | ||
172 | AUTOCONF = @AUTOCONF@ | ||
173 | AUTOHEADER = @AUTOHEADER@ | ||
174 | AUTOMAKE = @AUTOMAKE@ | ||
175 | AWK = @AWK@ | ||
176 | CC = @CC@ | ||
177 | CCDEPMODE = @CCDEPMODE@ | ||
178 | CFLAGS = @CFLAGS@ | ||
179 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
180 | CHECK_LIBS = @CHECK_LIBS@ | ||
181 | CPP = @CPP@ | ||
182 | CPPFLAGS = @CPPFLAGS@ | ||
183 | CXX = @CXX@ | ||
184 | CXXCPP = @CXXCPP@ | ||
185 | CXXDEPMODE = @CXXDEPMODE@ | ||
186 | CXXFLAGS = @CXXFLAGS@ | ||
187 | CYGPATH_W = @CYGPATH_W@ | ||
188 | DEFS = @DEFS@ | ||
189 | DEPDIR = @DEPDIR@ | ||
190 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
191 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
192 | DLLTOOL = @DLLTOOL@ | ||
193 | DSYMUTIL = @DSYMUTIL@ | ||
194 | DUMPBIN = @DUMPBIN@ | ||
195 | ECHO_C = @ECHO_C@ | ||
196 | ECHO_N = @ECHO_N@ | ||
197 | ECHO_T = @ECHO_T@ | ||
198 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
199 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
200 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
201 | EDB_LIBS = @EDB_LIBS@ | ||
202 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
203 | EDJE_LIBS = @EDJE_LIBS@ | ||
204 | EET_CFLAGS = @EET_CFLAGS@ | ||
205 | EET_LIBS = @EET_LIBS@ | ||
206 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
207 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
208 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
209 | EGREP = @EGREP@ | ||
210 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
211 | EINA_LIBS = @EINA_LIBS@ | ||
212 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
213 | EVAS_LIBS = @EVAS_LIBS@ | ||
214 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
215 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
216 | EVIL_LIBS = @EVIL_LIBS@ | ||
217 | EXEEXT = @EXEEXT@ | ||
218 | FGREP = @FGREP@ | ||
219 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
220 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
221 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
222 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
223 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
224 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
225 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
226 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
227 | GREP = @GREP@ | ||
228 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
229 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
230 | INSTALL = @INSTALL@ | ||
231 | INSTALL_DATA = @INSTALL_DATA@ | ||
232 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
233 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
234 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
235 | LD = @LD@ | ||
236 | LDFLAGS = @LDFLAGS@ | ||
237 | LIBOBJS = @LIBOBJS@ | ||
238 | LIBS = @LIBS@ | ||
239 | LIBTOOL = @LIBTOOL@ | ||
240 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
241 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
242 | LIPO = @LIPO@ | ||
243 | LN_S = @LN_S@ | ||
244 | LTLIBOBJS = @LTLIBOBJS@ | ||
245 | MAKEINFO = @MAKEINFO@ | ||
246 | MKDIR_P = @MKDIR_P@ | ||
247 | MODULE_ARCH = @MODULE_ARCH@ | ||
248 | NM = @NM@ | ||
249 | NMEDIT = @NMEDIT@ | ||
250 | OBJC = @OBJC@ | ||
251 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
252 | OBJCFLAGS = @OBJCFLAGS@ | ||
253 | OBJDUMP = @OBJDUMP@ | ||
254 | OBJEXT = @OBJEXT@ | ||
255 | OTOOL = @OTOOL@ | ||
256 | OTOOL64 = @OTOOL64@ | ||
257 | PACKAGE = @PACKAGE@ | ||
258 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
259 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
260 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
261 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
262 | PACKAGE_URL = @PACKAGE_URL@ | ||
263 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
264 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
265 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
266 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
267 | PKG_CONFIG = @PKG_CONFIG@ | ||
268 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
269 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
270 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
271 | PNG_LIBS = @PNG_LIBS@ | ||
272 | RANLIB = @RANLIB@ | ||
273 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
274 | SDL_LIBS = @SDL_LIBS@ | ||
275 | SED = @SED@ | ||
276 | SET_MAKE = @SET_MAKE@ | ||
277 | SHELL = @SHELL@ | ||
278 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
279 | STRIP = @STRIP@ | ||
280 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
281 | SVG_LIBS = @SVG_LIBS@ | ||
282 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
283 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
284 | VERSION = @VERSION@ | ||
285 | VMAJ = @VMAJ@ | ||
286 | WIN32_CFLAGS = @WIN32_CFLAGS@ | ||
287 | WIN32_CPPFLAGS = @WIN32_CPPFLAGS@ | ||
288 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
289 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
290 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
291 | XCB_LIBS = @XCB_LIBS@ | ||
292 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
293 | XEXT_LIBS = @XEXT_LIBS@ | ||
294 | XMKMF = @XMKMF@ | ||
295 | X_CFLAGS = @X_CFLAGS@ | ||
296 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
297 | X_LIBS = @X_LIBS@ | ||
298 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
299 | abs_builddir = @abs_builddir@ | ||
300 | abs_srcdir = @abs_srcdir@ | ||
301 | abs_top_builddir = @abs_top_builddir@ | ||
302 | abs_top_srcdir = @abs_top_srcdir@ | ||
303 | ac_ct_CC = @ac_ct_CC@ | ||
304 | ac_ct_CXX = @ac_ct_CXX@ | ||
305 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
306 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
307 | altivec_cflags = @altivec_cflags@ | ||
308 | am__include = @am__include@ | ||
309 | am__leading_dot = @am__leading_dot@ | ||
310 | am__quote = @am__quote@ | ||
311 | am__tar = @am__tar@ | ||
312 | am__untar = @am__untar@ | ||
313 | bindir = @bindir@ | ||
314 | build = @build@ | ||
315 | build_alias = @build_alias@ | ||
316 | build_cpu = @build_cpu@ | ||
317 | build_os = @build_os@ | ||
318 | build_vendor = @build_vendor@ | ||
319 | builddir = @builddir@ | ||
320 | datadir = @datadir@ | ||
321 | datarootdir = @datarootdir@ | ||
322 | dlopen_libs = @dlopen_libs@ | ||
323 | docdir = @docdir@ | ||
324 | dvidir = @dvidir@ | ||
325 | edje_cc = @edje_cc@ | ||
326 | efl_doxygen = @efl_doxygen@ | ||
327 | efl_have_doxygen = @efl_have_doxygen@ | ||
328 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
329 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
330 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
331 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
332 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
333 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
334 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
335 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
336 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
337 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
338 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
339 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
340 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
341 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
342 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
343 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
344 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
345 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
346 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
347 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
348 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
349 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
350 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
351 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
352 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
353 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
354 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
355 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
356 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
357 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
358 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
359 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
360 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
361 | evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@ | ||
362 | evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@ | ||
363 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
364 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
365 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
366 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@ | ||
367 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
368 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
369 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
370 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
371 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
372 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
373 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
374 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
375 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
376 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
377 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
378 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
379 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
380 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
381 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
382 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
383 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
384 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
385 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
386 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
387 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
388 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
389 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
390 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
391 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
392 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
393 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
394 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
395 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
396 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
397 | exec_prefix = @exec_prefix@ | ||
398 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
399 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
400 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
401 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
402 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
403 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
404 | have_lcov = @have_lcov@ | ||
405 | host = @host@ | ||
406 | host_alias = @host_alias@ | ||
407 | host_cpu = @host_cpu@ | ||
408 | host_os = @host_os@ | ||
409 | host_vendor = @host_vendor@ | ||
410 | htmldir = @htmldir@ | ||
411 | includedir = @includedir@ | ||
412 | infodir = @infodir@ | ||
413 | install_sh = @install_sh@ | ||
414 | libdir = @libdir@ | ||
415 | libexecdir = @libexecdir@ | ||
416 | localedir = @localedir@ | ||
417 | localstatedir = @localstatedir@ | ||
418 | lt_ECHO = @lt_ECHO@ | ||
419 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
420 | mandir = @mandir@ | ||
421 | mkdir_p = @mkdir_p@ | ||
422 | oldincludedir = @oldincludedir@ | ||
423 | pdfdir = @pdfdir@ | ||
424 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
425 | prefix = @prefix@ | ||
426 | program_transform_name = @program_transform_name@ | ||
427 | psdir = @psdir@ | ||
428 | pthread_cflags = @pthread_cflags@ | ||
429 | pthread_libs = @pthread_libs@ | ||
430 | release_info = @release_info@ | ||
431 | requirement_evas = @requirement_evas@ | ||
432 | sbindir = @sbindir@ | ||
433 | sharedstatedir = @sharedstatedir@ | ||
434 | srcdir = @srcdir@ | ||
435 | sysconfdir = @sysconfdir@ | ||
436 | target_alias = @target_alias@ | ||
437 | top_build_prefix = @top_build_prefix@ | ||
438 | top_builddir = @top_builddir@ | ||
439 | top_srcdir = @top_srcdir@ | ||
440 | version_info = @version_info@ | ||
441 | MAINTAINERCLEANFILES = Makefile.in | ||
442 | AM_CPPFLAGS = \ | ||
443 | -I. \ | ||
444 | -I$(top_srcdir)/src/lib \ | ||
445 | -I$(top_srcdir)/src/lib/include \ | ||
446 | -I$(top_srcdir)/src/modules/engines \ | ||
447 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
448 | @EINA_CFLAGS@ \ | ||
449 | @FREETYPE_CFLAGS@ \ | ||
450 | @PIXMAN_CFLAGS@ \ | ||
451 | @evas_engine_software_16_ddraw_cflags@ | ||
452 | |||
453 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@SOFTWARE_16_DDRAW_SOURCES = \ | ||
454 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@evas_engine.c \ | ||
455 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@evas_ddraw_buffer.cpp \ | ||
456 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@evas_ddraw_main.cpp | ||
457 | |||
458 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@SOFTWARE_16_DDRAW_LIBADD = @evas_engine_software_16_ddraw_libs@ | ||
459 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@includes_HEADERS = Evas_Engine_Software_16_DDraw.h | ||
460 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@includesdir = $(includedir)/evas-@VMAJ@ | ||
461 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_ddraw/$(MODULE_ARCH) | ||
462 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@pkg_LTLIBRARIES = module.la | ||
463 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@module_la_SOURCES = $(SOFTWARE_16_DDRAW_SOURCES) | ||
464 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@module_la_CXXFLAGS = -fno-rtti -fno-exceptions | ||
465 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@module_la_LIBADD = $(top_builddir)/src/lib/libevas.la @EINA_LIBS@ $(SOFTWARE_16_DDRAW_LIBADD) | ||
466 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@module_la_LDFLAGS = @lt_enable_auto_import@ -no-undefined -module -avoid-version | ||
467 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static | ||
468 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_ddraw.la | ||
469 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE@libevas_engine_software_16_ddraw_la_SOURCES = $(SOFTWARE_16_DDRAW_SOURCES) | ||
470 | @BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE@libevas_engine_software_16_ddraw_la_LIBADD = $(SOFTWARE_16_DDRAW_LIBADD) | ||
471 | EXTRA_DIST = evas_engine.h | ||
472 | all: all-am | ||
473 | |||
474 | .SUFFIXES: | ||
475 | .SUFFIXES: .c .cpp .lo .o .obj | ||
476 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
477 | @for dep in $?; do \ | ||
478 | case '$(am__configure_deps)' in \ | ||
479 | *$$dep*) \ | ||
480 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
481 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
482 | exit 1;; \ | ||
483 | esac; \ | ||
484 | done; \ | ||
485 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/engines/software_16_ddraw/Makefile'; \ | ||
486 | $(am__cd) $(top_srcdir) && \ | ||
487 | $(AUTOMAKE) --gnu src/modules/engines/software_16_ddraw/Makefile | ||
488 | .PRECIOUS: Makefile | ||
489 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
490 | @case '$?' in \ | ||
491 | *config.status*) \ | ||
492 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
493 | *) \ | ||
494 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
495 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
496 | esac; | ||
497 | |||
498 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
499 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
500 | |||
501 | $(top_srcdir)/configure: $(am__configure_deps) | ||
502 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
503 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
504 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
505 | $(am__aclocal_m4_deps): | ||
506 | |||
507 | clean-noinstLTLIBRARIES: | ||
508 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
509 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
510 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
511 | test "$$dir" != "$$p" || dir=.; \ | ||
512 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
513 | rm -f "$${dir}/so_locations"; \ | ||
514 | done | ||
515 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
516 | @$(NORMAL_INSTALL) | ||
517 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
518 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
519 | list2=; for p in $$list; do \ | ||
520 | if test -f $$p; then \ | ||
521 | list2="$$list2 $$p"; \ | ||
522 | else :; fi; \ | ||
523 | done; \ | ||
524 | test -z "$$list2" || { \ | ||
525 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
526 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
527 | } | ||
528 | |||
529 | uninstall-pkgLTLIBRARIES: | ||
530 | @$(NORMAL_UNINSTALL) | ||
531 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
532 | for p in $$list; do \ | ||
533 | $(am__strip_dir) \ | ||
534 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
535 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
536 | done | ||
537 | |||
538 | clean-pkgLTLIBRARIES: | ||
539 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
540 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
541 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
542 | test "$$dir" != "$$p" || dir=.; \ | ||
543 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
544 | rm -f "$${dir}/so_locations"; \ | ||
545 | done | ||
546 | libevas_engine_software_16_ddraw.la: $(libevas_engine_software_16_ddraw_la_OBJECTS) $(libevas_engine_software_16_ddraw_la_DEPENDENCIES) | ||
547 | $(AM_V_CXXLD)$(CXXLINK) $(am_libevas_engine_software_16_ddraw_la_rpath) $(libevas_engine_software_16_ddraw_la_OBJECTS) $(libevas_engine_software_16_ddraw_la_LIBADD) $(LIBS) | ||
548 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
549 | $(AM_V_CXXLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
550 | |||
551 | mostlyclean-compile: | ||
552 | -rm -f *.$(OBJEXT) | ||
553 | |||
554 | distclean-compile: | ||
555 | -rm -f *.tab.c | ||
556 | |||
557 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_ddraw_buffer.Plo@am__quote@ | ||
558 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_ddraw_main.Plo@am__quote@ | ||
559 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@ | ||
560 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_ddraw_buffer.Plo@am__quote@ | ||
561 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_ddraw_main.Plo@am__quote@ | ||
562 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_engine.Plo@am__quote@ | ||
563 | |||
564 | .c.o: | ||
565 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
566 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
567 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
568 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
569 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
570 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
571 | |||
572 | .c.obj: | ||
573 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
574 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
575 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
576 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
577 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
578 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
579 | |||
580 | .c.lo: | ||
581 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
582 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
583 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
584 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
585 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
586 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
587 | |||
588 | module_la-evas_engine.lo: evas_engine.c | ||
589 | @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 | ||
590 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo | ||
591 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
592 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ | ||
593 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
594 | @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 | ||
595 | |||
596 | .cpp.o: | ||
597 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
598 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
599 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
600 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
601 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
602 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | ||
603 | |||
604 | .cpp.obj: | ||
605 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
606 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
607 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
608 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
609 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
610 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||
611 | |||
612 | .cpp.lo: | ||
613 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
614 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
615 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
616 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
617 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
618 | @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< | ||
619 | |||
620 | module_la-evas_ddraw_buffer.lo: evas_ddraw_buffer.cpp | ||
621 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CXXFLAGS) $(CXXFLAGS) -MT module_la-evas_ddraw_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_ddraw_buffer.Tpo -c -o module_la-evas_ddraw_buffer.lo `test -f 'evas_ddraw_buffer.cpp' || echo '$(srcdir)/'`evas_ddraw_buffer.cpp | ||
622 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_ddraw_buffer.Tpo $(DEPDIR)/module_la-evas_ddraw_buffer.Plo | ||
623 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
624 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='evas_ddraw_buffer.cpp' object='module_la-evas_ddraw_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
625 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
626 | @am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CXXFLAGS) $(CXXFLAGS) -c -o module_la-evas_ddraw_buffer.lo `test -f 'evas_ddraw_buffer.cpp' || echo '$(srcdir)/'`evas_ddraw_buffer.cpp | ||
627 | |||
628 | module_la-evas_ddraw_main.lo: evas_ddraw_main.cpp | ||
629 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CXXFLAGS) $(CXXFLAGS) -MT module_la-evas_ddraw_main.lo -MD -MP -MF $(DEPDIR)/module_la-evas_ddraw_main.Tpo -c -o module_la-evas_ddraw_main.lo `test -f 'evas_ddraw_main.cpp' || echo '$(srcdir)/'`evas_ddraw_main.cpp | ||
630 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_ddraw_main.Tpo $(DEPDIR)/module_la-evas_ddraw_main.Plo | ||
631 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
632 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='evas_ddraw_main.cpp' object='module_la-evas_ddraw_main.lo' libtool=yes @AMDEPBACKSLASH@ | ||
633 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
634 | @am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CXXFLAGS) $(CXXFLAGS) -c -o module_la-evas_ddraw_main.lo `test -f 'evas_ddraw_main.cpp' || echo '$(srcdir)/'`evas_ddraw_main.cpp | ||
635 | |||
636 | mostlyclean-libtool: | ||
637 | -rm -f *.lo | ||
638 | |||
639 | clean-libtool: | ||
640 | -rm -rf .libs _libs | ||
641 | install-includesHEADERS: $(includes_HEADERS) | ||
642 | @$(NORMAL_INSTALL) | ||
643 | test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)" | ||
644 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
645 | for p in $$list; do \ | ||
646 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
647 | echo "$$d$$p"; \ | ||
648 | done | $(am__base_list) | \ | ||
649 | while read files; do \ | ||
650 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \ | ||
651 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \ | ||
652 | done | ||
653 | |||
654 | uninstall-includesHEADERS: | ||
655 | @$(NORMAL_UNINSTALL) | ||
656 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
657 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
658 | test -n "$$files" || exit 0; \ | ||
659 | echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \ | ||
660 | cd "$(DESTDIR)$(includesdir)" && rm -f $$files | ||
661 | |||
662 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
663 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
664 | unique=`for i in $$list; do \ | ||
665 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
666 | done | \ | ||
667 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
668 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
669 | mkid -fID $$unique | ||
670 | tags: TAGS | ||
671 | |||
672 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
673 | $(TAGS_FILES) $(LISP) | ||
674 | set x; \ | ||
675 | here=`pwd`; \ | ||
676 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
677 | unique=`for i in $$list; do \ | ||
678 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
679 | done | \ | ||
680 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
681 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
682 | shift; \ | ||
683 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
684 | test -n "$$unique" || unique=$$empty_fix; \ | ||
685 | if test $$# -gt 0; then \ | ||
686 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
687 | "$$@" $$unique; \ | ||
688 | else \ | ||
689 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
690 | $$unique; \ | ||
691 | fi; \ | ||
692 | fi | ||
693 | ctags: CTAGS | ||
694 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
695 | $(TAGS_FILES) $(LISP) | ||
696 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
697 | unique=`for i in $$list; do \ | ||
698 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
699 | done | \ | ||
700 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
701 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
702 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
703 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
704 | $$unique | ||
705 | |||
706 | GTAGS: | ||
707 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
708 | && $(am__cd) $(top_srcdir) \ | ||
709 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
710 | |||
711 | distclean-tags: | ||
712 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
713 | |||
714 | distdir: $(DISTFILES) | ||
715 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
716 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
717 | list='$(DISTFILES)'; \ | ||
718 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
719 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
720 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
721 | case $$dist_files in \ | ||
722 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
723 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
724 | sort -u` ;; \ | ||
725 | esac; \ | ||
726 | for file in $$dist_files; do \ | ||
727 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
728 | if test -d $$d/$$file; then \ | ||
729 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
730 | if test -d "$(distdir)/$$file"; then \ | ||
731 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
732 | fi; \ | ||
733 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
734 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
735 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
736 | fi; \ | ||
737 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
738 | else \ | ||
739 | test -f "$(distdir)/$$file" \ | ||
740 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
741 | || exit 1; \ | ||
742 | fi; \ | ||
743 | done | ||
744 | check-am: all-am | ||
745 | check: check-am | ||
746 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
747 | installdirs: | ||
748 | for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
749 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
750 | done | ||
751 | install: install-am | ||
752 | install-exec: install-exec-am | ||
753 | install-data: install-data-am | ||
754 | uninstall: uninstall-am | ||
755 | |||
756 | install-am: all-am | ||
757 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
758 | |||
759 | installcheck: installcheck-am | ||
760 | install-strip: | ||
761 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
762 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
763 | `test -z '$(STRIP)' || \ | ||
764 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
765 | mostlyclean-generic: | ||
766 | |||
767 | clean-generic: | ||
768 | |||
769 | distclean-generic: | ||
770 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
771 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
772 | |||
773 | maintainer-clean-generic: | ||
774 | @echo "This command is intended for maintainers to use" | ||
775 | @echo "it deletes files that may require special tools to rebuild." | ||
776 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
777 | clean: clean-am | ||
778 | |||
779 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
780 | clean-pkgLTLIBRARIES mostlyclean-am | ||
781 | |||
782 | distclean: distclean-am | ||
783 | -rm -rf ./$(DEPDIR) | ||
784 | -rm -f Makefile | ||
785 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
786 | distclean-tags | ||
787 | |||
788 | dvi: dvi-am | ||
789 | |||
790 | dvi-am: | ||
791 | |||
792 | html: html-am | ||
793 | |||
794 | html-am: | ||
795 | |||
796 | info: info-am | ||
797 | |||
798 | info-am: | ||
799 | |||
800 | install-data-am: install-includesHEADERS install-pkgLTLIBRARIES | ||
801 | |||
802 | install-dvi: install-dvi-am | ||
803 | |||
804 | install-dvi-am: | ||
805 | |||
806 | install-exec-am: | ||
807 | |||
808 | install-html: install-html-am | ||
809 | |||
810 | install-html-am: | ||
811 | |||
812 | install-info: install-info-am | ||
813 | |||
814 | install-info-am: | ||
815 | |||
816 | install-man: | ||
817 | |||
818 | install-pdf: install-pdf-am | ||
819 | |||
820 | install-pdf-am: | ||
821 | |||
822 | install-ps: install-ps-am | ||
823 | |||
824 | install-ps-am: | ||
825 | |||
826 | installcheck-am: | ||
827 | |||
828 | maintainer-clean: maintainer-clean-am | ||
829 | -rm -rf ./$(DEPDIR) | ||
830 | -rm -f Makefile | ||
831 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
832 | |||
833 | mostlyclean: mostlyclean-am | ||
834 | |||
835 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
836 | mostlyclean-libtool | ||
837 | |||
838 | pdf: pdf-am | ||
839 | |||
840 | pdf-am: | ||
841 | |||
842 | ps: ps-am | ||
843 | |||
844 | ps-am: | ||
845 | |||
846 | uninstall-am: uninstall-includesHEADERS uninstall-pkgLTLIBRARIES | ||
847 | |||
848 | .MAKE: install-am install-strip | ||
849 | |||
850 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
851 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
852 | ctags distclean distclean-compile distclean-generic \ | ||
853 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
854 | html-am info info-am install install-am install-data \ | ||
855 | install-data-am install-dvi install-dvi-am install-exec \ | ||
856 | install-exec-am install-html install-html-am \ | ||
857 | install-includesHEADERS install-info install-info-am \ | ||
858 | install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \ | ||
859 | install-ps install-ps-am install-strip installcheck \ | ||
860 | installcheck-am installdirs maintainer-clean \ | ||
861 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
862 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
863 | tags uninstall uninstall-am uninstall-includesHEADERS \ | ||
864 | uninstall-pkgLTLIBRARIES | ||
865 | |||
866 | |||
867 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
868 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
869 | .NOEXPORT: | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/evas_ddraw_buffer.cpp b/libraries/evas/src/modules/engines/software_16_ddraw/evas_ddraw_buffer.cpp new file mode 100644 index 0000000..7a0a8b7 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/evas_ddraw_buffer.cpp | |||
@@ -0,0 +1,87 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_engine.h" | ||
3 | |||
4 | |||
5 | DDraw_Output_Buffer * | ||
6 | evas_software_ddraw_output_buffer_new(HWND window, | ||
7 | LPDIRECTDRAW object, | ||
8 | LPDIRECTDRAWSURFACE surface_primary, | ||
9 | LPDIRECTDRAWSURFACE surface_back, | ||
10 | LPDIRECTDRAWSURFACE surface_source, | ||
11 | int width, | ||
12 | int height) | ||
13 | { | ||
14 | DDSURFACEDESC surface_desc; | ||
15 | DDraw_Output_Buffer *ddob; | ||
16 | |||
17 | ddob = (DDraw_Output_Buffer *)calloc(1, sizeof(DDraw_Output_Buffer)); | ||
18 | if (!ddob) return NULL; | ||
19 | |||
20 | ddob->dd.window = window; | ||
21 | ddob->dd.object = object; | ||
22 | ddob->dd.surface_primary = surface_primary; | ||
23 | ddob->dd.surface_back = surface_back; | ||
24 | ddob->dd.surface_source = surface_source; | ||
25 | ddob->width = width; | ||
26 | ddob->height = height; | ||
27 | ddob->pitch = width * 2; | ||
28 | |||
29 | ZeroMemory(&surface_desc, sizeof(surface_desc)); | ||
30 | surface_desc.dwSize = sizeof(surface_desc); | ||
31 | |||
32 | if (FAILED(ddob->dd.surface_source->Lock(NULL, | ||
33 | &surface_desc, | ||
34 | DDLOCK_WAIT | DDLOCK_SURFACEMEMORYPTR, | ||
35 | NULL))) | ||
36 | { | ||
37 | free(ddob); | ||
38 | return NULL; | ||
39 | } | ||
40 | |||
41 | ddob->data = (DATA16 *)surface_desc.lpSurface; | ||
42 | |||
43 | if (FAILED(ddob->dd.surface_source->Unlock(NULL))) | ||
44 | { | ||
45 | free(ddob); | ||
46 | return NULL; | ||
47 | } | ||
48 | if (ddob->im) | ||
49 | evas_cache_image_drop(&ddob->im->cache_entry); | ||
50 | |||
51 | ddob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), width, height, (DATA32 *) ddob->data, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
52 | if (ddob->im) | ||
53 | ddob->im->stride = ddob->pitch; | ||
54 | |||
55 | return ddob; | ||
56 | } | ||
57 | |||
58 | void | ||
59 | evas_software_ddraw_output_buffer_free(DDraw_Output_Buffer *ddob, int sync) | ||
60 | { | ||
61 | free(ddob); | ||
62 | } | ||
63 | |||
64 | void | ||
65 | evas_software_ddraw_output_buffer_paste(DDraw_Output_Buffer *ddob) | ||
66 | { | ||
67 | RECT dst_rect; | ||
68 | RECT src_rect; | ||
69 | POINT p; | ||
70 | |||
71 | SetRect(&src_rect, 0, 0, ddob->width, ddob->height); | ||
72 | |||
73 | if (FAILED(ddob->dd.surface_back->BltFast(0, 0, | ||
74 | ddob->dd.surface_source, | ||
75 | &src_rect, | ||
76 | DDBLTFAST_NOCOLORKEY | DDBLTFAST_WAIT))) | ||
77 | return; | ||
78 | |||
79 | p.x = 0; | ||
80 | p.y = 0; | ||
81 | ClientToScreen(ddob->dd.window, &p); | ||
82 | GetClientRect(ddob->dd.window, &dst_rect); | ||
83 | OffsetRect(&dst_rect, p.x, p.y); | ||
84 | ddob->dd.surface_primary->Blt(&dst_rect, | ||
85 | ddob->dd.surface_back, &src_rect, | ||
86 | DDBLT_WAIT, NULL); | ||
87 | } | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/evas_ddraw_main.cpp b/libraries/evas/src/modules/engines/software_16_ddraw/evas_ddraw_main.cpp new file mode 100644 index 0000000..7a2eb7f --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/evas_ddraw_main.cpp | |||
@@ -0,0 +1,71 @@ | |||
1 | #include "evas_engine.h" | ||
2 | |||
3 | |||
4 | void * | ||
5 | evas_software_ddraw_lock(DDraw_Output_Buffer *ddob, int *ddraw_width, int *ddraw_height, int *ddraw_pitch, int *ddraw_depth) | ||
6 | { | ||
7 | DDSURFACEDESC surface_desc; | ||
8 | |||
9 | ZeroMemory(&surface_desc, sizeof(surface_desc)); | ||
10 | surface_desc.dwSize = sizeof(surface_desc); | ||
11 | |||
12 | if (FAILED(ddob->dd.surface_back->Lock(NULL, | ||
13 | &surface_desc, | ||
14 | DDLOCK_WAIT | DDLOCK_SURFACEMEMORYPTR | DDLOCK_WRITEONLY, | ||
15 | NULL))) | ||
16 | return NULL; | ||
17 | |||
18 | *ddraw_width = surface_desc.dwWidth; | ||
19 | *ddraw_height = surface_desc.dwHeight; | ||
20 | *ddraw_pitch = surface_desc.lPitch; | ||
21 | *ddraw_depth = surface_desc.ddpfPixelFormat.dwRGBBitCount >> 3; | ||
22 | |||
23 | return surface_desc.lpSurface; | ||
24 | } | ||
25 | |||
26 | void | ||
27 | evas_software_ddraw_unlock_and_flip(DDraw_Output_Buffer *ddob) | ||
28 | { | ||
29 | RECT dst_rect; | ||
30 | RECT src_rect; | ||
31 | POINT p; | ||
32 | |||
33 | if (FAILED(ddob->dd.surface_back->Unlock(NULL))) | ||
34 | return; | ||
35 | |||
36 | /* we figure out where on the primary surface our window lives */ | ||
37 | p.x = 0; | ||
38 | p.y = 0; | ||
39 | ClientToScreen(ddob->dd.window, &p); | ||
40 | GetClientRect(ddob->dd.window, &dst_rect); | ||
41 | OffsetRect(&dst_rect, p.x, p.y); | ||
42 | SetRect(&src_rect, 0, 0, ddob->width, ddob->height); | ||
43 | |||
44 | /* nothing to do if the function fails, so we don't check the result */ | ||
45 | ddob->dd.surface_primary->BltFast(0, 0, | ||
46 | ddob->dd.surface_back, &dst_rect, | ||
47 | DDBLTFAST_WAIT || DDBLTFAST_NOCOLORKEY); | ||
48 | } | ||
49 | |||
50 | void | ||
51 | evas_software_ddraw_surface_resize(DDraw_Output_Buffer *ddob) | ||
52 | { | ||
53 | DDSURFACEDESC surface_desc; | ||
54 | |||
55 | ddob->dd.surface_back->Release(); | ||
56 | memset (&surface_desc, 0, sizeof (surface_desc)); | ||
57 | surface_desc.dwSize = sizeof (surface_desc); | ||
58 | /* FIXME: that code does not compile. Must know why */ | ||
59 | #if 0 | ||
60 | surface_desc.dwFlags = DDSD_HEIGHT | DDSD_WIDTH; | ||
61 | surface_desc.dwWidth = width; | ||
62 | surface_desc.dwHeight = height; | ||
63 | IDirectDrawSurface7_SetSurfaceDesc(ddob->dd.surface_back, &surface_desc, NULL); | ||
64 | #else | ||
65 | surface_desc.dwFlags = DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH; | ||
66 | surface_desc.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN; | ||
67 | surface_desc.dwWidth = ddob->width; | ||
68 | surface_desc.dwHeight = ddob->height; | ||
69 | ddob->dd.object->CreateSurface(&surface_desc, &ddob->dd.surface_back, NULL); | ||
70 | #endif | ||
71 | } | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/evas_engine.c b/libraries/evas/src/modules/engines/software_16_ddraw/evas_engine.c new file mode 100644 index 0000000..9629781 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/evas_engine.c | |||
@@ -0,0 +1,628 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_private.h" | ||
3 | #include "evas_engine.h" | ||
4 | #include "Evas_Engine_Software_16_DDraw.h" | ||
5 | #include "evas_common_soft16.h" | ||
6 | |||
7 | int _evas_engine_soft16_ddraw_log_dom = -1; | ||
8 | /* function tables - filled in later (func and parent func) */ | ||
9 | static Evas_Func func, pfunc; | ||
10 | |||
11 | /* engine struct data */ | ||
12 | typedef struct _Render_Engine Render_Engine; | ||
13 | |||
14 | struct _Render_Engine | ||
15 | { | ||
16 | HWND window; | ||
17 | LPDIRECTDRAW object; | ||
18 | LPDIRECTDRAWSURFACE surface_primary; | ||
19 | LPDIRECTDRAWSURFACE surface_back; | ||
20 | LPDIRECTDRAWSURFACE surface_source; | ||
21 | int width; | ||
22 | int height; | ||
23 | int rotation; | ||
24 | Tilebuf *tb; | ||
25 | Tilebuf_Rect *rects; | ||
26 | Tilebuf_Rect *cur_rect; | ||
27 | DDraw_Output_Buffer *ddob; | ||
28 | Soft16_Image *tmp_out; /* used by indirect render, like rotation */ | ||
29 | HRGN clip_rects; | ||
30 | unsigned char end : 1; | ||
31 | }; | ||
32 | |||
33 | /* prototypes we will use here */ | ||
34 | |||
35 | static void *eng_info(Evas *e); | ||
36 | static void eng_info_free(Evas *e, 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 | /* engine api this module provides */ | ||
50 | static void * | ||
51 | eng_info(Evas *e) | ||
52 | { | ||
53 | Evas_Engine_Info_Software_16_DDraw *info; | ||
54 | info = calloc(1, sizeof(Evas_Engine_Info_Software_16_DDraw)); | ||
55 | if (!info) return NULL; | ||
56 | info->magic.magic = rand(); | ||
57 | info->render_mode = EVAS_RENDER_MODE_BLOCKING; | ||
58 | return info; | ||
59 | e = NULL; | ||
60 | } | ||
61 | |||
62 | static void | ||
63 | eng_info_free(Evas *e, void *info) | ||
64 | { | ||
65 | Evas_Engine_Info_Software_16_DDraw *in; | ||
66 | in = (Evas_Engine_Info_Software_16_DDraw *)info; | ||
67 | free(in); | ||
68 | } | ||
69 | |||
70 | static void | ||
71 | _tmp_out_alloc(Render_Engine *re) | ||
72 | { | ||
73 | Tilebuf_Rect *r; | ||
74 | int w = 0, h = 0; | ||
75 | |||
76 | EINA_INLIST_FOREACH(re->rects, r) | ||
77 | { | ||
78 | if (r->w > w) w = r->w; | ||
79 | if (r->h > h) h = r->h; | ||
80 | } | ||
81 | |||
82 | if (re->tmp_out) | ||
83 | { | ||
84 | if ((re->tmp_out->cache_entry.w < w) || (re->tmp_out->cache_entry.h < h)) | ||
85 | { | ||
86 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
87 | re->tmp_out = NULL; | ||
88 | } | ||
89 | } | ||
90 | |||
91 | if (!re->tmp_out) | ||
92 | { | ||
93 | Soft16_Image *im; | ||
94 | |||
95 | im = (Soft16_Image *) evas_cache_image_empty(evas_common_soft16_image_cache_get()); | ||
96 | im->cache_entry.flags.alpha = 0; | ||
97 | evas_cache_image_surface_alloc(&im->cache_entry, w, h); | ||
98 | |||
99 | re->tmp_out = im; | ||
100 | } | ||
101 | } | ||
102 | |||
103 | |||
104 | static int | ||
105 | eng_setup(Evas *e, void *in) | ||
106 | { | ||
107 | Render_Engine *re; | ||
108 | Evas_Engine_Info_Software_16_DDraw *info; | ||
109 | |||
110 | info = (Evas_Engine_Info_Software_16_DDraw *)in; | ||
111 | if (!e->engine.data.output) | ||
112 | { | ||
113 | /* the only check - simplistic, i know, but enough for this | ||
114 | * "special purpose" engine. Remember it is meant to be used | ||
115 | * for limited power devices that have a 16bit display mode | ||
116 | * and no real other acceleration, and high resolution so we | ||
117 | * can pre-dither into 16bpp. */ | ||
118 | if (info->info.depth != 16) | ||
119 | return 0; | ||
120 | /* do common routine init - we wil at least use it for core | ||
121 | * image loading and font loading/glyph rendering & placement */ | ||
122 | evas_common_cpu_init(); | ||
123 | |||
124 | evas_common_blend_init(); | ||
125 | evas_common_image_init(); | ||
126 | evas_common_convert_init(); | ||
127 | evas_common_scale_init(); | ||
128 | evas_common_rectangle_init(); | ||
129 | evas_common_polygon_init(); | ||
130 | evas_common_line_init(); | ||
131 | evas_common_font_init(); | ||
132 | evas_common_draw_init(); | ||
133 | evas_common_tilebuf_init(); | ||
134 | evas_common_soft16_image_init(); | ||
135 | |||
136 | /* render engine specific data */ | ||
137 | re = calloc(1, sizeof(Render_Engine)); | ||
138 | if (!re) | ||
139 | return 0; | ||
140 | e->engine.data.output = re; | ||
141 | re->window = info->info.window; | ||
142 | re->object = info->info.object; | ||
143 | re->surface_primary = info->info.surface_primary; | ||
144 | re->surface_back = info->info.surface_back; | ||
145 | re->surface_source = info->info.surface_source; | ||
146 | re->width = e->output.w; | ||
147 | re->height = e->output.h; | ||
148 | re->rotation = info->info.rotation; | ||
149 | re->tb = evas_common_tilebuf_new(e->output.w, e->output.h); | ||
150 | if (re->tb) | ||
151 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
152 | } | ||
153 | else | ||
154 | { | ||
155 | /* we changed the info after first init - do a re-eval where | ||
156 | * appropriate */ | ||
157 | if (info->info.depth != 16) | ||
158 | return 0; | ||
159 | re = e->engine.data.output; | ||
160 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
161 | re->window = info->info.window; | ||
162 | re->object = info->info.object; | ||
163 | re->surface_primary = info->info.surface_primary; | ||
164 | re->surface_back = info->info.surface_back; | ||
165 | re->surface_source = info->info.surface_source; | ||
166 | re->width = e->output.w; | ||
167 | re->height = e->output.h; | ||
168 | re->rotation = info->info.rotation; | ||
169 | re->tb = evas_common_tilebuf_new(e->output.w, e->output.h); | ||
170 | if (re->tb) | ||
171 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
172 | if (re->tmp_out) | ||
173 | { | ||
174 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
175 | re->tmp_out = NULL; | ||
176 | } | ||
177 | } | ||
178 | if (!e->engine.data.output) return 0; | ||
179 | /* add a draw context if we dont have one */ | ||
180 | if (!e->engine.data.context) | ||
181 | e->engine.data.context = | ||
182 | e->engine.func->context_new(e->engine.data.output); | ||
183 | |||
184 | return 1; | ||
185 | } | ||
186 | |||
187 | static void | ||
188 | eng_output_free(void *data) | ||
189 | { | ||
190 | Render_Engine *re; | ||
191 | |||
192 | re = (Render_Engine *)data; | ||
193 | if (re->ddob) evas_software_ddraw_output_buffer_free(re->ddob, 0); | ||
194 | if (re->clip_rects) DeleteObject(re->clip_rects); | ||
195 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
196 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
197 | if (re->tmp_out) evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
198 | free(re); | ||
199 | |||
200 | evas_common_font_shutdown(); | ||
201 | evas_common_image_shutdown(); | ||
202 | evas_common_soft16_image_shutdown(); | ||
203 | } | ||
204 | |||
205 | static void | ||
206 | eng_output_resize(void *data, int w, int h) | ||
207 | { | ||
208 | Render_Engine *re; | ||
209 | |||
210 | re = (Render_Engine *)data; | ||
211 | |||
212 | if ((re->width == w) && (re->height == h)) return; | ||
213 | |||
214 | if (re->ddob) | ||
215 | evas_software_ddraw_surface_resize(re->ddob); | ||
216 | |||
217 | evas_common_tilebuf_free(re->tb); | ||
218 | re->width = w; | ||
219 | re->height = h; | ||
220 | re->tb = evas_common_tilebuf_new(w, h); | ||
221 | if (re->tb) | ||
222 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
223 | if (re->ddob) | ||
224 | { | ||
225 | evas_software_ddraw_output_buffer_free(re->ddob, 0); | ||
226 | re->ddob = NULL; | ||
227 | } | ||
228 | if (re->clip_rects) | ||
229 | { | ||
230 | DeleteObject(re->clip_rects); | ||
231 | re->clip_rects = NULL; | ||
232 | } | ||
233 | if (re->tmp_out) | ||
234 | { | ||
235 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
236 | re->tmp_out = NULL; | ||
237 | } | ||
238 | } | ||
239 | |||
240 | static void | ||
241 | eng_output_tile_size_set(void *data, int w, int h) | ||
242 | { | ||
243 | Render_Engine *re; | ||
244 | |||
245 | re = (Render_Engine *)data; | ||
246 | evas_common_tilebuf_set_tile_size(re->tb, w, h); | ||
247 | } | ||
248 | |||
249 | static void | ||
250 | eng_output_redraws_rect_add(void *data, int x, int y, int w, int h) | ||
251 | { | ||
252 | Render_Engine *re; | ||
253 | |||
254 | re = (Render_Engine *)data; | ||
255 | evas_common_tilebuf_add_redraw(re->tb, x, y, w, h); | ||
256 | } | ||
257 | |||
258 | static void | ||
259 | eng_output_redraws_rect_del(void *data, int x, int y, int w, int h) | ||
260 | { | ||
261 | Render_Engine *re; | ||
262 | |||
263 | re = (Render_Engine *)data; | ||
264 | evas_common_tilebuf_del_redraw(re->tb, x, y, w, h); | ||
265 | } | ||
266 | |||
267 | static void | ||
268 | eng_output_redraws_clear(void *data) | ||
269 | { | ||
270 | Render_Engine *re; | ||
271 | |||
272 | re = (Render_Engine *)data; | ||
273 | evas_common_tilebuf_clear(re->tb); | ||
274 | } | ||
275 | |||
276 | static inline void | ||
277 | _output_buffer_alloc(Render_Engine *re) | ||
278 | { | ||
279 | int width; | ||
280 | int height; | ||
281 | |||
282 | if (re->ddob) return; | ||
283 | |||
284 | if ((re->rotation == 0) || (re->rotation == 180)) | ||
285 | { | ||
286 | width = re->width; | ||
287 | height = re->height; | ||
288 | } | ||
289 | else | ||
290 | { | ||
291 | width = re->height; | ||
292 | height = re->width; | ||
293 | } | ||
294 | |||
295 | re->ddob = evas_software_ddraw_output_buffer_new(re->window, | ||
296 | re->object, | ||
297 | re->surface_primary, | ||
298 | re->surface_back, | ||
299 | re->surface_source, | ||
300 | width, | ||
301 | height); | ||
302 | } | ||
303 | |||
304 | static void * | ||
305 | eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, int *cx, int *cy, int *cw, int *ch) | ||
306 | { | ||
307 | Render_Engine *re; | ||
308 | Tilebuf_Rect *rect; | ||
309 | int ux, uy, uw, uh; | ||
310 | |||
311 | re = (Render_Engine *)data; | ||
312 | if (re->end) | ||
313 | { | ||
314 | re->end = 0; | ||
315 | return NULL; | ||
316 | } | ||
317 | if (!re->rects) | ||
318 | { | ||
319 | re->rects = evas_common_tilebuf_get_render_rects(re->tb); | ||
320 | if (!re->rects) return NULL; | ||
321 | |||
322 | re->cur_rect = re->rects; | ||
323 | _output_buffer_alloc(re); | ||
324 | if (re->rotation != 0) _tmp_out_alloc(re); /* grows if required */ | ||
325 | } | ||
326 | if (!re->cur_rect) | ||
327 | { | ||
328 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
329 | re->rects = NULL; | ||
330 | return NULL; | ||
331 | } | ||
332 | rect = re->cur_rect; | ||
333 | ux = rect->x; uy = rect->y; uw = rect->w; uh = rect->h; | ||
334 | re->cur_rect = (Tilebuf_Rect *)((EINA_INLIST_GET(re->cur_rect))->next); | ||
335 | if (!re->cur_rect) | ||
336 | { | ||
337 | evas_common_tilebuf_free_render_rects(re->rects); | ||
338 | re->rects = NULL; | ||
339 | re->end = 1; | ||
340 | } | ||
341 | |||
342 | *x = ux; *y = uy; *w = uw; *h = uh; | ||
343 | if (re->rotation == 0) | ||
344 | { | ||
345 | *cx = ux; *cy = uy; *cw = uw; *ch = uh; | ||
346 | return &re->ddob->im; | ||
347 | } | ||
348 | else | ||
349 | { | ||
350 | *cx = 0; *cy = 0; *cw = uw; *ch = uh; | ||
351 | return re->tmp_out; | ||
352 | } | ||
353 | } | ||
354 | |||
355 | static void | ||
356 | _blit_rot_90(Soft16_Image *dst, const Soft16_Image *src, | ||
357 | int out_x, int out_y, int w, int h) | ||
358 | { | ||
359 | DATA16 *dp, *sp; | ||
360 | int x, y; | ||
361 | |||
362 | sp = src->pixels; | ||
363 | dp = dst->pixels + (out_x + | ||
364 | (w + out_y - 1) * dst->stride); | ||
365 | |||
366 | for (y = 0; y < h; y++) | ||
367 | { | ||
368 | DATA16 *dp_itr, *sp_itr; | ||
369 | |||
370 | sp_itr = sp; | ||
371 | dp_itr = dp; | ||
372 | |||
373 | for (x = 0; x < w; x++) | ||
374 | { | ||
375 | *dp_itr = *sp_itr; | ||
376 | |||
377 | sp_itr++; | ||
378 | dp_itr -= dst->stride; | ||
379 | } | ||
380 | sp += src->stride; | ||
381 | dp++; | ||
382 | } | ||
383 | } | ||
384 | |||
385 | static void | ||
386 | _blit_rot_180(Soft16_Image *dst, const Soft16_Image *src, | ||
387 | int out_x, int out_y, int w, int h) | ||
388 | { | ||
389 | DATA16 *dp, *sp; | ||
390 | int x, y; | ||
391 | |||
392 | sp = src->pixels; | ||
393 | dp = dst->pixels + ((w + out_x - 1) + | ||
394 | (h + out_y - 1) * dst->stride); | ||
395 | |||
396 | for (y = 0; y < h; y++) | ||
397 | { | ||
398 | DATA16 *dp_itr, *sp_itr; | ||
399 | |||
400 | sp_itr = sp; | ||
401 | dp_itr = dp; | ||
402 | |||
403 | for (x = 0; x < w; x++) | ||
404 | { | ||
405 | *dp_itr = *sp_itr; | ||
406 | |||
407 | sp_itr++; | ||
408 | dp_itr--; | ||
409 | } | ||
410 | sp += src->stride; | ||
411 | dp -= dst->stride; | ||
412 | } | ||
413 | } | ||
414 | |||
415 | static void | ||
416 | _blit_rot_270(Soft16_Image *dst, const Soft16_Image *src, | ||
417 | int out_x, int out_y, int w, int h) | ||
418 | { | ||
419 | DATA16 *dp, *sp; | ||
420 | int x, y; | ||
421 | |||
422 | sp = src->pixels; | ||
423 | dp = dst->pixels + ((h + out_x - 1) + | ||
424 | out_y * dst->stride); | ||
425 | |||
426 | for (y = 0; y < h; y++) | ||
427 | { | ||
428 | DATA16 *dp_itr, *sp_itr; | ||
429 | |||
430 | sp_itr = sp; | ||
431 | dp_itr = dp; | ||
432 | |||
433 | for (x = 0; x < w; x++) | ||
434 | { | ||
435 | *dp_itr = *sp_itr; | ||
436 | |||
437 | sp_itr++; | ||
438 | dp_itr += dst->stride; | ||
439 | } | ||
440 | sp += src->stride; | ||
441 | dp--; | ||
442 | } | ||
443 | } | ||
444 | |||
445 | static void | ||
446 | _tmp_out_process(Render_Engine *re, int out_x, int out_y, int w, int h) | ||
447 | { | ||
448 | Soft16_Image *d, *s; | ||
449 | |||
450 | d = &re->ddob->im; | ||
451 | s = re->tmp_out; | ||
452 | |||
453 | if ((w < 1) || (h < 1) || (out_x >= d->cache_entry.w) || (out_y >= d->cache_entry.h)) | ||
454 | return; | ||
455 | |||
456 | if (re->rotation == 90) | ||
457 | _blit_rot_90(d, s, out_x, out_y, w, h); | ||
458 | else if (re->rotation == 180) | ||
459 | _blit_rot_180(d, s, out_x, out_y, w, h); | ||
460 | else if (re->rotation == 270) | ||
461 | _blit_rot_270(d, s, out_x, out_y, w, h); | ||
462 | } | ||
463 | |||
464 | static void | ||
465 | eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h) | ||
466 | { | ||
467 | Render_Engine *re; | ||
468 | HRGN region; | ||
469 | int xx; | ||
470 | int yy; | ||
471 | int width; | ||
472 | int height; | ||
473 | |||
474 | re = (Render_Engine *)data; | ||
475 | |||
476 | if (!re->clip_rects) | ||
477 | re->clip_rects = CreateRectRgn(0, 0, 0, 0); | ||
478 | |||
479 | if (re->rotation == 0) | ||
480 | { | ||
481 | xx = x; | ||
482 | yy = y; | ||
483 | width = w; | ||
484 | height = h; | ||
485 | } | ||
486 | else if (re->rotation == 90) | ||
487 | { | ||
488 | xx = y; | ||
489 | yy = re->width - w - x; | ||
490 | width = h; | ||
491 | height = w; | ||
492 | } | ||
493 | else if (re->rotation == 180) | ||
494 | { | ||
495 | xx = re->width - w - x; | ||
496 | yy = re->height - h - y; | ||
497 | width = w; | ||
498 | height = h; | ||
499 | } | ||
500 | else if (re->rotation == 270) | ||
501 | { | ||
502 | xx = re->height - h - y; | ||
503 | yy = x; | ||
504 | width = h; | ||
505 | height = w; | ||
506 | } | ||
507 | |||
508 | region = CreateRectRgn(xx, yy, xx + width, yy + height); | ||
509 | |||
510 | if (re->rotation != 0) | ||
511 | _tmp_out_process(re, xx, yy, w, h); | ||
512 | CombineRgn(re->clip_rects, re->clip_rects, region, RGN_OR); | ||
513 | } | ||
514 | |||
515 | static void | ||
516 | eng_output_flush(void *data) | ||
517 | { | ||
518 | Render_Engine *re; | ||
519 | void *ddraw_data; | ||
520 | int ddraw_width; | ||
521 | int ddraw_height; | ||
522 | int ddraw_pitch; | ||
523 | int ddraw_depth; | ||
524 | |||
525 | re = (Render_Engine *)data; | ||
526 | if (re->clip_rects) | ||
527 | { | ||
528 | /* FIXME : i have to manage that */ | ||
529 | /* XSetRegion(re->disp, re->gc, re->clip_rects); */ | ||
530 | DeleteObject(re->clip_rects); | ||
531 | re->clip_rects = NULL; | ||
532 | } | ||
533 | else return; | ||
534 | |||
535 | evas_software_ddraw_output_buffer_paste(re->ddob); | ||
536 | |||
537 | /* FIXME : i have to manage that */ | ||
538 | /* XSetClipMask(re->disp, re->gc, None); */ | ||
539 | } | ||
540 | |||
541 | static void | ||
542 | eng_output_idle_flush(void *data) | ||
543 | { | ||
544 | Render_Engine *re; | ||
545 | |||
546 | re = (Render_Engine *)data; | ||
547 | if (re->ddob) | ||
548 | { | ||
549 | evas_software_ddraw_output_buffer_free(re->ddob, 0); | ||
550 | re->ddob = NULL; | ||
551 | } | ||
552 | if (re->clip_rects) | ||
553 | { | ||
554 | DeleteObject(re->clip_rects); | ||
555 | re->clip_rects = NULL; | ||
556 | } | ||
557 | if (re->tmp_out) | ||
558 | { | ||
559 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
560 | re->tmp_out = NULL; | ||
561 | } | ||
562 | } | ||
563 | |||
564 | static Eina_Bool | ||
565 | eng_canvas_alpha_get(void *data, void *context) | ||
566 | { | ||
567 | return EINA_FALSE; | ||
568 | } | ||
569 | |||
570 | /* module advertising code */ | ||
571 | static int | ||
572 | module_open(Evas_Module *em) | ||
573 | { | ||
574 | if (!em) return 0; | ||
575 | /* get whatever engine module we inherit from */ | ||
576 | if (!_evas_module_engine_inherit(&pfunc, "software_16")) return 0; | ||
577 | _evas_engine_soft16_ddraw_log_dom = eina_log_domain_register | ||
578 | ("evas-software_16_ddraw", EVAS_DEFAULT_LOG_COLOR); | ||
579 | if (_evas_engine_soft16_ddraw_log_dom < 0) | ||
580 | { | ||
581 | EINA_LOG_ERR("Can not create a module log domain."); | ||
582 | return 0; | ||
583 | } | ||
584 | /* store it for later use */ | ||
585 | func = pfunc; | ||
586 | /* now to override methods */ | ||
587 | #define ORD(f) EVAS_API_OVERRIDE(f, &func, eng_) | ||
588 | ORD(info); | ||
589 | ORD(info_free); | ||
590 | ORD(setup); | ||
591 | ORD(canvas_alpha_get); | ||
592 | ORD(output_free); | ||
593 | ORD(output_resize); | ||
594 | ORD(output_tile_size_set); | ||
595 | ORD(output_redraws_rect_add); | ||
596 | ORD(output_redraws_rect_del); | ||
597 | ORD(output_redraws_clear); | ||
598 | ORD(output_redraws_next_update_get); | ||
599 | ORD(output_redraws_next_update_push); | ||
600 | ORD(output_flush); | ||
601 | ORD(output_idle_flush); | ||
602 | /* now advertise out own api */ | ||
603 | em->functions = (void *)(&func); | ||
604 | return 1; | ||
605 | } | ||
606 | |||
607 | static void | ||
608 | module_close(Evas_Module *em) | ||
609 | { | ||
610 | eina_log_domain_unregister(_evas_engine_soft16_ddraw_log_dom); | ||
611 | } | ||
612 | |||
613 | static Evas_Module_Api evas_modapi = | ||
614 | { | ||
615 | EVAS_MODULE_API_VERSION, | ||
616 | "software_16_ddraw", | ||
617 | "none", | ||
618 | { | ||
619 | module_open, | ||
620 | module_close | ||
621 | } | ||
622 | }; | ||
623 | |||
624 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, software_16_ddraw); | ||
625 | |||
626 | #ifndef EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW | ||
627 | EVAS_EINA_MODULE_DEFINE(engine, software_16_ddraw); | ||
628 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/evas_engine.h b/libraries/evas/src/modules/engines/software_16_ddraw/evas_engine.h new file mode 100644 index 0000000..fe85e97 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_ddraw/evas_engine.h | |||
@@ -0,0 +1,85 @@ | |||
1 | #ifndef __EVAS_ENGINE_H__ | ||
2 | #define __EVAS_ENGINE_H__ | ||
3 | |||
4 | #include <windows.h> | ||
5 | #include <ddraw.h> | ||
6 | |||
7 | #include "evas_common_soft16.h" | ||
8 | |||
9 | extern int _evas_engine_soft16_ddraw_log_dom ; | ||
10 | #ifdef ERR | ||
11 | # undef ERR | ||
12 | #endif | ||
13 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_soft16_ddraw_log_dom, __VA_ARGS__) | ||
14 | |||
15 | #ifdef DBG | ||
16 | # undef DBG | ||
17 | #endif | ||
18 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_soft16_ddraw_log_dom, __VA_ARGS__) | ||
19 | |||
20 | #ifdef INF | ||
21 | # undef INF | ||
22 | #endif | ||
23 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_soft16_ddraw_log_dom, __VA_ARGS__) | ||
24 | |||
25 | #ifdef WRN | ||
26 | # undef WRN | ||
27 | #endif | ||
28 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_soft16_ddraw_log_dom, __VA_ARGS__) | ||
29 | |||
30 | #ifdef CRIT | ||
31 | # undef CRIT | ||
32 | #endif | ||
33 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_soft16_ddraw_log_dom, __VA_ARGS__) | ||
34 | |||
35 | typedef struct _DDraw_Output_Buffer DDraw_Output_Buffer; | ||
36 | |||
37 | struct _DDraw_Output_Buffer | ||
38 | { | ||
39 | Soft16_Image *im; | ||
40 | struct { | ||
41 | HWND window; | ||
42 | LPDIRECTDRAW object; | ||
43 | LPDIRECTDRAWSURFACE surface_primary; | ||
44 | LPDIRECTDRAWSURFACE surface_back; | ||
45 | LPDIRECTDRAWSURFACE surface_source; | ||
46 | } dd; | ||
47 | void *data; | ||
48 | int x; | ||
49 | int y; | ||
50 | int width; | ||
51 | int height; | ||
52 | int depth; | ||
53 | int pitch; | ||
54 | }; | ||
55 | |||
56 | /****/ | ||
57 | |||
58 | #ifdef __cplusplus | ||
59 | extern "C" { | ||
60 | #endif | ||
61 | |||
62 | |||
63 | DDraw_Output_Buffer *evas_software_ddraw_output_buffer_new (HWND window, | ||
64 | LPDIRECTDRAW object, | ||
65 | LPDIRECTDRAWSURFACE surface_primary, | ||
66 | LPDIRECTDRAWSURFACE surface_back, | ||
67 | LPDIRECTDRAWSURFACE surface_source, | ||
68 | int width, | ||
69 | int height); | ||
70 | void evas_software_ddraw_output_buffer_free (DDraw_Output_Buffer *ddob, int sync); | ||
71 | void evas_software_ddraw_output_buffer_paste (DDraw_Output_Buffer *ddob); | ||
72 | |||
73 | |||
74 | void *evas_software_ddraw_lock(DDraw_Output_Buffer *ddob, int *ddraw_width, int *ddraw_height, int *ddraw_pitch, int *ddraw_depth); | ||
75 | |||
76 | void evas_software_ddraw_unlock_and_flip(DDraw_Output_Buffer *ddob); | ||
77 | |||
78 | void evas_software_ddraw_surface_resize(DDraw_Output_Buffer *ddob); | ||
79 | |||
80 | |||
81 | #ifdef __cplusplus | ||
82 | } | ||
83 | #endif | ||
84 | |||
85 | #endif /* __EVAS_ENGINE_H__ */ | ||
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Evas_Engine_SDL_16.h b/libraries/evas/src/modules/engines/software_16_sdl/Evas_Engine_SDL_16.h new file mode 100644 index 0000000..5a133fe --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_sdl/Evas_Engine_SDL_16.h | |||
@@ -0,0 +1,25 @@ | |||
1 | #ifndef _EVAS_ENGINE_SDL_16_H | ||
2 | # define _EVAS_ENGINE_SDL_16_H | ||
3 | |||
4 | #include <SDL/SDL.h> | ||
5 | |||
6 | typedef struct _Evas_Engine_Info_SDL_16 Evas_Engine_Info_SDL_16; | ||
7 | struct _Evas_Engine_Info_SDL_16 | ||
8 | { | ||
9 | /* PRIVATE - don't mess with this baby or evas will poke its tongue out */ | ||
10 | /* at you and make nasty noises */ | ||
11 | Evas_Engine_Info magic; | ||
12 | |||
13 | struct { | ||
14 | int rotation; | ||
15 | int fullscreen : 1; | ||
16 | int hwsurface : 1; | ||
17 | int noframe : 1; | ||
18 | int alpha : 1; | ||
19 | } info; | ||
20 | |||
21 | /* non-blocking or blocking mode */ | ||
22 | Evas_Engine_Render_Mode render_mode; | ||
23 | }; | ||
24 | |||
25 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am new file mode 100644 index 0000000..af0197d --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am | |||
@@ -0,0 +1,40 @@ | |||
1 | AUTOMAKE_OPTIONS = 1.4 foreign | ||
2 | |||
3 | MAINTAINERCLEANFILES = Makefile.in | ||
4 | |||
5 | INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@ | ||
6 | |||
7 | if BUILD_ENGINE_SOFTWARE_SDL | ||
8 | |||
9 | SOFTWARE_SDL_SOURCES = \ | ||
10 | evas_engine.c \ | ||
11 | evas_engine.h | ||
12 | |||
13 | |||
14 | includes_HEADERS = Evas_Engine_SDL_16.h | ||
15 | includesdir = $(includedir)/evas-@VMAJ@ | ||
16 | |||
17 | if !EVAS_STATIC_BUILD_SOFTWARE_SDL | ||
18 | |||
19 | pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH) | ||
20 | pkg_LTLIBRARIES = module.la | ||
21 | |||
22 | module_la_SOURCES = $(SOFTWARE_SDL_SOURCES) | ||
23 | |||
24 | module_la_LIBADD = @EINA_LIBS@ @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la | ||
25 | module_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src/lib -L$(top_builddir)/src/lib/.libs | ||
26 | |||
27 | else | ||
28 | |||
29 | noinst_LTLIBRARIES = libevas_engine_software_16_sdl.la | ||
30 | |||
31 | libevas_engine_software_16_sdl_la_SOURCES = $(SOFTWARE_SDL_SOURCES) | ||
32 | libevas_engine_software_16_sdl_la_LIBADD = @SDL_LIBS@ | ||
33 | |||
34 | endif | ||
35 | endif | ||
36 | |||
37 | EXTRA_DIST = \ | ||
38 | evas_engine.c \ | ||
39 | evas_engine.h \ | ||
40 | Evas_Engine_SDL_16.h | ||
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in new file mode 100644 index 0000000..219e392 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in | |||
@@ -0,0 +1,780 @@ | |||
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/software_16_sdl | ||
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_software_16_sdl_la_DEPENDENCIES = | ||
85 | am__libevas_engine_software_16_sdl_la_SOURCES_DIST = evas_engine.c \ | ||
86 | evas_engine.h | ||
87 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@am__objects_1 = evas_engine.lo | ||
88 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am_libevas_engine_software_16_sdl_la_OBJECTS = $(am__objects_1) | ||
89 | libevas_engine_software_16_sdl_la_OBJECTS = \ | ||
90 | $(am_libevas_engine_software_16_sdl_la_OBJECTS) | ||
91 | AM_V_lt = $(am__v_lt_$(V)) | ||
92 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
93 | am__v_lt_0 = --silent | ||
94 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am_libevas_engine_software_16_sdl_la_rpath = | ||
95 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la | ||
96 | am__module_la_SOURCES_DIST = evas_engine.c evas_engine.h | ||
97 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am_module_la_OBJECTS = $(am__objects_1) | ||
98 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
99 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
101 | $(module_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
102 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am_module_la_rpath = -rpath \ | ||
103 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@ $(pkgdir) | ||
104 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
105 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
106 | am__depfiles_maybe = depfiles | ||
107 | am__mv = mv -f | ||
108 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
109 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
110 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
112 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
113 | $(AM_CFLAGS) $(CFLAGS) | ||
114 | AM_V_CC = $(am__v_CC_$(V)) | ||
115 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
116 | am__v_CC_0 = @echo " CC " $@; | ||
117 | AM_V_at = $(am__v_at_$(V)) | ||
118 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
119 | am__v_at_0 = @ | ||
120 | CCLD = $(CC) | ||
121 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
122 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
123 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
124 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
125 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
126 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
127 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
128 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
129 | am__v_GEN_0 = @echo " GEN " $@; | ||
130 | SOURCES = $(libevas_engine_software_16_sdl_la_SOURCES) \ | ||
131 | $(module_la_SOURCES) | ||
132 | DIST_SOURCES = $(am__libevas_engine_software_16_sdl_la_SOURCES_DIST) \ | ||
133 | $(am__module_la_SOURCES_DIST) | ||
134 | am__includes_HEADERS_DIST = Evas_Engine_SDL_16.h | ||
135 | HEADERS = $(includes_HEADERS) | ||
136 | ETAGS = etags | ||
137 | CTAGS = ctags | ||
138 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
139 | ACLOCAL = @ACLOCAL@ | ||
140 | ALLOCA = @ALLOCA@ | ||
141 | AMTAR = @AMTAR@ | ||
142 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
143 | AR = @AR@ | ||
144 | AS = @AS@ | ||
145 | AUTOCONF = @AUTOCONF@ | ||
146 | AUTOHEADER = @AUTOHEADER@ | ||
147 | AUTOMAKE = @AUTOMAKE@ | ||
148 | AWK = @AWK@ | ||
149 | CC = @CC@ | ||
150 | CCDEPMODE = @CCDEPMODE@ | ||
151 | CFLAGS = @CFLAGS@ | ||
152 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
153 | CHECK_LIBS = @CHECK_LIBS@ | ||
154 | CPP = @CPP@ | ||
155 | CPPFLAGS = @CPPFLAGS@ | ||
156 | CXX = @CXX@ | ||
157 | CXXCPP = @CXXCPP@ | ||
158 | CXXDEPMODE = @CXXDEPMODE@ | ||
159 | CXXFLAGS = @CXXFLAGS@ | ||
160 | CYGPATH_W = @CYGPATH_W@ | ||
161 | DEFS = @DEFS@ | ||
162 | DEPDIR = @DEPDIR@ | ||
163 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
164 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
165 | DLLTOOL = @DLLTOOL@ | ||
166 | DSYMUTIL = @DSYMUTIL@ | ||
167 | DUMPBIN = @DUMPBIN@ | ||
168 | ECHO_C = @ECHO_C@ | ||
169 | ECHO_N = @ECHO_N@ | ||
170 | ECHO_T = @ECHO_T@ | ||
171 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
172 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
173 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
174 | EDB_LIBS = @EDB_LIBS@ | ||
175 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
176 | EDJE_LIBS = @EDJE_LIBS@ | ||
177 | EET_CFLAGS = @EET_CFLAGS@ | ||
178 | EET_LIBS = @EET_LIBS@ | ||
179 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
180 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
181 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
182 | EGREP = @EGREP@ | ||
183 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
184 | EINA_LIBS = @EINA_LIBS@ | ||
185 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
186 | EVAS_LIBS = @EVAS_LIBS@ | ||
187 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
188 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
189 | EVIL_LIBS = @EVIL_LIBS@ | ||
190 | EXEEXT = @EXEEXT@ | ||
191 | FGREP = @FGREP@ | ||
192 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
193 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
194 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
195 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
196 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
197 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
198 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
199 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
200 | GREP = @GREP@ | ||
201 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
202 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
203 | INSTALL = @INSTALL@ | ||
204 | INSTALL_DATA = @INSTALL_DATA@ | ||
205 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
206 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
207 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
208 | LD = @LD@ | ||
209 | LDFLAGS = @LDFLAGS@ | ||
210 | LIBOBJS = @LIBOBJS@ | ||
211 | LIBS = @LIBS@ | ||
212 | LIBTOOL = @LIBTOOL@ | ||
213 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
214 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
215 | LIPO = @LIPO@ | ||
216 | LN_S = @LN_S@ | ||
217 | LTLIBOBJS = @LTLIBOBJS@ | ||
218 | MAKEINFO = @MAKEINFO@ | ||
219 | MKDIR_P = @MKDIR_P@ | ||
220 | MODULE_ARCH = @MODULE_ARCH@ | ||
221 | NM = @NM@ | ||
222 | NMEDIT = @NMEDIT@ | ||
223 | OBJC = @OBJC@ | ||
224 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
225 | OBJCFLAGS = @OBJCFLAGS@ | ||
226 | OBJDUMP = @OBJDUMP@ | ||
227 | OBJEXT = @OBJEXT@ | ||
228 | OTOOL = @OTOOL@ | ||
229 | OTOOL64 = @OTOOL64@ | ||
230 | PACKAGE = @PACKAGE@ | ||
231 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
232 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
233 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
234 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
235 | PACKAGE_URL = @PACKAGE_URL@ | ||
236 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
237 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
238 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
239 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
240 | PKG_CONFIG = @PKG_CONFIG@ | ||
241 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
242 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
243 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
244 | PNG_LIBS = @PNG_LIBS@ | ||
245 | RANLIB = @RANLIB@ | ||
246 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
247 | SDL_LIBS = @SDL_LIBS@ | ||
248 | SED = @SED@ | ||
249 | SET_MAKE = @SET_MAKE@ | ||
250 | SHELL = @SHELL@ | ||
251 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
252 | STRIP = @STRIP@ | ||
253 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
254 | SVG_LIBS = @SVG_LIBS@ | ||
255 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
256 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
257 | VERSION = @VERSION@ | ||
258 | VMAJ = @VMAJ@ | ||
259 | WIN32_CFLAGS = @WIN32_CFLAGS@ | ||
260 | WIN32_CPPFLAGS = @WIN32_CPPFLAGS@ | ||
261 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
262 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
263 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
264 | XCB_LIBS = @XCB_LIBS@ | ||
265 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
266 | XEXT_LIBS = @XEXT_LIBS@ | ||
267 | XMKMF = @XMKMF@ | ||
268 | X_CFLAGS = @X_CFLAGS@ | ||
269 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
270 | X_LIBS = @X_LIBS@ | ||
271 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
272 | abs_builddir = @abs_builddir@ | ||
273 | abs_srcdir = @abs_srcdir@ | ||
274 | abs_top_builddir = @abs_top_builddir@ | ||
275 | abs_top_srcdir = @abs_top_srcdir@ | ||
276 | ac_ct_CC = @ac_ct_CC@ | ||
277 | ac_ct_CXX = @ac_ct_CXX@ | ||
278 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
279 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
280 | altivec_cflags = @altivec_cflags@ | ||
281 | am__include = @am__include@ | ||
282 | am__leading_dot = @am__leading_dot@ | ||
283 | am__quote = @am__quote@ | ||
284 | am__tar = @am__tar@ | ||
285 | am__untar = @am__untar@ | ||
286 | bindir = @bindir@ | ||
287 | build = @build@ | ||
288 | build_alias = @build_alias@ | ||
289 | build_cpu = @build_cpu@ | ||
290 | build_os = @build_os@ | ||
291 | build_vendor = @build_vendor@ | ||
292 | builddir = @builddir@ | ||
293 | datadir = @datadir@ | ||
294 | datarootdir = @datarootdir@ | ||
295 | dlopen_libs = @dlopen_libs@ | ||
296 | docdir = @docdir@ | ||
297 | dvidir = @dvidir@ | ||
298 | edje_cc = @edje_cc@ | ||
299 | efl_doxygen = @efl_doxygen@ | ||
300 | efl_have_doxygen = @efl_have_doxygen@ | ||
301 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
302 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
303 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
304 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
305 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
306 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
307 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
308 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
309 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
310 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
311 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
312 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
313 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
314 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
315 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
316 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
317 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
318 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
319 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
320 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
321 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
322 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
323 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
324 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
325 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
326 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
327 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
328 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
329 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
330 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
331 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
332 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
333 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
334 | evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@ | ||
335 | evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@ | ||
336 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
337 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
338 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
339 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@ | ||
340 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
341 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
342 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
343 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
344 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
345 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
346 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
347 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
348 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
349 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
350 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
351 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
352 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
353 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
354 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
355 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
356 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
357 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
358 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
359 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
360 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
361 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
362 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
363 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
364 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
365 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
366 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
367 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
368 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
369 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
370 | exec_prefix = @exec_prefix@ | ||
371 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
372 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
373 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
374 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
375 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
376 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
377 | have_lcov = @have_lcov@ | ||
378 | host = @host@ | ||
379 | host_alias = @host_alias@ | ||
380 | host_cpu = @host_cpu@ | ||
381 | host_os = @host_os@ | ||
382 | host_vendor = @host_vendor@ | ||
383 | htmldir = @htmldir@ | ||
384 | includedir = @includedir@ | ||
385 | infodir = @infodir@ | ||
386 | install_sh = @install_sh@ | ||
387 | libdir = @libdir@ | ||
388 | libexecdir = @libexecdir@ | ||
389 | localedir = @localedir@ | ||
390 | localstatedir = @localstatedir@ | ||
391 | lt_ECHO = @lt_ECHO@ | ||
392 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
393 | mandir = @mandir@ | ||
394 | mkdir_p = @mkdir_p@ | ||
395 | oldincludedir = @oldincludedir@ | ||
396 | pdfdir = @pdfdir@ | ||
397 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
398 | prefix = @prefix@ | ||
399 | program_transform_name = @program_transform_name@ | ||
400 | psdir = @psdir@ | ||
401 | pthread_cflags = @pthread_cflags@ | ||
402 | pthread_libs = @pthread_libs@ | ||
403 | release_info = @release_info@ | ||
404 | requirement_evas = @requirement_evas@ | ||
405 | sbindir = @sbindir@ | ||
406 | sharedstatedir = @sharedstatedir@ | ||
407 | srcdir = @srcdir@ | ||
408 | sysconfdir = @sysconfdir@ | ||
409 | target_alias = @target_alias@ | ||
410 | top_build_prefix = @top_build_prefix@ | ||
411 | top_builddir = @top_builddir@ | ||
412 | top_srcdir = @top_srcdir@ | ||
413 | version_info = @version_info@ | ||
414 | AUTOMAKE_OPTIONS = 1.4 foreign | ||
415 | MAINTAINERCLEANFILES = Makefile.in | ||
416 | INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@ | ||
417 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@SOFTWARE_SDL_SOURCES = \ | ||
418 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@evas_engine.c \ | ||
419 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@evas_engine.h | ||
420 | |||
421 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@includes_HEADERS = Evas_Engine_SDL_16.h | ||
422 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@includesdir = $(includedir)/evas-@VMAJ@ | ||
423 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH) | ||
424 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@pkg_LTLIBRARIES = module.la | ||
425 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_SOURCES = $(SOFTWARE_SDL_SOURCES) | ||
426 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_LIBADD = @EINA_LIBS@ @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la | ||
427 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src/lib -L$(top_builddir)/src/lib/.libs | ||
428 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_sdl.la | ||
429 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@libevas_engine_software_16_sdl_la_SOURCES = $(SOFTWARE_SDL_SOURCES) | ||
430 | @BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@libevas_engine_software_16_sdl_la_LIBADD = @SDL_LIBS@ | ||
431 | EXTRA_DIST = \ | ||
432 | evas_engine.c \ | ||
433 | evas_engine.h \ | ||
434 | Evas_Engine_SDL_16.h | ||
435 | |||
436 | all: all-am | ||
437 | |||
438 | .SUFFIXES: | ||
439 | .SUFFIXES: .c .lo .o .obj | ||
440 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
441 | @for dep in $?; do \ | ||
442 | case '$(am__configure_deps)' in \ | ||
443 | *$$dep*) \ | ||
444 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
445 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
446 | exit 1;; \ | ||
447 | esac; \ | ||
448 | done; \ | ||
449 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/modules/engines/software_16_sdl/Makefile'; \ | ||
450 | $(am__cd) $(top_srcdir) && \ | ||
451 | $(AUTOMAKE) --foreign src/modules/engines/software_16_sdl/Makefile | ||
452 | .PRECIOUS: Makefile | ||
453 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
454 | @case '$?' in \ | ||
455 | *config.status*) \ | ||
456 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
457 | *) \ | ||
458 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
459 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
460 | esac; | ||
461 | |||
462 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
463 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
464 | |||
465 | $(top_srcdir)/configure: $(am__configure_deps) | ||
466 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
467 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
468 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
469 | $(am__aclocal_m4_deps): | ||
470 | |||
471 | clean-noinstLTLIBRARIES: | ||
472 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
473 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
474 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
475 | test "$$dir" != "$$p" || dir=.; \ | ||
476 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
477 | rm -f "$${dir}/so_locations"; \ | ||
478 | done | ||
479 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
480 | @$(NORMAL_INSTALL) | ||
481 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
482 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
483 | list2=; for p in $$list; do \ | ||
484 | if test -f $$p; then \ | ||
485 | list2="$$list2 $$p"; \ | ||
486 | else :; fi; \ | ||
487 | done; \ | ||
488 | test -z "$$list2" || { \ | ||
489 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
490 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
491 | } | ||
492 | |||
493 | uninstall-pkgLTLIBRARIES: | ||
494 | @$(NORMAL_UNINSTALL) | ||
495 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
496 | for p in $$list; do \ | ||
497 | $(am__strip_dir) \ | ||
498 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
499 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
500 | done | ||
501 | |||
502 | clean-pkgLTLIBRARIES: | ||
503 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
504 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
505 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
506 | test "$$dir" != "$$p" || dir=.; \ | ||
507 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
508 | rm -f "$${dir}/so_locations"; \ | ||
509 | done | ||
510 | libevas_engine_software_16_sdl.la: $(libevas_engine_software_16_sdl_la_OBJECTS) $(libevas_engine_software_16_sdl_la_DEPENDENCIES) | ||
511 | $(AM_V_CCLD)$(LINK) $(am_libevas_engine_software_16_sdl_la_rpath) $(libevas_engine_software_16_sdl_la_OBJECTS) $(libevas_engine_software_16_sdl_la_LIBADD) $(LIBS) | ||
512 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
513 | $(AM_V_CCLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
514 | |||
515 | mostlyclean-compile: | ||
516 | -rm -f *.$(OBJEXT) | ||
517 | |||
518 | distclean-compile: | ||
519 | -rm -f *.tab.c | ||
520 | |||
521 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@ | ||
522 | |||
523 | .c.o: | ||
524 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
525 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
526 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
527 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
528 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
529 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
530 | |||
531 | .c.obj: | ||
532 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
533 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
534 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
535 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
536 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
537 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
538 | |||
539 | .c.lo: | ||
540 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
541 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
542 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
543 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
544 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
545 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
546 | |||
547 | mostlyclean-libtool: | ||
548 | -rm -f *.lo | ||
549 | |||
550 | clean-libtool: | ||
551 | -rm -rf .libs _libs | ||
552 | install-includesHEADERS: $(includes_HEADERS) | ||
553 | @$(NORMAL_INSTALL) | ||
554 | test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)" | ||
555 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
556 | for p in $$list; do \ | ||
557 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
558 | echo "$$d$$p"; \ | ||
559 | done | $(am__base_list) | \ | ||
560 | while read files; do \ | ||
561 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \ | ||
562 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \ | ||
563 | done | ||
564 | |||
565 | uninstall-includesHEADERS: | ||
566 | @$(NORMAL_UNINSTALL) | ||
567 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
568 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
569 | test -n "$$files" || exit 0; \ | ||
570 | echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \ | ||
571 | cd "$(DESTDIR)$(includesdir)" && rm -f $$files | ||
572 | |||
573 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
574 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
575 | unique=`for i in $$list; do \ | ||
576 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
577 | done | \ | ||
578 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
579 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
580 | mkid -fID $$unique | ||
581 | tags: TAGS | ||
582 | |||
583 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
584 | $(TAGS_FILES) $(LISP) | ||
585 | set x; \ | ||
586 | here=`pwd`; \ | ||
587 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
588 | unique=`for i in $$list; do \ | ||
589 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
590 | done | \ | ||
591 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
592 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
593 | shift; \ | ||
594 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
595 | test -n "$$unique" || unique=$$empty_fix; \ | ||
596 | if test $$# -gt 0; then \ | ||
597 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
598 | "$$@" $$unique; \ | ||
599 | else \ | ||
600 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
601 | $$unique; \ | ||
602 | fi; \ | ||
603 | fi | ||
604 | ctags: CTAGS | ||
605 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
606 | $(TAGS_FILES) $(LISP) | ||
607 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
608 | unique=`for i in $$list; do \ | ||
609 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
610 | done | \ | ||
611 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
612 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
613 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
614 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
615 | $$unique | ||
616 | |||
617 | GTAGS: | ||
618 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
619 | && $(am__cd) $(top_srcdir) \ | ||
620 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
621 | |||
622 | distclean-tags: | ||
623 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
624 | |||
625 | distdir: $(DISTFILES) | ||
626 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
627 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
628 | list='$(DISTFILES)'; \ | ||
629 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
630 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
631 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
632 | case $$dist_files in \ | ||
633 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
634 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
635 | sort -u` ;; \ | ||
636 | esac; \ | ||
637 | for file in $$dist_files; do \ | ||
638 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
639 | if test -d $$d/$$file; then \ | ||
640 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
641 | if test -d "$(distdir)/$$file"; then \ | ||
642 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
643 | fi; \ | ||
644 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
645 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
646 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
647 | fi; \ | ||
648 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
649 | else \ | ||
650 | test -f "$(distdir)/$$file" \ | ||
651 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
652 | || exit 1; \ | ||
653 | fi; \ | ||
654 | done | ||
655 | check-am: all-am | ||
656 | check: check-am | ||
657 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
658 | installdirs: | ||
659 | for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
660 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
661 | done | ||
662 | install: install-am | ||
663 | install-exec: install-exec-am | ||
664 | install-data: install-data-am | ||
665 | uninstall: uninstall-am | ||
666 | |||
667 | install-am: all-am | ||
668 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
669 | |||
670 | installcheck: installcheck-am | ||
671 | install-strip: | ||
672 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
673 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
674 | `test -z '$(STRIP)' || \ | ||
675 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
676 | mostlyclean-generic: | ||
677 | |||
678 | clean-generic: | ||
679 | |||
680 | distclean-generic: | ||
681 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
682 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
683 | |||
684 | maintainer-clean-generic: | ||
685 | @echo "This command is intended for maintainers to use" | ||
686 | @echo "it deletes files that may require special tools to rebuild." | ||
687 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
688 | clean: clean-am | ||
689 | |||
690 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
691 | clean-pkgLTLIBRARIES mostlyclean-am | ||
692 | |||
693 | distclean: distclean-am | ||
694 | -rm -rf ./$(DEPDIR) | ||
695 | -rm -f Makefile | ||
696 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
697 | distclean-tags | ||
698 | |||
699 | dvi: dvi-am | ||
700 | |||
701 | dvi-am: | ||
702 | |||
703 | html: html-am | ||
704 | |||
705 | html-am: | ||
706 | |||
707 | info: info-am | ||
708 | |||
709 | info-am: | ||
710 | |||
711 | install-data-am: install-includesHEADERS install-pkgLTLIBRARIES | ||
712 | |||
713 | install-dvi: install-dvi-am | ||
714 | |||
715 | install-dvi-am: | ||
716 | |||
717 | install-exec-am: | ||
718 | |||
719 | install-html: install-html-am | ||
720 | |||
721 | install-html-am: | ||
722 | |||
723 | install-info: install-info-am | ||
724 | |||
725 | install-info-am: | ||
726 | |||
727 | install-man: | ||
728 | |||
729 | install-pdf: install-pdf-am | ||
730 | |||
731 | install-pdf-am: | ||
732 | |||
733 | install-ps: install-ps-am | ||
734 | |||
735 | install-ps-am: | ||
736 | |||
737 | installcheck-am: | ||
738 | |||
739 | maintainer-clean: maintainer-clean-am | ||
740 | -rm -rf ./$(DEPDIR) | ||
741 | -rm -f Makefile | ||
742 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
743 | |||
744 | mostlyclean: mostlyclean-am | ||
745 | |||
746 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
747 | mostlyclean-libtool | ||
748 | |||
749 | pdf: pdf-am | ||
750 | |||
751 | pdf-am: | ||
752 | |||
753 | ps: ps-am | ||
754 | |||
755 | ps-am: | ||
756 | |||
757 | uninstall-am: uninstall-includesHEADERS uninstall-pkgLTLIBRARIES | ||
758 | |||
759 | .MAKE: install-am install-strip | ||
760 | |||
761 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
762 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
763 | ctags distclean distclean-compile distclean-generic \ | ||
764 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
765 | html-am info info-am install install-am install-data \ | ||
766 | install-data-am install-dvi install-dvi-am install-exec \ | ||
767 | install-exec-am install-html install-html-am \ | ||
768 | install-includesHEADERS install-info install-info-am \ | ||
769 | install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \ | ||
770 | install-ps install-ps-am install-strip installcheck \ | ||
771 | installcheck-am installdirs maintainer-clean \ | ||
772 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
773 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
774 | tags uninstall uninstall-am uninstall-includesHEADERS \ | ||
775 | uninstall-pkgLTLIBRARIES | ||
776 | |||
777 | |||
778 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
779 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
780 | .NOEXPORT: | ||
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/evas_engine.c b/libraries/evas/src/modules/engines/software_16_sdl/evas_engine.c new file mode 100644 index 0000000..02f9341 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_sdl/evas_engine.c | |||
@@ -0,0 +1,1337 @@ | |||
1 | #include <assert.h> | ||
2 | #include <math.h> | ||
3 | #include <string.h> | ||
4 | #include <sys/time.h> | ||
5 | #include <time.h> | ||
6 | #include <SDL/SDL.h> | ||
7 | |||
8 | #include "evas_common.h"/* Also includes international specific stuff */ | ||
9 | #include "evas_engine.h" | ||
10 | int _evas_engine_soft16_sdl_log_dom = -1; | ||
11 | |||
12 | /* function tables - filled in later (func and parent func) */ | ||
13 | static Evas_Func func, pfunc; | ||
14 | |||
15 | static Engine_Image_Entry *_sdl16_image_alloc (void); | ||
16 | static void _sdl16_image_delete (Engine_Image_Entry *eim); | ||
17 | |||
18 | static int _sdl16_image_constructor (Engine_Image_Entry *ie, void* data); | ||
19 | static void _sdl16_image_destructor (Engine_Image_Entry *eim); | ||
20 | |||
21 | static void _sdl16_image_dirty_region(Engine_Image_Entry *eim, unsigned int x, unsigned int y, unsigned int w, unsigned int h); | ||
22 | |||
23 | static int _sdl16_image_dirty (Engine_Image_Entry *dst, const Engine_Image_Entry *src); | ||
24 | |||
25 | static int _sdl16_image_size_set (Engine_Image_Entry *dst, const Engine_Image_Entry *src); | ||
26 | |||
27 | static int _sdl16_image_update_data (Engine_Image_Entry* dst, void* engine_data); | ||
28 | |||
29 | static void _sdl16_image_load (Engine_Image_Entry *eim, const Image_Entry* im); | ||
30 | static int _sdl16_image_mem_size_get(Engine_Image_Entry *eim); | ||
31 | |||
32 | #ifdef DEBUG_SDL | ||
33 | static void _sdl16_image_debug (const char* context, Engine_Image_Entry* im); | ||
34 | #endif | ||
35 | |||
36 | static const Evas_Cache_Engine_Image_Func _sdl16_cache_engine_image_cb = { | ||
37 | NULL /* key */, | ||
38 | _sdl16_image_alloc /* alloc */, | ||
39 | _sdl16_image_delete /* dealloc */, | ||
40 | _sdl16_image_constructor /* constructor */, | ||
41 | _sdl16_image_destructor /* destructor */, | ||
42 | _sdl16_image_dirty_region /* dirty_region */, | ||
43 | _sdl16_image_dirty /* dirty */, | ||
44 | _sdl16_image_size_set /* size_set */, | ||
45 | _sdl16_image_update_data /* update_data */, | ||
46 | _sdl16_image_load /* load */, | ||
47 | _sdl16_image_mem_size_get /* mem_size_get */, | ||
48 | #ifdef DEBUG_SDL /* debug */ | ||
49 | _sdl16_image_debug | ||
50 | #else | ||
51 | NULL | ||
52 | #endif | ||
53 | }; | ||
54 | |||
55 | #define _SDL_UPDATE_PIXELS(EIM) \ | ||
56 | ((Soft16_Image *) EIM->cache_entry.src)->pixels = EIM->surface->pixels; | ||
57 | |||
58 | #define RMASK565 0xf800 | ||
59 | #define GMASK565 0x07e0 | ||
60 | #define BMASK565 0x001f | ||
61 | #define AMASK565 0x0000 | ||
62 | |||
63 | /* engine api this module provides */ | ||
64 | static void * | ||
65 | evas_engine_sdl16_info(Evas *e __UNUSED__) | ||
66 | { | ||
67 | Evas_Engine_Info_SDL_16 *info; | ||
68 | info = calloc(1, sizeof(Evas_Engine_Info_SDL_16)); | ||
69 | if (!info) return NULL; | ||
70 | info->magic.magic = rand(); | ||
71 | return info; | ||
72 | } | ||
73 | |||
74 | static void | ||
75 | evas_engine_sdl16_info_free(Evas *e __UNUSED__, void *info) | ||
76 | { | ||
77 | Evas_Engine_Info_SDL_16 *in; | ||
78 | in = (Evas_Engine_Info_SDL_16 *)info; | ||
79 | free(in); | ||
80 | } | ||
81 | |||
82 | static void | ||
83 | _tmp_out_alloc(Render_Engine *re) | ||
84 | { | ||
85 | Tilebuf_Rect *r; | ||
86 | unsigned int w = 0, h = 0; | ||
87 | |||
88 | EINA_INLIST_FOREACH(re->rects, r) | ||
89 | { | ||
90 | if (r->w > (int)w) w = r->w; | ||
91 | if (r->h > (int)h) h = r->h; | ||
92 | } | ||
93 | |||
94 | if (re->tmp_out) | ||
95 | { | ||
96 | if ((re->tmp_out->cache_entry.w < w) || (re->tmp_out->cache_entry.h < h)) | ||
97 | { | ||
98 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
99 | re->tmp_out = NULL; | ||
100 | } | ||
101 | } | ||
102 | |||
103 | if (!re->tmp_out) | ||
104 | { | ||
105 | Soft16_Image *im; | ||
106 | |||
107 | im = (Soft16_Image *) evas_cache_image_empty(evas_common_soft16_image_cache_get()); | ||
108 | im->cache_entry.flags.alpha = 0; | ||
109 | evas_cache_image_surface_alloc(&im->cache_entry, w, h); | ||
110 | |||
111 | re->tmp_out = im; | ||
112 | } | ||
113 | } | ||
114 | |||
115 | static void* | ||
116 | _sdl16_output_setup(int w, int h, int rotation, int fullscreen, int noframe, int hwsurface) | ||
117 | { | ||
118 | Render_Engine *re; | ||
119 | SDL_Surface *surface; | ||
120 | |||
121 | re = calloc(1, sizeof(Render_Engine)); | ||
122 | if (!re) | ||
123 | return NULL; | ||
124 | /* if we haven't initialized - init (automatic abort if already done) */ | ||
125 | evas_common_cpu_init(); | ||
126 | evas_common_blend_init(); | ||
127 | evas_common_image_init(); | ||
128 | evas_common_convert_init(); | ||
129 | evas_common_scale_init(); | ||
130 | evas_common_rectangle_init(); | ||
131 | evas_common_polygon_init(); | ||
132 | evas_common_line_init(); | ||
133 | evas_common_font_init(); | ||
134 | evas_common_draw_init(); | ||
135 | evas_common_tilebuf_init(); | ||
136 | evas_common_soft16_image_init(); | ||
137 | |||
138 | if (w <= 0) w = 640; | ||
139 | if (h <= 0) h = 480; | ||
140 | |||
141 | re->cache = evas_cache_engine_image_init(&_sdl16_cache_engine_image_cb, evas_common_soft16_image_cache_get()); | ||
142 | if (!re->cache) | ||
143 | { | ||
144 | ERR("Evas_Cache_Engine_Image allocation failed!"); | ||
145 | free(re); | ||
146 | return NULL; | ||
147 | } | ||
148 | |||
149 | re->tb = evas_common_tilebuf_new(w, h); | ||
150 | /* in preliminary tests 16x16 gave highest framerates */ | ||
151 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
152 | re->w = w; | ||
153 | re->h = h; | ||
154 | re->rot = rotation; | ||
155 | re->flags.hwsurface = hwsurface; | ||
156 | re->flags.fullscreen = fullscreen; | ||
157 | re->flags.noframe = noframe; | ||
158 | re->flags.end = 0; | ||
159 | |||
160 | re->update_rects_count = 0; | ||
161 | re->update_rects_limit = 0; | ||
162 | re->update_rects = NULL; | ||
163 | |||
164 | surface = SDL_SetVideoMode(w, h, 16, | ||
165 | (hwsurface ? SDL_HWSURFACE : SDL_SWSURFACE) | ||
166 | | (fullscreen ? SDL_FULLSCREEN : 0) | ||
167 | | (noframe ? SDL_NOFRAME : 0)); | ||
168 | if (!surface) | ||
169 | { | ||
170 | ERR("SDL_SetVideoMode [ %i x %i x 16 ] failed", w, h); | ||
171 | evas_cache_engine_image_shutdown(re->cache); | ||
172 | free(re); | ||
173 | return NULL; | ||
174 | } | ||
175 | |||
176 | SDL_SetAlpha(surface, SDL_RLEACCEL, 0); | ||
177 | SDL_FillRect(surface, NULL, 0); | ||
178 | |||
179 | re->soft16_engine_image = (SDL_Engine_Image_Entry *) evas_cache_engine_image_engine(re->cache, surface); | ||
180 | if (!re->soft16_engine_image) | ||
181 | { | ||
182 | ERR("Soft16_Image allocation from SDL failed"); | ||
183 | evas_cache_engine_image_shutdown(re->cache); | ||
184 | free(re); | ||
185 | return NULL; | ||
186 | } | ||
187 | |||
188 | return re; | ||
189 | } | ||
190 | |||
191 | |||
192 | static int | ||
193 | evas_engine_sdl16_setup(Evas *e, void *in) | ||
194 | { | ||
195 | Evas_Engine_Info_SDL_16 *info = (Evas_Engine_Info_SDL_16 *) in; | ||
196 | |||
197 | if (evas_output_method_get(e) != evas_render_method_lookup("software_16_sdl")) | ||
198 | return 0; | ||
199 | |||
200 | SDL_Init(SDL_INIT_NOPARACHUTE); | ||
201 | |||
202 | if (SDL_InitSubSystem(SDL_INIT_VIDEO) < 0) | ||
203 | { | ||
204 | ERR("SDL_Init failed with %s", SDL_GetError()); | ||
205 | SDL_Quit(); | ||
206 | return 0; | ||
207 | } | ||
208 | |||
209 | e->engine.data.output = _sdl16_output_setup(e->output.w, e->output.h, | ||
210 | info->info.rotation, | ||
211 | info->info.fullscreen, | ||
212 | info->info.noframe, | ||
213 | info->info.hwsurface); | ||
214 | if (!e->engine.data.output) | ||
215 | return 0; | ||
216 | |||
217 | e->engine.func = &func; | ||
218 | e->engine.data.context = e->engine.func->context_new(e->engine.data.output); | ||
219 | |||
220 | return 1; | ||
221 | } | ||
222 | |||
223 | static void | ||
224 | evas_engine_sdl16_output_free(void *data) | ||
225 | { | ||
226 | Render_Engine *re; | ||
227 | |||
228 | re = (Render_Engine *)data; | ||
229 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
230 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
231 | if (re->tmp_out) evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
232 | if (re->soft16_engine_image) | ||
233 | evas_cache_engine_image_drop(&re->soft16_engine_image->cache_entry); | ||
234 | if (re->cache) evas_cache_engine_image_shutdown(re->cache); | ||
235 | |||
236 | if (re->update_rects) | ||
237 | free(re->update_rects); | ||
238 | free(re); | ||
239 | |||
240 | evas_common_font_shutdown(); | ||
241 | evas_common_image_shutdown(); | ||
242 | evas_common_soft16_image_shutdown(); | ||
243 | |||
244 | SDL_QuitSubSystem(SDL_INIT_VIDEO); | ||
245 | } | ||
246 | |||
247 | static void | ||
248 | evas_engine_sdl16_output_resize(void *data, int w, int h) | ||
249 | { | ||
250 | Render_Engine *re = data; | ||
251 | SDL_Surface *surface; | ||
252 | |||
253 | if ((re->tb->outbuf_w == w) && (re->tb->outbuf_h == h)) return; | ||
254 | |||
255 | evas_cache_engine_image_drop(&re->soft16_engine_image->cache_entry); | ||
256 | |||
257 | evas_common_tilebuf_free(re->tb); | ||
258 | re->w = w; | ||
259 | re->h = h; | ||
260 | re->tb = evas_common_tilebuf_new(w, h); | ||
261 | if (re->tb) | ||
262 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
263 | |||
264 | surface = SDL_SetVideoMode(w, h, 16, | ||
265 | (re->flags.hwsurface ? SDL_HWSURFACE : SDL_SWSURFACE) | ||
266 | | (re->flags.fullscreen ? SDL_FULLSCREEN : 0) | ||
267 | | (re->flags.noframe ? SDL_NOFRAME : 0)); | ||
268 | if (!surface) | ||
269 | { | ||
270 | ERR("Unable to change the resolution to : %ix%i", w, h); | ||
271 | exit(-1); | ||
272 | } | ||
273 | re->soft16_engine_image = (SDL_Engine_Image_Entry *) evas_cache_engine_image_engine(re->cache, surface); | ||
274 | if (!re->soft16_engine_image) | ||
275 | { | ||
276 | ERR("RGBA_Image allocation from SDL failed"); | ||
277 | exit(-1); | ||
278 | } | ||
279 | |||
280 | SDL_FillRect(surface, NULL, 0); | ||
281 | |||
282 | if (re->tmp_out) | ||
283 | { | ||
284 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
285 | re->tmp_out = NULL; | ||
286 | } | ||
287 | } | ||
288 | |||
289 | static void | ||
290 | evas_engine_sdl16_output_tile_size_set(void *data, int w, int h) | ||
291 | { | ||
292 | Render_Engine *re; | ||
293 | |||
294 | re = (Render_Engine *)data; | ||
295 | evas_common_tilebuf_set_tile_size(re->tb, w, h); | ||
296 | } | ||
297 | |||
298 | static void | ||
299 | evas_engine_sdl16_output_redraws_rect_add(void *data, int x, int y, int w, int h) | ||
300 | { | ||
301 | Render_Engine *re; | ||
302 | |||
303 | re = (Render_Engine *)data; | ||
304 | evas_common_tilebuf_add_redraw(re->tb, x, y, w, h); | ||
305 | } | ||
306 | |||
307 | static void | ||
308 | evas_engine_sdl16_output_redraws_rect_del(void *data, int x, int y, int w, int h) | ||
309 | { | ||
310 | Render_Engine *re; | ||
311 | |||
312 | re = (Render_Engine *)data; | ||
313 | evas_common_tilebuf_del_redraw(re->tb, x, y, w, h); | ||
314 | } | ||
315 | |||
316 | static void | ||
317 | evas_engine_sdl16_output_redraws_clear(void *data) | ||
318 | { | ||
319 | Render_Engine *re; | ||
320 | |||
321 | re = (Render_Engine *)data; | ||
322 | evas_common_tilebuf_clear(re->tb); | ||
323 | } | ||
324 | |||
325 | static void * | ||
326 | evas_engine_sdl16_output_redraws_next_update_get(void *data, | ||
327 | int *x, int *y, int *w, int *h, | ||
328 | int *cx, int *cy, int *cw, int *ch) | ||
329 | { | ||
330 | Render_Engine *re = data; | ||
331 | Tilebuf_Rect *tb_rect; | ||
332 | SDL_Rect rect; | ||
333 | |||
334 | if (re->flags.end) | ||
335 | { | ||
336 | re->flags.end = 0; | ||
337 | return NULL; | ||
338 | } | ||
339 | if (!re->rects) | ||
340 | { | ||
341 | re->rects = evas_common_tilebuf_get_render_rects(re->tb); | ||
342 | re->cur_rect = re->rects; | ||
343 | if (re->rot != 0) _tmp_out_alloc(re); /* grows if required */ | ||
344 | } | ||
345 | |||
346 | if (!re->cur_rect) | ||
347 | { | ||
348 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
349 | re->rects = NULL; | ||
350 | return NULL; | ||
351 | } | ||
352 | |||
353 | tb_rect = re->cur_rect; | ||
354 | *cx = *x = tb_rect->x; | ||
355 | *cy = *y = tb_rect->y; | ||
356 | *cw = *w = tb_rect->w; | ||
357 | *ch = *h = tb_rect->h; | ||
358 | re->cur_rect = (Tilebuf_Rect *)((EINA_INLIST_GET(re->cur_rect))->next); | ||
359 | if (!re->cur_rect) | ||
360 | { | ||
361 | evas_common_tilebuf_free_render_rects(re->rects); | ||
362 | re->rects = NULL; | ||
363 | re->flags.end = 1; | ||
364 | } | ||
365 | |||
366 | if (re->rot != 0) | ||
367 | { | ||
368 | *cx = 0; | ||
369 | *cy = 0; | ||
370 | } | ||
371 | |||
372 | rect.x = *x; | ||
373 | rect.y = *y; | ||
374 | rect.w = *w; | ||
375 | rect.h = *h; | ||
376 | |||
377 | /* Return the "fake" surface so it is passed to the drawing routines. */ | ||
378 | return re->soft16_engine_image; | ||
379 | } | ||
380 | |||
381 | static void | ||
382 | _blit_rot_90(Soft16_Image *dst, const Soft16_Image *src, | ||
383 | int out_x, int out_y, int w, int h) | ||
384 | { | ||
385 | DATA16 *dp, *sp; | ||
386 | int x, y; | ||
387 | |||
388 | sp = src->pixels; | ||
389 | dp = dst->pixels + (out_x + | ||
390 | (w + out_y - 1) * dst->stride); | ||
391 | |||
392 | for (y = 0; y < h; y++) | ||
393 | { | ||
394 | DATA16 *dp_itr, *sp_itr; | ||
395 | |||
396 | sp_itr = sp; | ||
397 | dp_itr = dp; | ||
398 | |||
399 | for (x = 0; x < w; x++) | ||
400 | { | ||
401 | *dp_itr = *sp_itr; | ||
402 | |||
403 | sp_itr++; | ||
404 | dp_itr -= dst->stride; | ||
405 | } | ||
406 | sp += src->stride; | ||
407 | dp++; | ||
408 | } | ||
409 | } | ||
410 | |||
411 | static void | ||
412 | _blit_rot_180(Soft16_Image *dst, const Soft16_Image *src, | ||
413 | int out_x, int out_y, int w, int h) | ||
414 | { | ||
415 | DATA16 *dp, *sp; | ||
416 | int x, y; | ||
417 | |||
418 | sp = src->pixels; | ||
419 | dp = dst->pixels + ((w + out_x - 1) + | ||
420 | (h + out_y - 1) * dst->stride); | ||
421 | |||
422 | for (y = 0; y < h; y++) | ||
423 | { | ||
424 | DATA16 *dp_itr, *sp_itr; | ||
425 | |||
426 | sp_itr = sp; | ||
427 | dp_itr = dp; | ||
428 | |||
429 | for (x = 0; x < w; x++) | ||
430 | { | ||
431 | *dp_itr = *sp_itr; | ||
432 | |||
433 | sp_itr++; | ||
434 | dp_itr--; | ||
435 | } | ||
436 | sp += src->stride; | ||
437 | dp -= dst->stride; | ||
438 | } | ||
439 | } | ||
440 | |||
441 | static void | ||
442 | _blit_rot_270(Soft16_Image *dst, const Soft16_Image *src, | ||
443 | int out_x, int out_y, int w, int h) | ||
444 | { | ||
445 | DATA16 *dp, *sp; | ||
446 | int x, y; | ||
447 | |||
448 | sp = src->pixels; | ||
449 | dp = dst->pixels + ((h + out_x - 1) + | ||
450 | out_y * dst->stride); | ||
451 | |||
452 | for (y = 0; y < h; y++) | ||
453 | { | ||
454 | DATA16 *dp_itr, *sp_itr; | ||
455 | |||
456 | sp_itr = sp; | ||
457 | dp_itr = dp; | ||
458 | |||
459 | for (x = 0; x < w; x++) | ||
460 | { | ||
461 | *dp_itr = *sp_itr; | ||
462 | |||
463 | sp_itr++; | ||
464 | dp_itr += dst->stride; | ||
465 | } | ||
466 | sp += src->stride; | ||
467 | dp--; | ||
468 | } | ||
469 | } | ||
470 | |||
471 | static void | ||
472 | _tmp_out_process(Render_Engine *re, int out_x, int out_y, int w, int h) | ||
473 | { | ||
474 | Soft16_Image *d, *s; | ||
475 | |||
476 | d = (Soft16_Image *) re->soft16_engine_image->cache_entry.src; | ||
477 | s = re->tmp_out; | ||
478 | |||
479 | if ((w < 1) || (h < 1) || | ||
480 | (out_x >= (int)d->cache_entry.w) || (out_y >= (int)d->cache_entry.h)) | ||
481 | return; | ||
482 | |||
483 | if (re->rot == 90) | ||
484 | _blit_rot_90(d, s, out_x, out_y, w, h); | ||
485 | else if (re->rot == 180) | ||
486 | _blit_rot_180(d, s, out_x, out_y, w, h); | ||
487 | else if (re->rot == 270) | ||
488 | _blit_rot_270(d, s, out_x, out_y, w, h); | ||
489 | } | ||
490 | |||
491 | static void | ||
492 | evas_engine_sdl16_output_redraws_next_update_push(void *data, void *surface __UNUSED__, | ||
493 | int x, int y, int w, int h) | ||
494 | { | ||
495 | Render_Engine *re = data; | ||
496 | SDL_Rect rect; | ||
497 | |||
498 | if (re->update_rects_count + 1 > re->update_rects_limit) | ||
499 | { | ||
500 | re->update_rects_limit += 8; | ||
501 | re->update_rects = realloc(re->update_rects, sizeof (SDL_Rect) * re->update_rects_limit); | ||
502 | } | ||
503 | |||
504 | rect.x = x; | ||
505 | rect.y = y; | ||
506 | rect.w = w; | ||
507 | rect.h = h; | ||
508 | |||
509 | switch (re->rot) | ||
510 | { | ||
511 | case 0: | ||
512 | break; | ||
513 | case 90: | ||
514 | rect.x = y; | ||
515 | rect.y = re->w - w - x; | ||
516 | rect.w = h; | ||
517 | rect.h = w; | ||
518 | break; | ||
519 | case 180: | ||
520 | rect.x = re->w - w - x; | ||
521 | rect.y = re->h - h - y; | ||
522 | break; | ||
523 | case 270: | ||
524 | rect.x = re->h - h - y; | ||
525 | rect.y = x; | ||
526 | rect.w = h; | ||
527 | rect.h = w; | ||
528 | break; | ||
529 | default: | ||
530 | abort(); | ||
531 | } | ||
532 | |||
533 | re->update_rects[re->update_rects_count] = rect; | ||
534 | |||
535 | if (re->rot != 0) | ||
536 | _tmp_out_process(re, rect.x, rect.y, w, h); | ||
537 | |||
538 | ++re->update_rects_count; | ||
539 | |||
540 | evas_common_cpu_end_opt(); | ||
541 | } | ||
542 | |||
543 | static void | ||
544 | evas_engine_sdl16_output_flush(void *data) | ||
545 | { | ||
546 | Render_Engine *re = data; | ||
547 | |||
548 | if (re->update_rects_count > 0) | ||
549 | SDL_UpdateRects(re->soft16_engine_image->surface, re->update_rects_count, re->update_rects); | ||
550 | |||
551 | re->update_rects_count = 0; | ||
552 | } | ||
553 | |||
554 | static void | ||
555 | evas_engine_sdl16_output_idle_flush(void *data) | ||
556 | { | ||
557 | Render_Engine *re; | ||
558 | |||
559 | re = (Render_Engine *)data; | ||
560 | if (re->tmp_out) | ||
561 | { | ||
562 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
563 | re->tmp_out = NULL; | ||
564 | } | ||
565 | } | ||
566 | |||
567 | static void* | ||
568 | evas_engine_sdl16_image_load(void *data, const char *file, const char *key, int *error, Evas_Image_Load_Opts *lo) | ||
569 | { | ||
570 | Render_Engine* re = (Render_Engine*) data;; | ||
571 | |||
572 | *error = 0; | ||
573 | return evas_cache_engine_image_request(re->cache, file, key, lo, NULL, error); | ||
574 | } | ||
575 | |||
576 | static int | ||
577 | evas_engine_sdl16_image_alpha_get(void *data __UNUSED__, void *image) | ||
578 | { | ||
579 | SDL_Engine_Image_Entry *eim = image; | ||
580 | Soft16_Image *im; | ||
581 | |||
582 | if (!eim) return 1; | ||
583 | im = (Soft16_Image *) eim->cache_entry.src; | ||
584 | switch (eim->cache_entry.src->space) | ||
585 | { | ||
586 | case EVAS_COLORSPACE_ARGB8888: | ||
587 | if (im->cache_entry.flags.alpha) return 1; | ||
588 | default: | ||
589 | break; | ||
590 | } | ||
591 | return 0; | ||
592 | } | ||
593 | |||
594 | static void | ||
595 | evas_engine_sdl16_image_size_get(void *data __UNUSED__, void *image, int *w, int *h) | ||
596 | { | ||
597 | SDL_Engine_Image_Entry *eim; | ||
598 | |||
599 | eim = image; | ||
600 | if (w) *w = eim->cache_entry.src->w; | ||
601 | if (h) *h = eim->cache_entry.src->h; | ||
602 | } | ||
603 | |||
604 | static int | ||
605 | evas_engine_sdl16_image_colorspace_get(void *data __UNUSED__, void *image __UNUSED__) | ||
606 | { | ||
607 | SDL_Engine_Image_Entry *eim = image; | ||
608 | |||
609 | if (!eim) return EVAS_COLORSPACE_RGB565_A5P; | ||
610 | return eim->cache_entry.src->space; | ||
611 | } | ||
612 | |||
613 | static void | ||
614 | evas_engine_sdl16_image_colorspace_set(void *data __UNUSED__, void *image __UNUSED__, int cspace __UNUSED__) | ||
615 | { | ||
616 | SDL_Engine_Image_Entry *eim = image; | ||
617 | |||
618 | if (!eim) return; | ||
619 | if (eim->cache_entry.src->space == cspace) return; | ||
620 | |||
621 | evas_cache_engine_image_colorspace(&eim->cache_entry, cspace, NULL); | ||
622 | } | ||
623 | |||
624 | static void* | ||
625 | evas_engine_sdl16_image_new_from_copied_data(void *data, | ||
626 | int w, int h, | ||
627 | DATA32* image_data, | ||
628 | int alpha, int cspace) | ||
629 | { | ||
630 | Render_Engine *re = data; | ||
631 | |||
632 | if (cspace != EVAS_COLORSPACE_RGB565_A5P) | ||
633 | { | ||
634 | WRN("Unsupported colorspace %d in %s() (%s:%d)", | ||
635 | cspace, __FUNCTION__, __FILE__, __LINE__); | ||
636 | return NULL; | ||
637 | } | ||
638 | |||
639 | WRN("s image_data: %p", image_data); | ||
640 | |||
641 | return evas_cache_engine_image_copied_data(re->cache, | ||
642 | w, h, | ||
643 | image_data, | ||
644 | alpha, cspace, NULL); | ||
645 | } | ||
646 | |||
647 | static void* | ||
648 | evas_engine_sdl16_image_new_from_data(void *data, int w, int h, DATA32* image_data, int alpha, int cspace) | ||
649 | { | ||
650 | Render_Engine *re = data; | ||
651 | |||
652 | if (cspace != EVAS_COLORSPACE_RGB565_A5P) | ||
653 | { | ||
654 | WRN("Unsupported colorspace %d in %s() (%s:%d)", | ||
655 | cspace, __FUNCTION__, __FILE__, __LINE__); | ||
656 | return NULL; | ||
657 | } | ||
658 | |||
659 | return evas_cache_engine_image_data(re->cache, | ||
660 | w, h, | ||
661 | image_data, | ||
662 | alpha, cspace, NULL); | ||
663 | } | ||
664 | |||
665 | static void | ||
666 | evas_engine_sdl16_image_free(void *data __UNUSED__, void *image) | ||
667 | { | ||
668 | SDL_Engine_Image_Entry *eim = image; | ||
669 | |||
670 | evas_cache_engine_image_drop(&eim->cache_entry); | ||
671 | } | ||
672 | |||
673 | static void* | ||
674 | evas_engine_sdl16_image_size_set(void *data __UNUSED__, void *image, int w, int h) | ||
675 | { | ||
676 | SDL_Engine_Image_Entry *eim = image; | ||
677 | |||
678 | return evas_cache_engine_image_size_set(&eim->cache_entry, w, h); | ||
679 | } | ||
680 | |||
681 | static void* | ||
682 | evas_engine_sdl16_image_dirty_region(void *data __UNUSED__, | ||
683 | void *image, | ||
684 | int x, int y, int w, int h) | ||
685 | { | ||
686 | SDL_Engine_Image_Entry *eim = image; | ||
687 | |||
688 | return evas_cache_engine_image_dirty(&eim->cache_entry, x, y, w, h); | ||
689 | } | ||
690 | |||
691 | static void* | ||
692 | evas_engine_sdl16_image_data_get(void *data __UNUSED__, void *image, | ||
693 | int to_write, DATA32** image_data, int *err) | ||
694 | { | ||
695 | SDL_Engine_Image_Entry *eim = image; | ||
696 | Soft16_Image *im; | ||
697 | int error; | ||
698 | |||
699 | if (!eim) | ||
700 | { | ||
701 | *image_data = NULL; | ||
702 | if (err) *err = EVAS_LOAD_ERROR_GENERIC; | ||
703 | return NULL; | ||
704 | } | ||
705 | im = (Soft16_Image *) eim->cache_entry.src; | ||
706 | |||
707 | if (to_write) | ||
708 | eim = (SDL_Engine_Image_Entry *) evas_cache_engine_image_dirty(&eim->cache_entry, | ||
709 | 0, 0, eim->cache_entry.src->w, eim->cache_entry.src->h); | ||
710 | |||
711 | error = evas_cache_image_load_data(&im->cache_entry); | ||
712 | /* FIXME: Handle colorspace conversion correctly. */ | ||
713 | if (image_data) *image_data = (DATA32 *) im->pixels; | ||
714 | |||
715 | if (err) *err = error; | ||
716 | return eim; | ||
717 | } | ||
718 | |||
719 | static void* | ||
720 | evas_engine_sdl16_image_data_put(void *data, void *image, DATA32* image_data) | ||
721 | { | ||
722 | SDL_Engine_Image_Entry *eim = image; | ||
723 | SDL_Engine_Image_Entry *eim_new; | ||
724 | Render_Engine *re = data; | ||
725 | Soft16_Image *im; | ||
726 | |||
727 | if (!eim) return NULL; | ||
728 | im = (Soft16_Image *) eim->cache_entry.src; | ||
729 | |||
730 | /* FIXME: Handle colorspace conversion correctly. */ | ||
731 | if ((DATA16 *) image_data == im->pixels) return eim; | ||
732 | |||
733 | eim_new = (SDL_Engine_Image_Entry *) evas_cache_engine_image_data(re->cache, | ||
734 | eim->cache_entry.w, eim->cache_entry.h, | ||
735 | image_data, | ||
736 | func.image_alpha_get(data, eim), | ||
737 | func.image_colorspace_get(data, eim), | ||
738 | NULL); | ||
739 | evas_cache_engine_image_drop(&eim->cache_entry); | ||
740 | |||
741 | return eim_new; | ||
742 | } | ||
743 | |||
744 | static void | ||
745 | evas_engine_sdl16_image_data_preload_request(void *data __UNUSED__, void *image, const void *target) | ||
746 | { | ||
747 | SDL_Engine_Image_Entry *eim = image; | ||
748 | Soft16_Image *im; | ||
749 | |||
750 | if (!eim) return ; | ||
751 | im = (Soft16_Image *) eim->cache_entry.src; | ||
752 | if (!im) return ; | ||
753 | evas_cache_image_preload_data(&im->cache_entry, target); | ||
754 | } | ||
755 | |||
756 | static void | ||
757 | evas_engine_sdl16_image_data_preload_cancel(void *data __UNUSED__, void *image, const void *target) | ||
758 | { | ||
759 | SDL_Engine_Image_Entry *eim = image; | ||
760 | Soft16_Image *im; | ||
761 | |||
762 | if (!eim) return ; | ||
763 | im = (Soft16_Image *) eim->cache_entry.src; | ||
764 | if (!im) return ; | ||
765 | evas_cache_image_preload_cancel(&im->cache_entry, target); | ||
766 | } | ||
767 | |||
768 | static void* | ||
769 | evas_engine_sdl16_image_alpha_set(void *data __UNUSED__, void *image, int has_alpha) | ||
770 | { | ||
771 | SDL_Engine_Image_Entry *eim = image; | ||
772 | Soft16_Image *im; | ||
773 | |||
774 | if (!eim) return NULL; | ||
775 | |||
776 | im = (Soft16_Image *) eim->cache_entry.src; | ||
777 | |||
778 | if (im->cache_entry.flags.alpha == has_alpha) return eim; | ||
779 | |||
780 | //eim = (SDL_Engine_Image_Entry *) evas_cache_engine_image_alone(&eim->cache_entry, NULL); | ||
781 | //im = (Soft16_Image *) eim->cache_entry.src; | ||
782 | |||
783 | im->cache_entry.flags.alpha = has_alpha; | ||
784 | eim = (SDL_Engine_Image_Entry *) evas_cache_engine_image_dirty(&eim->cache_entry, 0, 0, eim->cache_entry.w, eim->cache_entry.h); | ||
785 | |||
786 | return eim; | ||
787 | } | ||
788 | |||
789 | static void* | ||
790 | evas_engine_sdl16_image_border_set(void *data __UNUSED__, void *image, int l __UNUSED__, int r __UNUSED__, int t __UNUSED__, int b __UNUSED__) | ||
791 | { | ||
792 | return image; | ||
793 | } | ||
794 | |||
795 | static void | ||
796 | evas_engine_sdl16_image_border_get(void *data __UNUSED__, void *image __UNUSED__, int *l __UNUSED__, int *r __UNUSED__, int *t __UNUSED__, int *b __UNUSED__) | ||
797 | { | ||
798 | /* FIXME: need to know what evas expect from this call */ | ||
799 | } | ||
800 | |||
801 | static void | ||
802 | evas_engine_sdl16_image_draw(void *data __UNUSED__, void *context, void *surface, void *image, | ||
803 | int src_region_x, int src_region_y, int src_region_w, int src_region_h, | ||
804 | int dst_region_x, int dst_region_y, int dst_region_w, int dst_region_h, | ||
805 | int smooth) | ||
806 | { | ||
807 | SDL_Engine_Image_Entry *eim = image; | ||
808 | SDL_Engine_Image_Entry *dst = surface; | ||
809 | int mustlock_im = 0; | ||
810 | int mustlock_dst = 0; | ||
811 | |||
812 | evas_cache_engine_image_load_data(&eim->cache_entry); | ||
813 | |||
814 | /* Fallback to software method */ | ||
815 | if (SDL_MUSTLOCK(dst->surface)) | ||
816 | { | ||
817 | mustlock_dst = 1; | ||
818 | SDL_LockSurface(dst->surface); | ||
819 | _SDL_UPDATE_PIXELS(dst); | ||
820 | } | ||
821 | |||
822 | if (eim->surface && SDL_MUSTLOCK(eim->surface)) | ||
823 | { | ||
824 | mustlock_im = 1; | ||
825 | SDL_LockSurface(eim->surface); | ||
826 | _SDL_UPDATE_PIXELS(eim); | ||
827 | } | ||
828 | |||
829 | evas_common_soft16_image_draw((Soft16_Image *) eim->cache_entry.src, | ||
830 | (Soft16_Image *) dst->cache_entry.src, | ||
831 | context, | ||
832 | src_region_x, src_region_y, src_region_w, src_region_h, | ||
833 | dst_region_x, dst_region_y, dst_region_w, dst_region_h, | ||
834 | smooth); | ||
835 | |||
836 | evas_common_cpu_end_opt (); | ||
837 | if (mustlock_im) | ||
838 | SDL_UnlockSurface(eim->surface); | ||
839 | |||
840 | if (mustlock_dst) | ||
841 | SDL_UnlockSurface(dst->surface); | ||
842 | } | ||
843 | |||
844 | static void | ||
845 | evas_engine_sdl16_image_map_draw(void *data __UNUSED__, void *context __UNUSED__, void *surface __UNUSED__, void *image __UNUSED__, int npoints __UNUSED__, RGBA_Map_Point *p __UNUSED__, int smooth __UNUSED__, int level __UNUSED__) | ||
846 | { | ||
847 | } | ||
848 | |||
849 | static void | ||
850 | evas_engine_sdl16_image_scale_hint_set(void *data __UNUSED__, void *image __UNUSED__, int hint __UNUSED__) | ||
851 | { | ||
852 | } | ||
853 | |||
854 | static int | ||
855 | evas_engine_sdl16_image_scale_hint_get(void *data __UNUSED__, void *image __UNUSED__) | ||
856 | { | ||
857 | return EVAS_IMAGE_SCALE_HINT_NONE; | ||
858 | } | ||
859 | |||
860 | |||
861 | static void | ||
862 | evas_engine_sdl16_image_cache_flush(void *data) | ||
863 | { | ||
864 | Render_Engine *re = (Render_Engine*) data; | ||
865 | int size; | ||
866 | |||
867 | size = evas_cache_engine_image_get(re->cache); | ||
868 | evas_cache_engine_image_set(re->cache, 0); | ||
869 | evas_cache_engine_image_set(re->cache, size); | ||
870 | } | ||
871 | |||
872 | static void | ||
873 | evas_engine_sdl16_image_cache_set(void *data, int bytes) | ||
874 | { | ||
875 | Render_Engine *re = (Render_Engine*) data; | ||
876 | |||
877 | evas_cache_engine_image_set(re->cache, bytes); | ||
878 | } | ||
879 | |||
880 | static int | ||
881 | evas_engine_sdl16_image_cache_get(void *data) | ||
882 | { | ||
883 | Render_Engine *re = (Render_Engine*) data; | ||
884 | |||
885 | return evas_cache_engine_image_get(re->cache); | ||
886 | } | ||
887 | |||
888 | static char* | ||
889 | evas_engine_sdl16_image_comment_get(void *data __UNUSED__, void *image __UNUSED__, char *key __UNUSED__) | ||
890 | { | ||
891 | return NULL; | ||
892 | } | ||
893 | |||
894 | static char* | ||
895 | evas_engine_sdl16_image_format_get(void *data __UNUSED__, void *image __UNUSED__) | ||
896 | { | ||
897 | /* FIXME: need to know what evas expect from this call */ | ||
898 | return NULL; | ||
899 | } | ||
900 | |||
901 | static void | ||
902 | evas_engine_sdl16_font_draw(void *data __UNUSED__, void *context, void *surface, void *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const Evas_Text_Props *intl_props) | ||
903 | { | ||
904 | static RGBA_Image *im = NULL; | ||
905 | SDL_Engine_Image_Entry *eim = surface; | ||
906 | Soft16_Image *dst = (Soft16_Image *) eim->cache_entry.src; | ||
907 | int mustlock_im = 0; | ||
908 | |||
909 | if (eim->surface && SDL_MUSTLOCK(eim->surface)) | ||
910 | { | ||
911 | mustlock_im = 1; | ||
912 | SDL_LockSurface(eim->surface); | ||
913 | _SDL_UPDATE_PIXELS(eim); | ||
914 | } | ||
915 | evas_common_draw_context_font_ext_set(context, | ||
916 | dst, | ||
917 | evas_common_soft16_font_glyph_new, | ||
918 | evas_common_soft16_font_glyph_free, | ||
919 | evas_common_soft16_font_glyph_draw); | ||
920 | evas_common_font_draw((RGBA_Image *) eim->cache_entry.src, context, font, x, y, intl_props); | ||
921 | evas_common_draw_context_font_ext_set(context, | ||
922 | NULL, | ||
923 | NULL, | ||
924 | NULL, | ||
925 | NULL); | ||
926 | |||
927 | if (mustlock_im) | ||
928 | SDL_UnlockSurface(eim->surface); | ||
929 | } | ||
930 | |||
931 | static void | ||
932 | evas_engine_sdl16_line_draw(void *data __UNUSED__, void *context, void *surface, int x1, int y1, int x2, int y2) | ||
933 | { | ||
934 | SDL_Engine_Image_Entry *eim = surface; | ||
935 | int mustlock_im = 0; | ||
936 | |||
937 | if (eim->surface && SDL_MUSTLOCK(eim->surface)) | ||
938 | { | ||
939 | mustlock_im = 1; | ||
940 | SDL_LockSurface(eim->surface); | ||
941 | _SDL_UPDATE_PIXELS(eim); | ||
942 | } | ||
943 | |||
944 | evas_common_soft16_line_draw((Soft16_Image *) eim->cache_entry.src, | ||
945 | context, | ||
946 | x1, y1, x2, y2); | ||
947 | evas_common_cpu_end_opt(); | ||
948 | |||
949 | if (mustlock_im) | ||
950 | SDL_UnlockSurface(eim->surface); | ||
951 | } | ||
952 | |||
953 | static void | ||
954 | evas_engine_sdl16_rectangle_draw(void *data __UNUSED__, void *context, void *surface, int x, int y, int w, int h) | ||
955 | { | ||
956 | SDL_Engine_Image_Entry *eim = surface; | ||
957 | #if ENGINE_SDL_PRIMITIVE | ||
958 | RGBA_Draw_Context *dc = context; | ||
959 | #endif | ||
960 | Soft16_Image *im; | ||
961 | int mustlock_im = 0; | ||
962 | |||
963 | #if ENGINE_SDL_PRIMITIVE | ||
964 | if (A_VAL(&dc->col.col) != 0x00) | ||
965 | { | ||
966 | if (A_VAL(&dc->col.col) != 0xFF) | ||
967 | { | ||
968 | #endif | ||
969 | if (eim->surface && SDL_MUSTLOCK(eim->surface)) | ||
970 | { | ||
971 | mustlock_im = 1; | ||
972 | SDL_LockSurface(eim->surface); | ||
973 | _SDL_UPDATE_PIXELS(eim); | ||
974 | } | ||
975 | |||
976 | im = (Soft16_Image *) eim->cache_entry.src; | ||
977 | |||
978 | evas_common_soft16_rectangle_draw(im, context, x, y, w, h); | ||
979 | evas_common_cpu_end_opt(); | ||
980 | |||
981 | if (mustlock_im) | ||
982 | SDL_UnlockSurface(eim->surface); | ||
983 | #if ENGINE_SDL_PRIMITIVE | ||
984 | } | ||
985 | else | ||
986 | { | ||
987 | SDL_Rect dstrect; | ||
988 | |||
989 | if (dc->clip.use) | ||
990 | { | ||
991 | SDL_Rect cliprect; | ||
992 | |||
993 | cliprect.x = dc->clip.x; | ||
994 | cliprect.y = dc->clip.y; | ||
995 | cliprect.w = dc->clip.w; | ||
996 | cliprect.h = dc->clip.h; | ||
997 | |||
998 | SDL_SetClipRect(eim->surface, &cliprect); | ||
999 | } | ||
1000 | |||
1001 | dstrect.x = x; | ||
1002 | dstrect.y = y; | ||
1003 | dstrect.w = w; | ||
1004 | dstrect.h = h; | ||
1005 | |||
1006 | SDL_FillRect(eim->surface, &dstrect, SDL_MapRGBA(eim->surface->format, R_VAL(&dc->col.col), G_VAL(&dc->col.col), B_VAL(&dc->col.col), 0xFF)); | ||
1007 | |||
1008 | if (dc->clip.use) | ||
1009 | SDL_SetClipRect(eim->surface, NULL); | ||
1010 | } | ||
1011 | } | ||
1012 | #endif | ||
1013 | } | ||
1014 | |||
1015 | static void | ||
1016 | evas_engine_sdl16_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y) | ||
1017 | { | ||
1018 | SDL_Engine_Image_Entry *eim = surface; | ||
1019 | int mustlock_im = 0; | ||
1020 | |||
1021 | if (eim->surface && SDL_MUSTLOCK(eim->surface)) | ||
1022 | { | ||
1023 | mustlock_im = 1; | ||
1024 | SDL_LockSurface(eim->surface); | ||
1025 | _SDL_UPDATE_PIXELS(eim); | ||
1026 | } | ||
1027 | |||
1028 | evas_common_soft16_polygon_draw((Soft16_Image *) eim->cache_entry.src, context, polygon, x, y); | ||
1029 | evas_common_cpu_end_opt(); | ||
1030 | |||
1031 | if (mustlock_im) | ||
1032 | SDL_UnlockSurface(eim->surface); | ||
1033 | } | ||
1034 | |||
1035 | static void | ||
1036 | evas_engine_sdl16_image_stride_get(void *data __UNUSED__, void *image, int *stride) | ||
1037 | { | ||
1038 | SDL_Engine_Image_Entry *eim = image; | ||
1039 | |||
1040 | if (stride) *stride = 0; | ||
1041 | if (!image) return; | ||
1042 | if (stride) *stride = ((Soft16_Image*) eim->cache_entry.src)->stride; | ||
1043 | } | ||
1044 | |||
1045 | static Eina_Bool | ||
1046 | evas_engine_sdl16_canvas_alpha_get(void *data __UNUSED__, void *context __UNUSED__) | ||
1047 | { | ||
1048 | return EINA_FALSE; | ||
1049 | } | ||
1050 | |||
1051 | /* module advertising code */ | ||
1052 | static int | ||
1053 | module_open(Evas_Module *em) | ||
1054 | { | ||
1055 | if (!em) return 0; | ||
1056 | /* get whatever engine module we inherit from */ | ||
1057 | if (!_evas_module_engine_inherit(&pfunc, "software_16")) return 0; | ||
1058 | _evas_engine_soft16_sdl_log_dom = eina_log_domain_register | ||
1059 | ("evas-software_16_sdl", EVAS_DEFAULT_LOG_COLOR); | ||
1060 | if (_evas_engine_soft16_sdl_log_dom < 0) | ||
1061 | { | ||
1062 | EINA_LOG_ERR("Can not create a module log domain."); | ||
1063 | return 0; | ||
1064 | } | ||
1065 | |||
1066 | /* store it for later use */ | ||
1067 | func = pfunc; | ||
1068 | /* now to override methods */ | ||
1069 | #define ORD(f) EVAS_API_OVERRIDE(f, &func, evas_engine_sdl16_) | ||
1070 | ORD(info); | ||
1071 | ORD(info_free); | ||
1072 | ORD(setup); | ||
1073 | ORD(canvas_alpha_get); | ||
1074 | ORD(output_free); | ||
1075 | ORD(output_resize); | ||
1076 | ORD(output_tile_size_set); | ||
1077 | ORD(output_redraws_rect_add); | ||
1078 | ORD(output_redraws_rect_del); | ||
1079 | ORD(output_redraws_clear); | ||
1080 | ORD(output_redraws_next_update_get); | ||
1081 | ORD(output_redraws_next_update_push); | ||
1082 | ORD(output_flush); | ||
1083 | ORD(output_idle_flush); | ||
1084 | ORD(image_load); | ||
1085 | ORD(image_alpha_get); | ||
1086 | ORD(image_size_get); | ||
1087 | ORD(image_colorspace_get); | ||
1088 | ORD(image_colorspace_set); | ||
1089 | ORD(image_new_from_copied_data); | ||
1090 | ORD(image_new_from_data); | ||
1091 | ORD(image_free); | ||
1092 | ORD(image_size_set); | ||
1093 | ORD(image_dirty_region); | ||
1094 | ORD(image_data_get); | ||
1095 | ORD(image_data_put); | ||
1096 | ORD(image_data_preload_request); | ||
1097 | ORD(image_data_preload_cancel); | ||
1098 | ORD(image_alpha_set); | ||
1099 | ORD(image_border_set); | ||
1100 | ORD(image_border_get); | ||
1101 | ORD(image_draw); | ||
1102 | ORD(image_map_draw); | ||
1103 | ORD(image_cache_flush); | ||
1104 | ORD(image_cache_set); | ||
1105 | ORD(image_cache_get); | ||
1106 | ORD(image_comment_get); | ||
1107 | ORD(image_format_get); | ||
1108 | ORD(image_stride_get); | ||
1109 | ORD(font_draw); | ||
1110 | ORD(line_draw); | ||
1111 | ORD(rectangle_draw); | ||
1112 | ORD(polygon_draw); | ||
1113 | |||
1114 | ORD(image_scale_hint_set); | ||
1115 | ORD(image_scale_hint_get); | ||
1116 | |||
1117 | /* now advertise out own api */ | ||
1118 | em->functions = (void *)(&func); | ||
1119 | return 1; | ||
1120 | } | ||
1121 | |||
1122 | static void | ||
1123 | module_close(Evas_Module *em __UNUSED__) | ||
1124 | { | ||
1125 | eina_log_domain_unregister(_evas_engine_soft16_sdl_log_dom); | ||
1126 | } | ||
1127 | |||
1128 | static Evas_Module_Api evas_modapi = | ||
1129 | { | ||
1130 | EVAS_MODULE_API_VERSION, | ||
1131 | "software_16_sdl", | ||
1132 | "none", | ||
1133 | { | ||
1134 | module_open, | ||
1135 | module_close | ||
1136 | } | ||
1137 | }; | ||
1138 | |||
1139 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, software_16_sdl); | ||
1140 | |||
1141 | #ifndef EVAS_STATIC_BUILD_SOFTWARE_SDL | ||
1142 | EVAS_EINA_MODULE_DEFINE(engine, software_16_sdl); | ||
1143 | #endif | ||
1144 | |||
1145 | static Engine_Image_Entry* | ||
1146 | _sdl16_image_alloc(void) | ||
1147 | { | ||
1148 | SDL_Engine_Image_Entry *new; | ||
1149 | |||
1150 | new = calloc(1, sizeof (SDL_Engine_Image_Entry)); | ||
1151 | |||
1152 | return (Engine_Image_Entry *) new; | ||
1153 | } | ||
1154 | |||
1155 | static void | ||
1156 | _sdl16_image_delete(Engine_Image_Entry *eim) | ||
1157 | { | ||
1158 | free(eim); | ||
1159 | } | ||
1160 | |||
1161 | static int | ||
1162 | _sdl16_image_constructor(Engine_Image_Entry *ie, void* data __UNUSED__) | ||
1163 | { | ||
1164 | SDL_Surface *sdl = NULL; | ||
1165 | SDL_Engine_Image_Entry *eim = (SDL_Engine_Image_Entry *) ie; | ||
1166 | Soft16_Image *im; | ||
1167 | |||
1168 | im = (Soft16_Image *) ie->src; | ||
1169 | |||
1170 | if (im) | ||
1171 | { | ||
1172 | evas_cache_image_load_data(&im->cache_entry); | ||
1173 | |||
1174 | if (im->pixels) | ||
1175 | { | ||
1176 | /* FIXME: Take care of CSPACE */ | ||
1177 | sdl = SDL_CreateRGBSurfaceFrom(im->pixels, | ||
1178 | ie->w, ie->h, | ||
1179 | 16, ie->w * 2, | ||
1180 | RMASK565, GMASK565, BMASK565, AMASK565); | ||
1181 | eim->surface = sdl; | ||
1182 | eim->flags.engine_surface = 0; | ||
1183 | } | ||
1184 | } | ||
1185 | |||
1186 | return EVAS_LOAD_ERROR_NONE; | ||
1187 | } | ||
1188 | |||
1189 | static void | ||
1190 | _sdl16_image_destructor(Engine_Image_Entry *eim) | ||
1191 | { | ||
1192 | SDL_Engine_Image_Entry *seie = (SDL_Engine_Image_Entry *) eim; | ||
1193 | |||
1194 | if (seie->surface && !seie->flags.engine_surface) | ||
1195 | SDL_FreeSurface(seie->surface); | ||
1196 | seie->surface = NULL; | ||
1197 | } | ||
1198 | |||
1199 | static void | ||
1200 | _sdl16_image_dirty_region(Engine_Image_Entry *eim, unsigned int x, unsigned int y, unsigned int w, unsigned int h) | ||
1201 | { | ||
1202 | SDL_Engine_Image_Entry *dst; | ||
1203 | RGBA_Image *im; | ||
1204 | |||
1205 | dst = (SDL_Engine_Image_Entry *) eim; | ||
1206 | |||
1207 | SDL_UpdateRect(dst->surface, x, y, w, h); | ||
1208 | |||
1209 | im = (RGBA_Image *)eim->src; | ||
1210 | im->flags |= RGBA_IMAGE_IS_DIRTY; | ||
1211 | } | ||
1212 | |||
1213 | static int | ||
1214 | _sdl16_image_dirty(Engine_Image_Entry *dst, const Engine_Image_Entry *src __UNUSED__) | ||
1215 | { | ||
1216 | SDL_Engine_Image_Entry *eim = (SDL_Engine_Image_Entry *) dst; | ||
1217 | SDL_Surface *sdl = NULL; | ||
1218 | Soft16_Image *im; | ||
1219 | |||
1220 | im = (Soft16_Image *) dst->src; | ||
1221 | |||
1222 | /* FIXME: Take care of CSPACE */ | ||
1223 | sdl = SDL_CreateRGBSurfaceFrom(im->pixels, | ||
1224 | dst->w, dst->h, | ||
1225 | 16, dst->w * 2, | ||
1226 | RMASK565, GMASK565, BMASK565, AMASK565); | ||
1227 | eim->surface = sdl; | ||
1228 | eim->flags.engine_surface = 0; | ||
1229 | |||
1230 | return 0; | ||
1231 | } | ||
1232 | |||
1233 | static int | ||
1234 | _sdl16_image_size_set(Engine_Image_Entry *dst, const Engine_Image_Entry *src __UNUSED__) | ||
1235 | { | ||
1236 | SDL_Engine_Image_Entry *eim = (SDL_Engine_Image_Entry *) dst; | ||
1237 | SDL_Surface *sdl; | ||
1238 | Soft16_Image *im; | ||
1239 | |||
1240 | im = (Soft16_Image *) dst->src; | ||
1241 | |||
1242 | /* FIXME: handle im == NULL */ | ||
1243 | sdl = SDL_CreateRGBSurfaceFrom(im->pixels, | ||
1244 | dst->w, dst->h, | ||
1245 | 16, dst->w * 2, | ||
1246 | RMASK565, GMASK565, BMASK565, AMASK565); | ||
1247 | |||
1248 | eim->surface = sdl; | ||
1249 | |||
1250 | return 0; | ||
1251 | } | ||
1252 | |||
1253 | static int | ||
1254 | _sdl16_image_update_data(Engine_Image_Entry* dst, void* engine_data) | ||
1255 | { | ||
1256 | SDL_Engine_Image_Entry *eim = (SDL_Engine_Image_Entry *) dst; | ||
1257 | SDL_Surface *sdl = NULL; | ||
1258 | Soft16_Image *im; | ||
1259 | |||
1260 | im = (Soft16_Image *) dst->src; | ||
1261 | |||
1262 | if (engine_data) | ||
1263 | { | ||
1264 | sdl = engine_data; | ||
1265 | |||
1266 | if (im) | ||
1267 | { | ||
1268 | im->pixels = sdl->pixels; | ||
1269 | im->stride = sdl->pitch / 2; | ||
1270 | im->flags.free_pixels = 0; | ||
1271 | /* im->alpha = calloc(1, sizeof (DATA8) * _calc_stride(sdl->w) * sdl->h); */ | ||
1272 | /* im->flags.free_alpha = 0; */ | ||
1273 | /* im->flags.have_alpha = 1; */ | ||
1274 | im->alpha = NULL; | ||
1275 | im->flags.free_alpha = 0; | ||
1276 | im->cache_entry.flags.alpha = 0; | ||
1277 | |||
1278 | dst->src->w = sdl->w; | ||
1279 | dst->src->h = sdl->h; | ||
1280 | } | ||
1281 | dst->w = sdl->w; | ||
1282 | dst->h = sdl->h; | ||
1283 | } | ||
1284 | else | ||
1285 | { | ||
1286 | SDL_FreeSurface(eim->surface); | ||
1287 | /* FIXME: Take care of CSPACE */ | ||
1288 | sdl = SDL_CreateRGBSurfaceFrom(im->pixels, | ||
1289 | dst->w, dst->h, | ||
1290 | 16, dst->w * 2, | ||
1291 | RMASK565, GMASK565, BMASK565, AMASK565); | ||
1292 | } | ||
1293 | |||
1294 | eim->surface = sdl; | ||
1295 | |||
1296 | return 0; | ||
1297 | } | ||
1298 | |||
1299 | static void | ||
1300 | _sdl16_image_load(Engine_Image_Entry *eim, const Image_Entry* ie_im) | ||
1301 | { | ||
1302 | SDL_Engine_Image_Entry *load = (SDL_Engine_Image_Entry *) eim; | ||
1303 | SDL_Surface *sdl; | ||
1304 | |||
1305 | if (!load->surface) | ||
1306 | { | ||
1307 | Soft16_Image *im; | ||
1308 | |||
1309 | im = (Soft16_Image *) ie_im; | ||
1310 | |||
1311 | sdl = SDL_CreateRGBSurfaceFrom(im->pixels, | ||
1312 | eim->w, eim->h, | ||
1313 | 16, eim->w * 2, | ||
1314 | RMASK565, GMASK565, BMASK565, AMASK565); | ||
1315 | load->surface = sdl; | ||
1316 | } | ||
1317 | } | ||
1318 | |||
1319 | static int | ||
1320 | _sdl16_image_mem_size_get(Engine_Image_Entry *eim) | ||
1321 | { | ||
1322 | SDL_Engine_Image_Entry *seie = (SDL_Engine_Image_Entry *) eim; | ||
1323 | int size = 0; | ||
1324 | |||
1325 | /* FIXME: Count surface size. */ | ||
1326 | if (seie->surface) | ||
1327 | size = sizeof (SDL_Surface) + sizeof (SDL_PixelFormat); | ||
1328 | |||
1329 | return size; | ||
1330 | } | ||
1331 | |||
1332 | #ifdef DEBUG_SDL | ||
1333 | static void | ||
1334 | _sdl16_image_debug(const char* context, Engine_Image_Entry* im) | ||
1335 | { | ||
1336 | } | ||
1337 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/evas_engine.h b/libraries/evas/src/modules/engines/software_16_sdl/evas_engine.h new file mode 100644 index 0000000..a1b0ee0 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_sdl/evas_engine.h | |||
@@ -0,0 +1,79 @@ | |||
1 | #ifndef EVAS_ENGINE_SDL_16_H | ||
2 | #define EVAS_ENGINE_SDL_16_H | ||
3 | |||
4 | #include "evas_common.h" | ||
5 | #include "evas_private.h" | ||
6 | #include "evas_common_soft16.h" | ||
7 | #include "Evas_Engine_SDL_16.h" | ||
8 | extern int _evas_engine_soft16_sdl_log_dom ; | ||
9 | #ifdef ERR | ||
10 | # undef ERR | ||
11 | #endif | ||
12 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_soft16_sdl_log_dom, __VA_ARGS__) | ||
13 | |||
14 | #ifdef DBG | ||
15 | # undef DBG | ||
16 | #endif | ||
17 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_soft16_sdl_log_dom, __VA_ARGS__) | ||
18 | |||
19 | #ifdef INF | ||
20 | # undef INF | ||
21 | #endif | ||
22 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_soft16_sdl_log_dom, __VA_ARGS__) | ||
23 | |||
24 | #ifdef WRN | ||
25 | # undef WRN | ||
26 | #endif | ||
27 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_soft16_sdl_log_dom, __VA_ARGS__) | ||
28 | |||
29 | #ifdef CRIT | ||
30 | # undef CRIT | ||
31 | #endif | ||
32 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_soft16_sdl_log_dom, __VA_ARGS__) | ||
33 | |||
34 | typedef struct _SDL_Engine_Image_Entry SDL_Engine_Image_Entry; | ||
35 | struct _SDL_Engine_Image_Entry | ||
36 | { | ||
37 | Engine_Image_Entry cache_entry; | ||
38 | |||
39 | SDL_Surface *surface; | ||
40 | |||
41 | struct | ||
42 | { | ||
43 | unsigned int engine_surface : 1; | ||
44 | } flags; | ||
45 | }; | ||
46 | |||
47 | |||
48 | typedef struct _Render_Engine Render_Engine; | ||
49 | struct _Render_Engine | ||
50 | { | ||
51 | SDL_Engine_Image_Entry *soft16_engine_image; | ||
52 | |||
53 | Evas_Cache_Engine_Image *cache; | ||
54 | |||
55 | Soft16_Image *tmp_out; | ||
56 | |||
57 | int w; | ||
58 | int h; | ||
59 | int rot; | ||
60 | |||
61 | Tilebuf *tb; | ||
62 | Tilebuf_Rect *rects; | ||
63 | Tilebuf_Rect *cur_rect; | ||
64 | |||
65 | SDL_Rect *update_rects; | ||
66 | int update_rects_count; | ||
67 | int update_rects_limit; | ||
68 | |||
69 | struct | ||
70 | { | ||
71 | unsigned int fullscreen : 1; | ||
72 | unsigned int noframe : 1; | ||
73 | unsigned int alpha : 1; | ||
74 | unsigned int hwsurface : 1; | ||
75 | unsigned int end : 1; | ||
76 | } flags; | ||
77 | }; | ||
78 | |||
79 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Evas_Engine_Software_16_WinCE.h b/libraries/evas/src/modules/engines/software_16_wince/Evas_Engine_Software_16_WinCE.h new file mode 100644 index 0000000..e94b7c2 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/Evas_Engine_Software_16_WinCE.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef __EVAS_ENGINE_SOFTWARE_16_WINCE_H__ | ||
2 | #define __EVAS_ENGINE_SOFTWARE_16_WINCE_H__ | ||
3 | |||
4 | |||
5 | #include <windows.h> | ||
6 | |||
7 | |||
8 | typedef struct _Evas_Engine_Info_Software_16_WinCE Evas_Engine_Info_Software_16_WinCE; | ||
9 | |||
10 | struct _Evas_Engine_Info_Software_16_WinCE | ||
11 | { | ||
12 | /* PRIVATE - don't mess with this baby or evas will poke its tongue out */ | ||
13 | /* at you and make nasty noises */ | ||
14 | Evas_Engine_Info magic; | ||
15 | |||
16 | struct { | ||
17 | HWND window; | ||
18 | int width; | ||
19 | int height; | ||
20 | int backend; /* 0: auto, 1: raw, 2: gapi, 3: ddraw, 4: gdi */ | ||
21 | int rotation; | ||
22 | unsigned int fullscreen : 1; | ||
23 | } info; | ||
24 | /* engine specific function calls to query stuff about messages */ | ||
25 | struct { | ||
26 | int (*suspend) (int backend); | ||
27 | int (*resume) (int backend); | ||
28 | } func; | ||
29 | |||
30 | /* non-blocking or blocking mode */ | ||
31 | Evas_Engine_Render_Mode render_mode; | ||
32 | }; | ||
33 | |||
34 | |||
35 | #endif /* __EVAS_ENGINE_SOFTWARE_16_WINCE_H__ */ | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Makefile.am b/libraries/evas/src/modules/engines/software_16_wince/Makefile.am new file mode 100644 index 0000000..7f0c666 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/Makefile.am | |||
@@ -0,0 +1,52 @@ | |||
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 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
10 | @EINA_CFLAGS@ \ | ||
11 | @FREETYPE_CFLAGS@ \ | ||
12 | @PIXMAN_CFLAGS@ \ | ||
13 | @evas_engine_software_16_wince_cflags@ | ||
14 | |||
15 | if BUILD_ENGINE_SOFTWARE_16_WINCE | ||
16 | |||
17 | SOFTWARE_16_WINCE_SOURCE = \ | ||
18 | evas_engine.c \ | ||
19 | evas_wince_ddraw_buffer.cpp \ | ||
20 | evas_wince_fb_buffer.c \ | ||
21 | evas_wince_gapi_buffer.c \ | ||
22 | evas_wince_gdi_buffer.c | ||
23 | |||
24 | SOFTWARE_16_WINCE_LIBADD = @evas_engine_software_16_wince_libs@ | ||
25 | |||
26 | |||
27 | includes_HEADERS = Evas_Engine_Software_16_WinCE.h | ||
28 | includesdir = $(includedir)/evas-@VMAJ@ | ||
29 | |||
30 | if !EVAS_STATIC_BUILD_SOFTWARE_16_WINCE | ||
31 | |||
32 | pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH) | ||
33 | pkg_LTLIBRARIES = module.la | ||
34 | |||
35 | module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) | ||
36 | module_la_CFLAGS = @WIN32_CFLAGS@ | ||
37 | module_la_CXXFLAGS = -fno-rtti -fno-exceptions | ||
38 | module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD) | ||
39 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
40 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
41 | |||
42 | else | ||
43 | |||
44 | noinst_LTLIBRARIES = libevas_engine_software_16_wince.la | ||
45 | |||
46 | libevas_engine_software_16_wince_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) | ||
47 | libevas_engine_software_16_wince_la_LIBADD = $(SOFTWARE_16_WINCE_LIBADD) | ||
48 | |||
49 | endif | ||
50 | endif | ||
51 | |||
52 | EXTRA_DIST = evas_engine.h | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Makefile.in b/libraries/evas/src/modules/engines/software_16_wince/Makefile.in new file mode 100644 index 0000000..571891e --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/Makefile.in | |||
@@ -0,0 +1,898 @@ | |||
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/software_16_wince | ||
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 | am__DEPENDENCIES_1 = | ||
85 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE@libevas_engine_software_16_wince_la_DEPENDENCIES = $(am__DEPENDENCIES_1) | ||
86 | am__libevas_engine_software_16_wince_la_SOURCES_DIST = evas_engine.c \ | ||
87 | evas_wince_ddraw_buffer.cpp evas_wince_fb_buffer.c \ | ||
88 | evas_wince_gapi_buffer.c evas_wince_gdi_buffer.c | ||
89 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@am__objects_1 = evas_engine.lo \ | ||
90 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ evas_wince_ddraw_buffer.lo \ | ||
91 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ evas_wince_fb_buffer.lo \ | ||
92 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ evas_wince_gapi_buffer.lo \ | ||
93 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ evas_wince_gdi_buffer.lo | ||
94 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE@am_libevas_engine_software_16_wince_la_OBJECTS = $(am__objects_1) | ||
95 | libevas_engine_software_16_wince_la_OBJECTS = \ | ||
96 | $(am_libevas_engine_software_16_wince_la_OBJECTS) | ||
97 | AM_V_lt = $(am__v_lt_$(V)) | ||
98 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
99 | am__v_lt_0 = --silent | ||
100 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE@am_libevas_engine_software_16_wince_la_rpath = | ||
101 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la \ | ||
102 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@ $(am__DEPENDENCIES_1) | ||
103 | am__module_la_SOURCES_DIST = evas_engine.c evas_wince_ddraw_buffer.cpp \ | ||
104 | evas_wince_fb_buffer.c evas_wince_gapi_buffer.c \ | ||
105 | evas_wince_gdi_buffer.c | ||
106 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@am__objects_2 = \ | ||
107 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ module_la-evas_engine.lo \ | ||
108 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ module_la-evas_wince_ddraw_buffer.lo \ | ||
109 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ module_la-evas_wince_fb_buffer.lo \ | ||
110 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ module_la-evas_wince_gapi_buffer.lo \ | ||
111 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@ module_la-evas_wince_gdi_buffer.lo | ||
112 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@am_module_la_OBJECTS = $(am__objects_2) | ||
113 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
114 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ | ||
115 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ | ||
116 | $(module_la_CXXFLAGS) $(CXXFLAGS) $(module_la_LDFLAGS) \ | ||
117 | $(LDFLAGS) -o $@ | ||
118 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@am_module_la_rpath = -rpath \ | ||
119 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@ $(pkgdir) | ||
120 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
121 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
122 | am__depfiles_maybe = depfiles | ||
123 | am__mv = mv -f | ||
124 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
125 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
126 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
127 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
128 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
129 | $(AM_CFLAGS) $(CFLAGS) | ||
130 | AM_V_CC = $(am__v_CC_$(V)) | ||
131 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
132 | am__v_CC_0 = @echo " CC " $@; | ||
133 | AM_V_at = $(am__v_at_$(V)) | ||
134 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
135 | am__v_at_0 = @ | ||
136 | CCLD = $(CC) | ||
137 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
138 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
139 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
140 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
141 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
142 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
143 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
144 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
145 | LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ | ||
146 | $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ | ||
147 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
148 | $(AM_CXXFLAGS) $(CXXFLAGS) | ||
149 | AM_V_CXX = $(am__v_CXX_$(V)) | ||
150 | am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) | ||
151 | am__v_CXX_0 = @echo " CXX " $@; | ||
152 | CXXLD = $(CXX) | ||
153 | CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ | ||
154 | $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ | ||
155 | $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
156 | AM_V_CXXLD = $(am__v_CXXLD_$(V)) | ||
157 | am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) | ||
158 | am__v_CXXLD_0 = @echo " CXXLD " $@; | ||
159 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
160 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
161 | am__v_GEN_0 = @echo " GEN " $@; | ||
162 | SOURCES = $(libevas_engine_software_16_wince_la_SOURCES) \ | ||
163 | $(module_la_SOURCES) | ||
164 | DIST_SOURCES = \ | ||
165 | $(am__libevas_engine_software_16_wince_la_SOURCES_DIST) \ | ||
166 | $(am__module_la_SOURCES_DIST) | ||
167 | am__includes_HEADERS_DIST = Evas_Engine_Software_16_WinCE.h | ||
168 | HEADERS = $(includes_HEADERS) | ||
169 | ETAGS = etags | ||
170 | CTAGS = ctags | ||
171 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
172 | ACLOCAL = @ACLOCAL@ | ||
173 | ALLOCA = @ALLOCA@ | ||
174 | AMTAR = @AMTAR@ | ||
175 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
176 | AR = @AR@ | ||
177 | AS = @AS@ | ||
178 | AUTOCONF = @AUTOCONF@ | ||
179 | AUTOHEADER = @AUTOHEADER@ | ||
180 | AUTOMAKE = @AUTOMAKE@ | ||
181 | AWK = @AWK@ | ||
182 | CC = @CC@ | ||
183 | CCDEPMODE = @CCDEPMODE@ | ||
184 | CFLAGS = @CFLAGS@ | ||
185 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
186 | CHECK_LIBS = @CHECK_LIBS@ | ||
187 | CPP = @CPP@ | ||
188 | CPPFLAGS = @CPPFLAGS@ | ||
189 | CXX = @CXX@ | ||
190 | CXXCPP = @CXXCPP@ | ||
191 | CXXDEPMODE = @CXXDEPMODE@ | ||
192 | CXXFLAGS = @CXXFLAGS@ | ||
193 | CYGPATH_W = @CYGPATH_W@ | ||
194 | DEFS = @DEFS@ | ||
195 | DEPDIR = @DEPDIR@ | ||
196 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
197 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
198 | DLLTOOL = @DLLTOOL@ | ||
199 | DSYMUTIL = @DSYMUTIL@ | ||
200 | DUMPBIN = @DUMPBIN@ | ||
201 | ECHO_C = @ECHO_C@ | ||
202 | ECHO_N = @ECHO_N@ | ||
203 | ECHO_T = @ECHO_T@ | ||
204 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
205 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
206 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
207 | EDB_LIBS = @EDB_LIBS@ | ||
208 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
209 | EDJE_LIBS = @EDJE_LIBS@ | ||
210 | EET_CFLAGS = @EET_CFLAGS@ | ||
211 | EET_LIBS = @EET_LIBS@ | ||
212 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
213 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
214 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
215 | EGREP = @EGREP@ | ||
216 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
217 | EINA_LIBS = @EINA_LIBS@ | ||
218 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
219 | EVAS_LIBS = @EVAS_LIBS@ | ||
220 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
221 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
222 | EVIL_LIBS = @EVIL_LIBS@ | ||
223 | EXEEXT = @EXEEXT@ | ||
224 | FGREP = @FGREP@ | ||
225 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
226 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
227 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
228 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
229 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
230 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
231 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
232 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
233 | GREP = @GREP@ | ||
234 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
235 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
236 | INSTALL = @INSTALL@ | ||
237 | INSTALL_DATA = @INSTALL_DATA@ | ||
238 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
239 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
240 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
241 | LD = @LD@ | ||
242 | LDFLAGS = @LDFLAGS@ | ||
243 | LIBOBJS = @LIBOBJS@ | ||
244 | LIBS = @LIBS@ | ||
245 | LIBTOOL = @LIBTOOL@ | ||
246 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
247 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
248 | LIPO = @LIPO@ | ||
249 | LN_S = @LN_S@ | ||
250 | LTLIBOBJS = @LTLIBOBJS@ | ||
251 | MAKEINFO = @MAKEINFO@ | ||
252 | MKDIR_P = @MKDIR_P@ | ||
253 | MODULE_ARCH = @MODULE_ARCH@ | ||
254 | NM = @NM@ | ||
255 | NMEDIT = @NMEDIT@ | ||
256 | OBJC = @OBJC@ | ||
257 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
258 | OBJCFLAGS = @OBJCFLAGS@ | ||
259 | OBJDUMP = @OBJDUMP@ | ||
260 | OBJEXT = @OBJEXT@ | ||
261 | OTOOL = @OTOOL@ | ||
262 | OTOOL64 = @OTOOL64@ | ||
263 | PACKAGE = @PACKAGE@ | ||
264 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
265 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
266 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
267 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
268 | PACKAGE_URL = @PACKAGE_URL@ | ||
269 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
270 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
271 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
272 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
273 | PKG_CONFIG = @PKG_CONFIG@ | ||
274 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
275 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
276 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
277 | PNG_LIBS = @PNG_LIBS@ | ||
278 | RANLIB = @RANLIB@ | ||
279 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
280 | SDL_LIBS = @SDL_LIBS@ | ||
281 | SED = @SED@ | ||
282 | SET_MAKE = @SET_MAKE@ | ||
283 | SHELL = @SHELL@ | ||
284 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
285 | STRIP = @STRIP@ | ||
286 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
287 | SVG_LIBS = @SVG_LIBS@ | ||
288 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
289 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
290 | VERSION = @VERSION@ | ||
291 | VMAJ = @VMAJ@ | ||
292 | WIN32_CFLAGS = @WIN32_CFLAGS@ | ||
293 | WIN32_CPPFLAGS = @WIN32_CPPFLAGS@ | ||
294 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
295 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
296 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
297 | XCB_LIBS = @XCB_LIBS@ | ||
298 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
299 | XEXT_LIBS = @XEXT_LIBS@ | ||
300 | XMKMF = @XMKMF@ | ||
301 | X_CFLAGS = @X_CFLAGS@ | ||
302 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
303 | X_LIBS = @X_LIBS@ | ||
304 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
305 | abs_builddir = @abs_builddir@ | ||
306 | abs_srcdir = @abs_srcdir@ | ||
307 | abs_top_builddir = @abs_top_builddir@ | ||
308 | abs_top_srcdir = @abs_top_srcdir@ | ||
309 | ac_ct_CC = @ac_ct_CC@ | ||
310 | ac_ct_CXX = @ac_ct_CXX@ | ||
311 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
312 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
313 | altivec_cflags = @altivec_cflags@ | ||
314 | am__include = @am__include@ | ||
315 | am__leading_dot = @am__leading_dot@ | ||
316 | am__quote = @am__quote@ | ||
317 | am__tar = @am__tar@ | ||
318 | am__untar = @am__untar@ | ||
319 | bindir = @bindir@ | ||
320 | build = @build@ | ||
321 | build_alias = @build_alias@ | ||
322 | build_cpu = @build_cpu@ | ||
323 | build_os = @build_os@ | ||
324 | build_vendor = @build_vendor@ | ||
325 | builddir = @builddir@ | ||
326 | datadir = @datadir@ | ||
327 | datarootdir = @datarootdir@ | ||
328 | dlopen_libs = @dlopen_libs@ | ||
329 | docdir = @docdir@ | ||
330 | dvidir = @dvidir@ | ||
331 | edje_cc = @edje_cc@ | ||
332 | efl_doxygen = @efl_doxygen@ | ||
333 | efl_have_doxygen = @efl_have_doxygen@ | ||
334 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
335 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
336 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
337 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
338 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
339 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
340 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
341 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
342 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
343 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
344 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
345 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
346 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
347 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
348 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
349 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
350 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
351 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
352 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
353 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
354 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
355 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
356 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
357 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
358 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
359 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
360 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
361 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
362 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
363 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
364 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
365 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
366 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
367 | evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@ | ||
368 | evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@ | ||
369 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
370 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
371 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
372 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@ | ||
373 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
374 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
375 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
376 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
377 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
378 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
379 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
380 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
381 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
382 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
383 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
384 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
385 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
386 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
387 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
388 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
389 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
390 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
391 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
392 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
393 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
394 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
395 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
396 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
397 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
398 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
399 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
400 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
401 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
402 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
403 | exec_prefix = @exec_prefix@ | ||
404 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
405 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
406 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
407 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
408 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
409 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
410 | have_lcov = @have_lcov@ | ||
411 | host = @host@ | ||
412 | host_alias = @host_alias@ | ||
413 | host_cpu = @host_cpu@ | ||
414 | host_os = @host_os@ | ||
415 | host_vendor = @host_vendor@ | ||
416 | htmldir = @htmldir@ | ||
417 | includedir = @includedir@ | ||
418 | infodir = @infodir@ | ||
419 | install_sh = @install_sh@ | ||
420 | libdir = @libdir@ | ||
421 | libexecdir = @libexecdir@ | ||
422 | localedir = @localedir@ | ||
423 | localstatedir = @localstatedir@ | ||
424 | lt_ECHO = @lt_ECHO@ | ||
425 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
426 | mandir = @mandir@ | ||
427 | mkdir_p = @mkdir_p@ | ||
428 | oldincludedir = @oldincludedir@ | ||
429 | pdfdir = @pdfdir@ | ||
430 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
431 | prefix = @prefix@ | ||
432 | program_transform_name = @program_transform_name@ | ||
433 | psdir = @psdir@ | ||
434 | pthread_cflags = @pthread_cflags@ | ||
435 | pthread_libs = @pthread_libs@ | ||
436 | release_info = @release_info@ | ||
437 | requirement_evas = @requirement_evas@ | ||
438 | sbindir = @sbindir@ | ||
439 | sharedstatedir = @sharedstatedir@ | ||
440 | srcdir = @srcdir@ | ||
441 | sysconfdir = @sysconfdir@ | ||
442 | target_alias = @target_alias@ | ||
443 | top_build_prefix = @top_build_prefix@ | ||
444 | top_builddir = @top_builddir@ | ||
445 | top_srcdir = @top_srcdir@ | ||
446 | version_info = @version_info@ | ||
447 | MAINTAINERCLEANFILES = Makefile.in | ||
448 | AM_CPPFLAGS = \ | ||
449 | -I. \ | ||
450 | -I$(top_srcdir)/src/lib \ | ||
451 | -I$(top_srcdir)/src/lib/include \ | ||
452 | -I$(top_srcdir)/src/modules/engines \ | ||
453 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
454 | @EINA_CFLAGS@ \ | ||
455 | @FREETYPE_CFLAGS@ \ | ||
456 | @PIXMAN_CFLAGS@ \ | ||
457 | @evas_engine_software_16_wince_cflags@ | ||
458 | |||
459 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@SOFTWARE_16_WINCE_SOURCE = \ | ||
460 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@evas_engine.c \ | ||
461 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@evas_wince_ddraw_buffer.cpp \ | ||
462 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@evas_wince_fb_buffer.c \ | ||
463 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@evas_wince_gapi_buffer.c \ | ||
464 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@evas_wince_gdi_buffer.c | ||
465 | |||
466 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@SOFTWARE_16_WINCE_LIBADD = @evas_engine_software_16_wince_libs@ | ||
467 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@includes_HEADERS = Evas_Engine_Software_16_WinCE.h | ||
468 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@includesdir = $(includedir)/evas-@VMAJ@ | ||
469 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH) | ||
470 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkg_LTLIBRARIES = module.la | ||
471 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) | ||
472 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CFLAGS = @WIN32_CFLAGS@ | ||
473 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CXXFLAGS = -fno-rtti -fno-exceptions | ||
474 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD) | ||
475 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
476 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static | ||
477 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_wince.la | ||
478 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE@libevas_engine_software_16_wince_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) | ||
479 | @BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE@libevas_engine_software_16_wince_la_LIBADD = $(SOFTWARE_16_WINCE_LIBADD) | ||
480 | EXTRA_DIST = evas_engine.h | ||
481 | all: all-am | ||
482 | |||
483 | .SUFFIXES: | ||
484 | .SUFFIXES: .c .cpp .lo .o .obj | ||
485 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
486 | @for dep in $?; do \ | ||
487 | case '$(am__configure_deps)' in \ | ||
488 | *$$dep*) \ | ||
489 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
490 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
491 | exit 1;; \ | ||
492 | esac; \ | ||
493 | done; \ | ||
494 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/engines/software_16_wince/Makefile'; \ | ||
495 | $(am__cd) $(top_srcdir) && \ | ||
496 | $(AUTOMAKE) --gnu src/modules/engines/software_16_wince/Makefile | ||
497 | .PRECIOUS: Makefile | ||
498 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
499 | @case '$?' in \ | ||
500 | *config.status*) \ | ||
501 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
502 | *) \ | ||
503 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
504 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
505 | esac; | ||
506 | |||
507 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
508 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
509 | |||
510 | $(top_srcdir)/configure: $(am__configure_deps) | ||
511 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
512 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
513 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
514 | $(am__aclocal_m4_deps): | ||
515 | |||
516 | clean-noinstLTLIBRARIES: | ||
517 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
518 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
519 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
520 | test "$$dir" != "$$p" || dir=.; \ | ||
521 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
522 | rm -f "$${dir}/so_locations"; \ | ||
523 | done | ||
524 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
525 | @$(NORMAL_INSTALL) | ||
526 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
527 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
528 | list2=; for p in $$list; do \ | ||
529 | if test -f $$p; then \ | ||
530 | list2="$$list2 $$p"; \ | ||
531 | else :; fi; \ | ||
532 | done; \ | ||
533 | test -z "$$list2" || { \ | ||
534 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
535 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
536 | } | ||
537 | |||
538 | uninstall-pkgLTLIBRARIES: | ||
539 | @$(NORMAL_UNINSTALL) | ||
540 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
541 | for p in $$list; do \ | ||
542 | $(am__strip_dir) \ | ||
543 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
544 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
545 | done | ||
546 | |||
547 | clean-pkgLTLIBRARIES: | ||
548 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
549 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
550 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
551 | test "$$dir" != "$$p" || dir=.; \ | ||
552 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
553 | rm -f "$${dir}/so_locations"; \ | ||
554 | done | ||
555 | libevas_engine_software_16_wince.la: $(libevas_engine_software_16_wince_la_OBJECTS) $(libevas_engine_software_16_wince_la_DEPENDENCIES) | ||
556 | $(AM_V_CXXLD)$(CXXLINK) $(am_libevas_engine_software_16_wince_la_rpath) $(libevas_engine_software_16_wince_la_OBJECTS) $(libevas_engine_software_16_wince_la_LIBADD) $(LIBS) | ||
557 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
558 | $(AM_V_CXXLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
559 | |||
560 | mostlyclean-compile: | ||
561 | -rm -f *.$(OBJEXT) | ||
562 | |||
563 | distclean-compile: | ||
564 | -rm -f *.tab.c | ||
565 | |||
566 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@ | ||
567 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_wince_ddraw_buffer.Plo@am__quote@ | ||
568 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_wince_fb_buffer.Plo@am__quote@ | ||
569 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_wince_gapi_buffer.Plo@am__quote@ | ||
570 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_wince_gdi_buffer.Plo@am__quote@ | ||
571 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_engine.Plo@am__quote@ | ||
572 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_wince_ddraw_buffer.Plo@am__quote@ | ||
573 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_wince_fb_buffer.Plo@am__quote@ | ||
574 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_wince_gapi_buffer.Plo@am__quote@ | ||
575 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_wince_gdi_buffer.Plo@am__quote@ | ||
576 | |||
577 | .c.o: | ||
578 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
579 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
580 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
581 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
582 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
583 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
584 | |||
585 | .c.obj: | ||
586 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
587 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
588 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
589 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
590 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
591 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
592 | |||
593 | .c.lo: | ||
594 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
595 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
596 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
597 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
598 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
599 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
600 | |||
601 | module_la-evas_engine.lo: evas_engine.c | ||
602 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_engine.lo -MD -MP -MF $(DEPDIR)/module_la-evas_engine.Tpo -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c | ||
603 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo | ||
604 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
605 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ | ||
606 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
607 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c | ||
608 | |||
609 | module_la-evas_wince_fb_buffer.lo: evas_wince_fb_buffer.c | ||
610 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_fb_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c | ||
611 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo $(DEPDIR)/module_la-evas_wince_fb_buffer.Plo | ||
612 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
613 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_fb_buffer.c' object='module_la-evas_wince_fb_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
614 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
615 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c | ||
616 | |||
617 | module_la-evas_wince_gapi_buffer.lo: evas_wince_gapi_buffer.c | ||
618 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gapi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c | ||
619 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gapi_buffer.Plo | ||
620 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
621 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gapi_buffer.c' object='module_la-evas_wince_gapi_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
622 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
623 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c | ||
624 | |||
625 | module_la-evas_wince_gdi_buffer.lo: evas_wince_gdi_buffer.c | ||
626 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gdi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c | ||
627 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gdi_buffer.Plo | ||
628 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
629 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gdi_buffer.c' object='module_la-evas_wince_gdi_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
630 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
631 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c | ||
632 | |||
633 | .cpp.o: | ||
634 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
635 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
636 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
637 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
638 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
639 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | ||
640 | |||
641 | .cpp.obj: | ||
642 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
643 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
644 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
645 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
646 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
647 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||
648 | |||
649 | .cpp.lo: | ||
650 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
651 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
652 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
653 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
654 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
655 | @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< | ||
656 | |||
657 | module_la-evas_wince_ddraw_buffer.lo: evas_wince_ddraw_buffer.cpp | ||
658 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CXXFLAGS) $(CXXFLAGS) -MT module_la-evas_wince_ddraw_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_ddraw_buffer.Tpo -c -o module_la-evas_wince_ddraw_buffer.lo `test -f 'evas_wince_ddraw_buffer.cpp' || echo '$(srcdir)/'`evas_wince_ddraw_buffer.cpp | ||
659 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_ddraw_buffer.Tpo $(DEPDIR)/module_la-evas_wince_ddraw_buffer.Plo | ||
660 | @am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ | ||
661 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='evas_wince_ddraw_buffer.cpp' object='module_la-evas_wince_ddraw_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
662 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
663 | @am__fastdepCXX_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CXX $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CXXFLAGS) $(CXXFLAGS) -c -o module_la-evas_wince_ddraw_buffer.lo `test -f 'evas_wince_ddraw_buffer.cpp' || echo '$(srcdir)/'`evas_wince_ddraw_buffer.cpp | ||
664 | |||
665 | mostlyclean-libtool: | ||
666 | -rm -f *.lo | ||
667 | |||
668 | clean-libtool: | ||
669 | -rm -rf .libs _libs | ||
670 | install-includesHEADERS: $(includes_HEADERS) | ||
671 | @$(NORMAL_INSTALL) | ||
672 | test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)" | ||
673 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
674 | for p in $$list; do \ | ||
675 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
676 | echo "$$d$$p"; \ | ||
677 | done | $(am__base_list) | \ | ||
678 | while read files; do \ | ||
679 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \ | ||
680 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \ | ||
681 | done | ||
682 | |||
683 | uninstall-includesHEADERS: | ||
684 | @$(NORMAL_UNINSTALL) | ||
685 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
686 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
687 | test -n "$$files" || exit 0; \ | ||
688 | echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \ | ||
689 | cd "$(DESTDIR)$(includesdir)" && rm -f $$files | ||
690 | |||
691 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
692 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
693 | unique=`for i in $$list; do \ | ||
694 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
695 | done | \ | ||
696 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
697 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
698 | mkid -fID $$unique | ||
699 | tags: TAGS | ||
700 | |||
701 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
702 | $(TAGS_FILES) $(LISP) | ||
703 | set x; \ | ||
704 | here=`pwd`; \ | ||
705 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
706 | unique=`for i in $$list; do \ | ||
707 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
708 | done | \ | ||
709 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
710 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
711 | shift; \ | ||
712 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
713 | test -n "$$unique" || unique=$$empty_fix; \ | ||
714 | if test $$# -gt 0; then \ | ||
715 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
716 | "$$@" $$unique; \ | ||
717 | else \ | ||
718 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
719 | $$unique; \ | ||
720 | fi; \ | ||
721 | fi | ||
722 | ctags: CTAGS | ||
723 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
724 | $(TAGS_FILES) $(LISP) | ||
725 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
726 | unique=`for i in $$list; do \ | ||
727 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
728 | done | \ | ||
729 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
730 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
731 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
732 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
733 | $$unique | ||
734 | |||
735 | GTAGS: | ||
736 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
737 | && $(am__cd) $(top_srcdir) \ | ||
738 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
739 | |||
740 | distclean-tags: | ||
741 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
742 | |||
743 | distdir: $(DISTFILES) | ||
744 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
745 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
746 | list='$(DISTFILES)'; \ | ||
747 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
748 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
749 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
750 | case $$dist_files in \ | ||
751 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
752 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
753 | sort -u` ;; \ | ||
754 | esac; \ | ||
755 | for file in $$dist_files; do \ | ||
756 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
757 | if test -d $$d/$$file; then \ | ||
758 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
759 | if test -d "$(distdir)/$$file"; then \ | ||
760 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
761 | fi; \ | ||
762 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
763 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
764 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
765 | fi; \ | ||
766 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
767 | else \ | ||
768 | test -f "$(distdir)/$$file" \ | ||
769 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
770 | || exit 1; \ | ||
771 | fi; \ | ||
772 | done | ||
773 | check-am: all-am | ||
774 | check: check-am | ||
775 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
776 | installdirs: | ||
777 | for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
778 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
779 | done | ||
780 | install: install-am | ||
781 | install-exec: install-exec-am | ||
782 | install-data: install-data-am | ||
783 | uninstall: uninstall-am | ||
784 | |||
785 | install-am: all-am | ||
786 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
787 | |||
788 | installcheck: installcheck-am | ||
789 | install-strip: | ||
790 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
791 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
792 | `test -z '$(STRIP)' || \ | ||
793 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
794 | mostlyclean-generic: | ||
795 | |||
796 | clean-generic: | ||
797 | |||
798 | distclean-generic: | ||
799 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
800 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
801 | |||
802 | maintainer-clean-generic: | ||
803 | @echo "This command is intended for maintainers to use" | ||
804 | @echo "it deletes files that may require special tools to rebuild." | ||
805 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
806 | clean: clean-am | ||
807 | |||
808 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
809 | clean-pkgLTLIBRARIES mostlyclean-am | ||
810 | |||
811 | distclean: distclean-am | ||
812 | -rm -rf ./$(DEPDIR) | ||
813 | -rm -f Makefile | ||
814 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
815 | distclean-tags | ||
816 | |||
817 | dvi: dvi-am | ||
818 | |||
819 | dvi-am: | ||
820 | |||
821 | html: html-am | ||
822 | |||
823 | html-am: | ||
824 | |||
825 | info: info-am | ||
826 | |||
827 | info-am: | ||
828 | |||
829 | install-data-am: install-includesHEADERS install-pkgLTLIBRARIES | ||
830 | |||
831 | install-dvi: install-dvi-am | ||
832 | |||
833 | install-dvi-am: | ||
834 | |||
835 | install-exec-am: | ||
836 | |||
837 | install-html: install-html-am | ||
838 | |||
839 | install-html-am: | ||
840 | |||
841 | install-info: install-info-am | ||
842 | |||
843 | install-info-am: | ||
844 | |||
845 | install-man: | ||
846 | |||
847 | install-pdf: install-pdf-am | ||
848 | |||
849 | install-pdf-am: | ||
850 | |||
851 | install-ps: install-ps-am | ||
852 | |||
853 | install-ps-am: | ||
854 | |||
855 | installcheck-am: | ||
856 | |||
857 | maintainer-clean: maintainer-clean-am | ||
858 | -rm -rf ./$(DEPDIR) | ||
859 | -rm -f Makefile | ||
860 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
861 | |||
862 | mostlyclean: mostlyclean-am | ||
863 | |||
864 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
865 | mostlyclean-libtool | ||
866 | |||
867 | pdf: pdf-am | ||
868 | |||
869 | pdf-am: | ||
870 | |||
871 | ps: ps-am | ||
872 | |||
873 | ps-am: | ||
874 | |||
875 | uninstall-am: uninstall-includesHEADERS uninstall-pkgLTLIBRARIES | ||
876 | |||
877 | .MAKE: install-am install-strip | ||
878 | |||
879 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
880 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
881 | ctags distclean distclean-compile distclean-generic \ | ||
882 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
883 | html-am info info-am install install-am install-data \ | ||
884 | install-data-am install-dvi install-dvi-am install-exec \ | ||
885 | install-exec-am install-html install-html-am \ | ||
886 | install-includesHEADERS install-info install-info-am \ | ||
887 | install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \ | ||
888 | install-ps install-ps-am install-strip installcheck \ | ||
889 | installcheck-am installdirs maintainer-clean \ | ||
890 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
891 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
892 | tags uninstall uninstall-am uninstall-includesHEADERS \ | ||
893 | uninstall-pkgLTLIBRARIES | ||
894 | |||
895 | |||
896 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
897 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
898 | .NOEXPORT: | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_engine.c b/libraries/evas/src/modules/engines/software_16_wince/evas_engine.c new file mode 100644 index 0000000..74d56e6 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_engine.c | |||
@@ -0,0 +1,770 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_private.h" | ||
3 | #include "evas_engine.h" | ||
4 | #include "Evas_Engine_Software_16_WinCE.h" | ||
5 | #include "evas_common_soft16.h" | ||
6 | |||
7 | int _evas_engine_soft16_wince_log_dom = -1; | ||
8 | |||
9 | typedef enum | ||
10 | { | ||
11 | EVAS_ENGINE_WINCE_FB, | ||
12 | EVAS_ENGINE_WINCE_GAPI, | ||
13 | EVAS_ENGINE_WINCE_DDRAW, | ||
14 | EVAS_ENGINE_WINCE_GDI | ||
15 | } Evas_Engine_WinCE_Backend; | ||
16 | |||
17 | |||
18 | /* function tables - filled in later (func and parent func) */ | ||
19 | static Evas_Func func, pfunc; | ||
20 | |||
21 | /* engine struct data */ | ||
22 | typedef struct _Render_Engine Render_Engine; | ||
23 | |||
24 | struct _Render_Engine | ||
25 | { | ||
26 | Evas_Engine_WinCE_Backend backend; /* 1: raw, 2: gapi, 3: ddraw, 4: GDI */ | ||
27 | void *backend_priv; | ||
28 | void (*backend_shutdown)(void *priv); | ||
29 | FB_Output_Buffer *(*backend_output_buffer_new)(void *priv, | ||
30 | int width, | ||
31 | int height); | ||
32 | void (*backend_output_buffer_free)(FB_Output_Buffer *fbob); | ||
33 | void (*backend_output_buffer_paste)(FB_Output_Buffer *fbob); | ||
34 | void (*backend_surface_resize)(FB_Output_Buffer *fbob); | ||
35 | |||
36 | int width; | ||
37 | int height; | ||
38 | int rotation; | ||
39 | Tilebuf *tb; | ||
40 | Tilebuf_Rect *rects; | ||
41 | Tilebuf_Rect *cur_rect; | ||
42 | FB_Output_Buffer *fbob; | ||
43 | Soft16_Image *tmp_out; /* used by indirect render, like rotation */ | ||
44 | HRGN clip_rects; | ||
45 | unsigned char end : 1; | ||
46 | }; | ||
47 | |||
48 | /* prototypes we will use here */ | ||
49 | |||
50 | static void *eng_info(Evas *e); | ||
51 | static void eng_info_free(Evas *e, void *info); | ||
52 | static int eng_setup(Evas *e, void *info); | ||
53 | static void eng_output_free(void *data); | ||
54 | static void eng_output_resize(void *data, int w, int h); | ||
55 | static void eng_output_tile_size_set(void *data, int w, int h); | ||
56 | static void eng_output_redraws_rect_add(void *data, int x, int y, int w, int h); | ||
57 | static void eng_output_redraws_rect_del(void *data, int x, int y, int w, int h); | ||
58 | static void eng_output_redraws_clear(void *data); | ||
59 | 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); | ||
60 | static void eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h); | ||
61 | static void eng_output_flush(void *data); | ||
62 | static void eng_output_idle_flush(void *data); | ||
63 | |||
64 | static int | ||
65 | _suspend(int backend) | ||
66 | { | ||
67 | switch (backend) | ||
68 | { | ||
69 | case 2: /* gapi */ | ||
70 | return evas_software_wince_gapi_suspend(); | ||
71 | default: /* other engines do not need it */ | ||
72 | return 0; | ||
73 | } | ||
74 | } | ||
75 | |||
76 | static int | ||
77 | _resume(int backend) | ||
78 | { | ||
79 | switch (backend) | ||
80 | { | ||
81 | case 2: /* gapi */ | ||
82 | return evas_software_wince_gapi_resume(); | ||
83 | default: /* other engines do not need it */ | ||
84 | return 0; | ||
85 | } | ||
86 | } | ||
87 | |||
88 | /* engine api this module provides */ | ||
89 | static void * | ||
90 | eng_info(Evas *e) | ||
91 | { | ||
92 | Evas_Engine_Info_Software_16_WinCE *info; | ||
93 | info = calloc(1, sizeof(Evas_Engine_Info_Software_16_WinCE)); | ||
94 | if (!info) return NULL; | ||
95 | info->magic.magic = rand(); | ||
96 | info->func.suspend = _suspend; | ||
97 | info->func.resume = _resume; | ||
98 | info->render_mode = EVAS_RENDER_MODE_BLOCKING; | ||
99 | return info; | ||
100 | e = NULL; | ||
101 | } | ||
102 | |||
103 | static void | ||
104 | eng_info_free(Evas *e, void *info) | ||
105 | { | ||
106 | Evas_Engine_Info_Software_16_WinCE *in; | ||
107 | in = (Evas_Engine_Info_Software_16_WinCE *)info; | ||
108 | free(in); | ||
109 | } | ||
110 | |||
111 | static void | ||
112 | _tmp_out_alloc(Render_Engine *re) | ||
113 | { | ||
114 | Tilebuf_Rect *r; | ||
115 | int w = 0, h = 0; | ||
116 | |||
117 | EINA_INLIST_FOREACH(re->rects, r) | ||
118 | { | ||
119 | if (r->w > w) w = r->w; | ||
120 | if (r->h > h) h = r->h; | ||
121 | } | ||
122 | |||
123 | if (re->tmp_out) | ||
124 | { | ||
125 | if ((re->tmp_out->cache_entry.w < w) || (re->tmp_out->cache_entry.h < h)) | ||
126 | { | ||
127 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
128 | re->tmp_out = NULL; | ||
129 | } | ||
130 | } | ||
131 | |||
132 | if (!re->tmp_out) | ||
133 | { | ||
134 | Soft16_Image *im; | ||
135 | |||
136 | im = (Soft16_Image *) evas_cache_image_empty(evas_common_soft16_image_cache_get()); | ||
137 | im->cache_entry.flags.alpha = 0; | ||
138 | evas_cache_image_surface_alloc(&im->cache_entry, w, h); | ||
139 | |||
140 | re->tmp_out = im; | ||
141 | } | ||
142 | } | ||
143 | |||
144 | |||
145 | static int | ||
146 | eng_setup(Evas *e, void *in) | ||
147 | { | ||
148 | Render_Engine *re; | ||
149 | Evas_Engine_Info_Software_16_WinCE *info; | ||
150 | |||
151 | info = (Evas_Engine_Info_Software_16_WinCE *)in; | ||
152 | if (!e->engine.data.output) | ||
153 | { | ||
154 | /* do common routine init - we wil at least use it for core | ||
155 | * image loading and font loading/glyph rendering & placement */ | ||
156 | evas_common_cpu_init(); | ||
157 | |||
158 | evas_common_blend_init(); | ||
159 | evas_common_image_init(); | ||
160 | evas_common_convert_init(); | ||
161 | evas_common_scale_init(); | ||
162 | evas_common_rectangle_init(); | ||
163 | evas_common_polygon_init(); | ||
164 | evas_common_line_init(); | ||
165 | evas_common_font_init(); | ||
166 | evas_common_draw_init(); | ||
167 | evas_common_tilebuf_init(); | ||
168 | evas_common_soft16_image_init(); | ||
169 | |||
170 | /* render engine specific data */ | ||
171 | re = calloc(1, sizeof(Render_Engine)); | ||
172 | if (!re) | ||
173 | return 0; | ||
174 | e->engine.data.output = re; | ||
175 | |||
176 | switch(info->info.backend) | ||
177 | { | ||
178 | case 1: /* FB */ | ||
179 | re->backend = EVAS_ENGINE_WINCE_FB; | ||
180 | re->backend_priv = evas_software_wince_fb_init(info->info.window, info->info.width, info->info.height); | ||
181 | if (!re->backend_priv) | ||
182 | { | ||
183 | free(re); | ||
184 | return 0; | ||
185 | } | ||
186 | re->backend_shutdown = evas_software_wince_fb_shutdown; | ||
187 | re->backend_output_buffer_new = evas_software_wince_fb_output_buffer_new; | ||
188 | re->backend_output_buffer_free = evas_software_wince_fb_output_buffer_free; | ||
189 | re->backend_output_buffer_paste = evas_software_wince_fb_output_buffer_paste; | ||
190 | re->backend_surface_resize = evas_software_wince_fb_surface_resize; | ||
191 | break; | ||
192 | case 2: /* GAPI */ | ||
193 | re->backend = EVAS_ENGINE_WINCE_GAPI; | ||
194 | re->backend_priv = evas_software_wince_gapi_init(info->info.window, info->info.width, info->info.height); | ||
195 | if (!re->backend_priv) | ||
196 | { | ||
197 | free(re); | ||
198 | return 0; | ||
199 | } | ||
200 | re->backend_shutdown = evas_software_wince_gapi_shutdown; | ||
201 | re->backend_output_buffer_new = evas_software_wince_gapi_output_buffer_new; | ||
202 | re->backend_output_buffer_free = evas_software_wince_gapi_output_buffer_free; | ||
203 | re->backend_output_buffer_paste = evas_software_wince_gapi_output_buffer_paste; | ||
204 | re->backend_surface_resize = evas_software_wince_gapi_surface_resize; | ||
205 | break; | ||
206 | case 3: /* DirectDraw */ | ||
207 | re->backend = EVAS_ENGINE_WINCE_DDRAW; | ||
208 | re->backend_priv = evas_software_wince_ddraw_init(info->info.window, info->info.width, info->info.height); | ||
209 | if (!re->backend_priv) | ||
210 | { | ||
211 | free(re); | ||
212 | return 0; | ||
213 | } | ||
214 | re->backend_shutdown = evas_software_wince_ddraw_shutdown; | ||
215 | re->backend_output_buffer_new = evas_software_wince_ddraw_output_buffer_new; | ||
216 | re->backend_output_buffer_free = evas_software_wince_ddraw_output_buffer_free; | ||
217 | re->backend_output_buffer_paste = evas_software_wince_ddraw_output_buffer_paste; | ||
218 | re->backend_surface_resize = evas_software_wince_ddraw_surface_resize; | ||
219 | break; | ||
220 | case 4: /* GDI */ | ||
221 | re->backend = EVAS_ENGINE_WINCE_GDI; | ||
222 | re->backend_priv = evas_software_wince_gdi_init(info->info.window, info->info.width, info->info.height, info->info.fullscreen); | ||
223 | if (!re->backend_priv) | ||
224 | { | ||
225 | free(re); | ||
226 | return 0; | ||
227 | } | ||
228 | re->backend_shutdown = evas_software_wince_gdi_shutdown; | ||
229 | re->backend_output_buffer_new = evas_software_wince_gdi_output_buffer_new; | ||
230 | re->backend_output_buffer_free = evas_software_wince_gdi_output_buffer_free; | ||
231 | re->backend_output_buffer_paste = evas_software_wince_gdi_output_buffer_paste; | ||
232 | re->backend_surface_resize = evas_software_wince_gdi_surface_resize; | ||
233 | break; | ||
234 | default: | ||
235 | free(re); | ||
236 | return 0; | ||
237 | } | ||
238 | |||
239 | re->width = e->output.w; | ||
240 | re->height = e->output.h; | ||
241 | re->rotation = info->info.rotation; | ||
242 | re->tb = evas_common_tilebuf_new(e->output.w, e->output.h); | ||
243 | if (re->tb) | ||
244 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
245 | } | ||
246 | else | ||
247 | { | ||
248 | re = e->engine.data.output; | ||
249 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
250 | |||
251 | switch(info->info.backend) | ||
252 | { | ||
253 | case 1: /* FB */ | ||
254 | re->backend = EVAS_ENGINE_WINCE_FB; | ||
255 | re->backend_priv = evas_software_wince_fb_init(info->info.window, info->info.width, info->info.height); | ||
256 | if (!re->backend_priv) | ||
257 | { | ||
258 | free(re); | ||
259 | return 0; | ||
260 | } | ||
261 | re->backend_shutdown = evas_software_wince_fb_shutdown; | ||
262 | re->backend_output_buffer_new = evas_software_wince_fb_output_buffer_new; | ||
263 | re->backend_output_buffer_free = evas_software_wince_fb_output_buffer_free; | ||
264 | re->backend_output_buffer_paste = evas_software_wince_fb_output_buffer_paste; | ||
265 | re->backend_surface_resize = evas_software_wince_fb_surface_resize; | ||
266 | break; | ||
267 | case 2: /* GAPI */ | ||
268 | re->backend = EVAS_ENGINE_WINCE_GAPI; | ||
269 | re->backend_priv = evas_software_wince_gapi_init(info->info.window, info->info.width, info->info.height); | ||
270 | if (!re->backend_priv) | ||
271 | { | ||
272 | free(re); | ||
273 | return 0; | ||
274 | } | ||
275 | re->backend_shutdown = evas_software_wince_gapi_shutdown; | ||
276 | re->backend_output_buffer_new = evas_software_wince_gapi_output_buffer_new; | ||
277 | re->backend_output_buffer_free = evas_software_wince_gapi_output_buffer_free; | ||
278 | re->backend_output_buffer_paste = evas_software_wince_gapi_output_buffer_paste; | ||
279 | re->backend_surface_resize = evas_software_wince_gapi_surface_resize; | ||
280 | break; | ||
281 | case 3: /* DirectDraw */ | ||
282 | re->backend = EVAS_ENGINE_WINCE_DDRAW; | ||
283 | re->backend_priv = evas_software_wince_ddraw_init(info->info.window, info->info.width, info->info.height); | ||
284 | if (!re->backend_priv) | ||
285 | { | ||
286 | free(re); | ||
287 | return 0; | ||
288 | } | ||
289 | re->backend_shutdown = evas_software_wince_ddraw_shutdown; | ||
290 | re->backend_output_buffer_new = evas_software_wince_ddraw_output_buffer_new; | ||
291 | re->backend_output_buffer_free = evas_software_wince_ddraw_output_buffer_free; | ||
292 | re->backend_output_buffer_paste = evas_software_wince_ddraw_output_buffer_paste; | ||
293 | re->backend_surface_resize = evas_software_wince_ddraw_surface_resize; | ||
294 | break; | ||
295 | case 4: /* GDI */ | ||
296 | re->backend = EVAS_ENGINE_WINCE_GDI; | ||
297 | re->backend_priv = evas_software_wince_gdi_init(info->info.window, info->info.width, info->info.height, info->info.fullscreen); | ||
298 | if (!re->backend_priv) | ||
299 | { | ||
300 | free(re); | ||
301 | return 0; | ||
302 | } | ||
303 | re->backend_shutdown = evas_software_wince_gdi_shutdown; | ||
304 | re->backend_output_buffer_new = evas_software_wince_gdi_output_buffer_new; | ||
305 | re->backend_output_buffer_free = evas_software_wince_gdi_output_buffer_free; | ||
306 | re->backend_output_buffer_paste = evas_software_wince_gdi_output_buffer_paste; | ||
307 | re->backend_surface_resize = evas_software_wince_gdi_surface_resize; | ||
308 | break; | ||
309 | default: | ||
310 | free(re); | ||
311 | return 0; | ||
312 | } | ||
313 | |||
314 | re->width = e->output.w; | ||
315 | re->height = e->output.h; | ||
316 | re->rotation = info->info.rotation; | ||
317 | re->tb = evas_common_tilebuf_new(e->output.w, e->output.h); | ||
318 | if (re->tb) | ||
319 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
320 | if (re->tmp_out) | ||
321 | { | ||
322 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
323 | re->tmp_out = NULL; | ||
324 | } | ||
325 | } | ||
326 | if (!e->engine.data.output) return 0; | ||
327 | /* add a draw context if we dont have one */ | ||
328 | if (!e->engine.data.context) | ||
329 | e->engine.data.context = | ||
330 | e->engine.func->context_new(e->engine.data.output); | ||
331 | |||
332 | return 1; | ||
333 | } | ||
334 | |||
335 | static void | ||
336 | eng_output_free(void *data) | ||
337 | { | ||
338 | Render_Engine *re; | ||
339 | |||
340 | re = (Render_Engine *)data; | ||
341 | if (re->fbob) re->backend_output_buffer_free(re->backend_priv); | ||
342 | re->backend_shutdown(re->backend_priv); | ||
343 | if (re->clip_rects) DeleteObject(re->clip_rects); | ||
344 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
345 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
346 | if (re->tmp_out) evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
347 | free(re); | ||
348 | |||
349 | evas_common_font_shutdown(); | ||
350 | evas_common_image_shutdown(); | ||
351 | evas_common_soft16_image_shutdown(); | ||
352 | } | ||
353 | |||
354 | static void | ||
355 | eng_output_resize(void *data, int w, int h) | ||
356 | { | ||
357 | Render_Engine *re; | ||
358 | |||
359 | re = (Render_Engine *)data; | ||
360 | |||
361 | if ((re->width == w) && (re->height == h)) return; | ||
362 | |||
363 | /* FIXME: is it needed ?? */ | ||
364 | if (re->fbob) | ||
365 | re->backend_surface_resize(re->fbob); | ||
366 | |||
367 | evas_common_tilebuf_free(re->tb); | ||
368 | re->width = w; | ||
369 | re->height = h; | ||
370 | re->tb = evas_common_tilebuf_new(w, h); | ||
371 | if (re->tb) | ||
372 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
373 | if (re->fbob) | ||
374 | { | ||
375 | re->backend_output_buffer_free(re->fbob); | ||
376 | re->fbob = NULL; | ||
377 | } | ||
378 | if (re->clip_rects) | ||
379 | { | ||
380 | DeleteObject(re->clip_rects); | ||
381 | re->clip_rects = NULL; | ||
382 | } | ||
383 | if (re->tmp_out) | ||
384 | { | ||
385 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
386 | re->tmp_out = NULL; | ||
387 | } | ||
388 | } | ||
389 | |||
390 | static void | ||
391 | eng_output_tile_size_set(void *data, int w, int h) | ||
392 | { | ||
393 | Render_Engine *re; | ||
394 | |||
395 | re = (Render_Engine *)data; | ||
396 | evas_common_tilebuf_set_tile_size(re->tb, w, h); | ||
397 | } | ||
398 | |||
399 | static void | ||
400 | eng_output_redraws_rect_add(void *data, int x, int y, int w, int h) | ||
401 | { | ||
402 | Render_Engine *re; | ||
403 | |||
404 | re = (Render_Engine *)data; | ||
405 | evas_common_tilebuf_add_redraw(re->tb, x, y, w, h); | ||
406 | } | ||
407 | |||
408 | static void | ||
409 | eng_output_redraws_rect_del(void *data, int x, int y, int w, int h) | ||
410 | { | ||
411 | Render_Engine *re; | ||
412 | |||
413 | re = (Render_Engine *)data; | ||
414 | evas_common_tilebuf_del_redraw(re->tb, x, y, w, h); | ||
415 | } | ||
416 | |||
417 | static void | ||
418 | eng_output_redraws_clear(void *data) | ||
419 | { | ||
420 | Render_Engine *re; | ||
421 | |||
422 | re = (Render_Engine *)data; | ||
423 | evas_common_tilebuf_clear(re->tb); | ||
424 | } | ||
425 | |||
426 | static inline void | ||
427 | _output_buffer_alloc(Render_Engine *re) | ||
428 | { | ||
429 | int width; | ||
430 | int height; | ||
431 | |||
432 | if (re->fbob) return; | ||
433 | |||
434 | if ((re->rotation == 0) || (re->rotation == 180)) | ||
435 | { | ||
436 | width = re->width; | ||
437 | height = re->height; | ||
438 | } | ||
439 | else | ||
440 | { | ||
441 | width = re->height; | ||
442 | height = re->width; | ||
443 | } | ||
444 | |||
445 | re->fbob = re->backend_output_buffer_new(re->backend_priv, | ||
446 | width, | ||
447 | height); | ||
448 | } | ||
449 | |||
450 | static void * | ||
451 | eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, int *cx, int *cy, int *cw, int *ch) | ||
452 | { | ||
453 | Render_Engine *re; | ||
454 | Tilebuf_Rect *rect; | ||
455 | int ux, uy, uw, uh; | ||
456 | |||
457 | re = (Render_Engine *)data; | ||
458 | if (re->end) | ||
459 | { | ||
460 | re->end = 0; | ||
461 | return NULL; | ||
462 | } | ||
463 | if (!re->rects) | ||
464 | { | ||
465 | re->rects = evas_common_tilebuf_get_render_rects(re->tb); | ||
466 | if (!re->rects) return NULL; | ||
467 | |||
468 | re->cur_rect = re->rects; | ||
469 | _output_buffer_alloc(re); | ||
470 | if (re->rotation != 0) _tmp_out_alloc(re); /* grows if required */ | ||
471 | } | ||
472 | if (!re->cur_rect) | ||
473 | { | ||
474 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
475 | re->rects = NULL; | ||
476 | return NULL; | ||
477 | } | ||
478 | rect = re->cur_rect; | ||
479 | ux = rect->x; uy = rect->y; uw = rect->w; uh = rect->h; | ||
480 | re->cur_rect = (Tilebuf_Rect *)((EINA_INLIST_GET(re->cur_rect))->next); | ||
481 | if (!re->cur_rect) | ||
482 | { | ||
483 | evas_common_tilebuf_free_render_rects(re->rects); | ||
484 | re->rects = NULL; | ||
485 | re->end = 1; | ||
486 | } | ||
487 | |||
488 | *x = ux; *y = uy; *w = uw; *h = uh; | ||
489 | if (re->rotation == 0) | ||
490 | { | ||
491 | *cx = ux; *cy = uy; *cw = uw; *ch = uh; | ||
492 | return re->fbob->im; | ||
493 | } | ||
494 | else | ||
495 | { | ||
496 | *cx = 0; *cy = 0; *cw = uw; *ch = uh; | ||
497 | return re->tmp_out; | ||
498 | } | ||
499 | } | ||
500 | |||
501 | static void | ||
502 | _blit_rot_90(Soft16_Image *dst, const Soft16_Image *src, | ||
503 | int out_x, int out_y, int w, int h) | ||
504 | { | ||
505 | DATA16 *dp, *sp; | ||
506 | int x, y; | ||
507 | |||
508 | sp = src->pixels; | ||
509 | dp = dst->pixels + (out_x + | ||
510 | (w + out_y - 1) * dst->stride); | ||
511 | |||
512 | for (y = 0; y < h; y++) | ||
513 | { | ||
514 | DATA16 *dp_itr, *sp_itr; | ||
515 | |||
516 | sp_itr = sp; | ||
517 | dp_itr = dp; | ||
518 | |||
519 | for (x = 0; x < w; x++) | ||
520 | { | ||
521 | *dp_itr = *sp_itr; | ||
522 | |||
523 | sp_itr++; | ||
524 | dp_itr -= dst->stride; | ||
525 | } | ||
526 | sp += src->stride; | ||
527 | dp++; | ||
528 | } | ||
529 | } | ||
530 | |||
531 | static void | ||
532 | _blit_rot_180(Soft16_Image *dst, const Soft16_Image *src, | ||
533 | int out_x, int out_y, int w, int h) | ||
534 | { | ||
535 | DATA16 *dp, *sp; | ||
536 | int x, y; | ||
537 | |||
538 | sp = src->pixels; | ||
539 | dp = dst->pixels + ((w + out_x - 1) + | ||
540 | (h + out_y - 1) * dst->stride); | ||
541 | |||
542 | for (y = 0; y < h; y++) | ||
543 | { | ||
544 | DATA16 *dp_itr, *sp_itr; | ||
545 | |||
546 | sp_itr = sp; | ||
547 | dp_itr = dp; | ||
548 | |||
549 | for (x = 0; x < w; x++) | ||
550 | { | ||
551 | *dp_itr = *sp_itr; | ||
552 | |||
553 | sp_itr++; | ||
554 | dp_itr--; | ||
555 | } | ||
556 | sp += src->stride; | ||
557 | dp -= dst->stride; | ||
558 | } | ||
559 | } | ||
560 | |||
561 | static void | ||
562 | _blit_rot_270(Soft16_Image *dst, const Soft16_Image *src, | ||
563 | int out_x, int out_y, int w, int h) | ||
564 | { | ||
565 | DATA16 *dp, *sp; | ||
566 | int x, y; | ||
567 | |||
568 | sp = src->pixels; | ||
569 | dp = dst->pixels + ((h + out_x - 1) + | ||
570 | out_y * dst->stride); | ||
571 | |||
572 | for (y = 0; y < h; y++) | ||
573 | { | ||
574 | DATA16 *dp_itr, *sp_itr; | ||
575 | |||
576 | sp_itr = sp; | ||
577 | dp_itr = dp; | ||
578 | |||
579 | for (x = 0; x < w; x++) | ||
580 | { | ||
581 | *dp_itr = *sp_itr; | ||
582 | |||
583 | sp_itr++; | ||
584 | dp_itr += dst->stride; | ||
585 | } | ||
586 | sp += src->stride; | ||
587 | dp--; | ||
588 | } | ||
589 | } | ||
590 | |||
591 | static void | ||
592 | _tmp_out_process(Render_Engine *re, int out_x, int out_y, int w, int h) | ||
593 | { | ||
594 | Soft16_Image *d, *s; | ||
595 | |||
596 | d = re->fbob->im; | ||
597 | s = re->tmp_out; | ||
598 | |||
599 | if ((w < 1) || (h < 1) || (out_x >= d->cache_entry.w) || (out_y >= d->cache_entry.h)) | ||
600 | return; | ||
601 | |||
602 | if (re->rotation == 90) | ||
603 | _blit_rot_90(d, s, out_x, out_y, w, h); | ||
604 | else if (re->rotation == 180) | ||
605 | _blit_rot_180(d, s, out_x, out_y, w, h); | ||
606 | else if (re->rotation == 270) | ||
607 | _blit_rot_270(d, s, out_x, out_y, w, h); | ||
608 | } | ||
609 | |||
610 | static void | ||
611 | eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h) | ||
612 | { | ||
613 | Render_Engine *re; | ||
614 | HRGN region; | ||
615 | int xx; | ||
616 | int yy; | ||
617 | int width; | ||
618 | int height; | ||
619 | |||
620 | re = (Render_Engine *)data; | ||
621 | |||
622 | if (!re->clip_rects) | ||
623 | re->clip_rects = CreateRectRgn(0, 0, 0, 0); | ||
624 | |||
625 | if (re->rotation == 0) | ||
626 | { | ||
627 | xx = x; | ||
628 | yy = y; | ||
629 | width = w; | ||
630 | height = h; | ||
631 | } | ||
632 | else if (re->rotation == 90) | ||
633 | { | ||
634 | xx = y; | ||
635 | yy = re->width - w - x; | ||
636 | width = h; | ||
637 | height = w; | ||
638 | } | ||
639 | else if (re->rotation == 180) | ||
640 | { | ||
641 | xx = re->width - w - x; | ||
642 | yy = re->height - h - y; | ||
643 | width = w; | ||
644 | height = h; | ||
645 | } | ||
646 | else if (re->rotation == 270) | ||
647 | { | ||
648 | xx = re->height - h - y; | ||
649 | yy = x; | ||
650 | width = h; | ||
651 | height = w; | ||
652 | } | ||
653 | |||
654 | region = CreateRectRgn(xx, yy, xx + width, yy + height); | ||
655 | |||
656 | if (re->rotation != 0) | ||
657 | _tmp_out_process(re, xx, yy, w, h); | ||
658 | CombineRgn(re->clip_rects, re->clip_rects, region, RGN_OR); | ||
659 | } | ||
660 | |||
661 | static void | ||
662 | eng_output_flush(void *data) | ||
663 | { | ||
664 | Render_Engine *re; | ||
665 | |||
666 | re = (Render_Engine *)data; | ||
667 | if (re->clip_rects) | ||
668 | { | ||
669 | /* FIXME : i have to manage that */ | ||
670 | /* XSetRegion(re->disp, re->gc, re->clip_rects); */ | ||
671 | DeleteObject(re->clip_rects); | ||
672 | re->clip_rects = NULL; | ||
673 | } | ||
674 | else return; | ||
675 | |||
676 | re->backend_output_buffer_paste(re->fbob); | ||
677 | |||
678 | /* FIXME : i have to manage that */ | ||
679 | /* XSetClipMask(re->disp, re->gc, None); */ | ||
680 | } | ||
681 | |||
682 | static void | ||
683 | eng_output_idle_flush(void *data) | ||
684 | { | ||
685 | Render_Engine *re; | ||
686 | |||
687 | re = (Render_Engine *)data; | ||
688 | if (re->fbob) | ||
689 | { | ||
690 | re->backend_output_buffer_free(re->fbob); | ||
691 | re->fbob = NULL; | ||
692 | } | ||
693 | if (re->clip_rects) | ||
694 | { | ||
695 | DeleteObject(re->clip_rects); | ||
696 | re->clip_rects = NULL; | ||
697 | } | ||
698 | if (re->tmp_out) | ||
699 | { | ||
700 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
701 | re->tmp_out = NULL; | ||
702 | } | ||
703 | } | ||
704 | |||
705 | static Eina_Bool | ||
706 | eng_canvas_alpha_get(void *data, void *context) | ||
707 | { | ||
708 | return EINA_FALSE; | ||
709 | } | ||
710 | |||
711 | /* module advertising code */ | ||
712 | static int | ||
713 | module_open(Evas_Module *em) | ||
714 | { | ||
715 | if (!em) return 0; | ||
716 | /* get whatever engine module we inherit from */ | ||
717 | if (!_evas_module_engine_inherit(&pfunc, "software_16")) return 0; | ||
718 | _evas_engine_soft16_wince_log_dom = eina_log_domain_register | ||
719 | ("evas-software_16_wince", EVAS_DEFAULT_LOG_COLOR); | ||
720 | if (_evas_engine_soft16_wince_log_dom < 0) | ||
721 | { | ||
722 | EINA_LOG_ERR("Can not create a module log domain."); | ||
723 | return 0; | ||
724 | } | ||
725 | |||
726 | /* store it for later use */ | ||
727 | func = pfunc; | ||
728 | /* now to override methods */ | ||
729 | #define ORD(f) EVAS_API_OVERRIDE(f, &func, eng_) | ||
730 | ORD(info); | ||
731 | ORD(info_free); | ||
732 | ORD(setup); | ||
733 | ORD(canvas_alpha_get); | ||
734 | ORD(output_free); | ||
735 | ORD(output_resize); | ||
736 | ORD(output_tile_size_set); | ||
737 | ORD(output_redraws_rect_add); | ||
738 | ORD(output_redraws_rect_del); | ||
739 | ORD(output_redraws_clear); | ||
740 | ORD(output_redraws_next_update_get); | ||
741 | ORD(output_redraws_next_update_push); | ||
742 | ORD(output_flush); | ||
743 | ORD(output_idle_flush); | ||
744 | /* now advertise out own api */ | ||
745 | em->functions = (void *)(&func); | ||
746 | return 1; | ||
747 | } | ||
748 | |||
749 | static void | ||
750 | module_close(Evas_Module *em) | ||
751 | { | ||
752 | eina_log_domain_unregister(_evas_engine_soft16_wince_log_dom); | ||
753 | } | ||
754 | |||
755 | static Evas_Module_Api evas_modapi = | ||
756 | { | ||
757 | EVAS_MODULE_API_VERSION, | ||
758 | "software_16_wince", | ||
759 | "none", | ||
760 | { | ||
761 | module_open, | ||
762 | module_close | ||
763 | } | ||
764 | }; | ||
765 | |||
766 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, software_16_wince); | ||
767 | |||
768 | #ifndef EVAS_STATIC_BUILD_SOFTWARE_16_WINCE | ||
769 | EVAS_EINA_MODULE_DEFINE(engine, software_16_wince); | ||
770 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_engine.h b/libraries/evas/src/modules/engines/software_16_wince/evas_engine.h new file mode 100644 index 0000000..344e7b9 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_engine.h | |||
@@ -0,0 +1,120 @@ | |||
1 | #ifndef __EVAS_ENGINE_H__ | ||
2 | #define __EVAS_ENGINE_H__ | ||
3 | |||
4 | #define WIN32_LEAN_AND_MEAN | ||
5 | #include <windows.h> | ||
6 | #undef WIN32_LEAN_AND_MEAN | ||
7 | #include "evas_common.h" | ||
8 | #include "evas_common_soft16.h" | ||
9 | |||
10 | extern int _evas_engine_soft16_wince_log_dom; | ||
11 | #ifdef ERR | ||
12 | # undef ERR | ||
13 | #endif | ||
14 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
15 | |||
16 | #ifdef DBG | ||
17 | # undef DBG | ||
18 | #endif | ||
19 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
20 | |||
21 | #ifdef INF | ||
22 | # undef INF | ||
23 | #endif | ||
24 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
25 | |||
26 | #ifdef WRN | ||
27 | # undef WRN | ||
28 | #endif | ||
29 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
30 | |||
31 | #ifdef CRIT | ||
32 | # undef CRIT | ||
33 | #endif | ||
34 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_soft16_wince_log_dom, __VA_ARGS__) | ||
35 | |||
36 | typedef struct _FB_Output_Buffer FB_Output_Buffer; | ||
37 | |||
38 | struct _FB_Output_Buffer | ||
39 | { | ||
40 | Soft16_Image *im; | ||
41 | void *priv; | ||
42 | }; | ||
43 | |||
44 | |||
45 | /* Raw FrameBuffer */ | ||
46 | |||
47 | void *evas_software_wince_fb_init (HWND window, | ||
48 | int width, | ||
49 | int height); | ||
50 | FB_Output_Buffer *evas_software_wince_fb_output_buffer_new (void *priv, | ||
51 | int width, | ||
52 | int height); | ||
53 | void evas_software_wince_fb_shutdown(void *priv); | ||
54 | void evas_software_wince_fb_output_buffer_free (FB_Output_Buffer *fbob); | ||
55 | void evas_software_wince_fb_output_buffer_paste (FB_Output_Buffer *fbob); | ||
56 | |||
57 | void evas_software_wince_fb_surface_resize(FB_Output_Buffer *fbob); | ||
58 | |||
59 | |||
60 | /* GAPI */ | ||
61 | |||
62 | void *evas_software_wince_gapi_init (HWND window, | ||
63 | int width, | ||
64 | int height); | ||
65 | FB_Output_Buffer *evas_software_wince_gapi_output_buffer_new (void *priv, | ||
66 | int width, | ||
67 | int height); | ||
68 | void evas_software_wince_gapi_shutdown(void *priv); | ||
69 | void evas_software_wince_gapi_output_buffer_free (FB_Output_Buffer *fbob); | ||
70 | void evas_software_wince_gapi_output_buffer_paste (FB_Output_Buffer *fbob); | ||
71 | |||
72 | void evas_software_wince_gapi_surface_resize(FB_Output_Buffer *fbob); | ||
73 | |||
74 | void *evas_software_wince_gapi_default_keys(void); | ||
75 | int evas_software_wince_gapi_suspend(void); | ||
76 | int evas_software_wince_gapi_resume(void); | ||
77 | |||
78 | |||
79 | /* DirectDraw */ | ||
80 | |||
81 | #ifdef __cplusplus | ||
82 | extern "C" { | ||
83 | #endif | ||
84 | |||
85 | |||
86 | void *evas_software_wince_ddraw_init (HWND window, | ||
87 | int width, | ||
88 | int height); | ||
89 | FB_Output_Buffer *evas_software_wince_ddraw_output_buffer_new (void *priv, | ||
90 | int width, | ||
91 | int height); | ||
92 | void evas_software_wince_ddraw_shutdown(void *priv); | ||
93 | void evas_software_wince_ddraw_output_buffer_free (FB_Output_Buffer *fbob); | ||
94 | void evas_software_wince_ddraw_output_buffer_paste (FB_Output_Buffer *fbob); | ||
95 | |||
96 | void evas_software_wince_ddraw_surface_resize(FB_Output_Buffer *fbob); | ||
97 | |||
98 | |||
99 | #ifdef __cplusplus | ||
100 | } | ||
101 | #endif | ||
102 | |||
103 | |||
104 | /* GDI */ | ||
105 | |||
106 | void *evas_software_wince_gdi_init (HWND window, | ||
107 | int width, | ||
108 | int height, | ||
109 | int fullscreen); | ||
110 | FB_Output_Buffer *evas_software_wince_gdi_output_buffer_new (void *priv, | ||
111 | int width, | ||
112 | int height); | ||
113 | void evas_software_wince_gdi_shutdown(void *priv); | ||
114 | void evas_software_wince_gdi_output_buffer_free (FB_Output_Buffer *fbob); | ||
115 | void evas_software_wince_gdi_output_buffer_paste (FB_Output_Buffer *fbob); | ||
116 | |||
117 | void evas_software_wince_gdi_surface_resize(FB_Output_Buffer *fbob); | ||
118 | |||
119 | |||
120 | #endif /* __EVAS_ENGINE_H__ */ | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_wince_ddraw_buffer.cpp b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_ddraw_buffer.cpp new file mode 100644 index 0000000..944ed53 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_ddraw_buffer.cpp | |||
@@ -0,0 +1,195 @@ | |||
1 | |||
2 | #include <cstdio> | ||
3 | |||
4 | #define WIN32_LEAN_AND_MEAN | ||
5 | #include <windows.h> | ||
6 | #undef WIN32_LEAN_AND_MEAN | ||
7 | #include <ddraw.h> | ||
8 | |||
9 | #include "evas_common.h" | ||
10 | #include "evas_engine.h" | ||
11 | |||
12 | |||
13 | typedef LONG (*fct_DirectDrawCreate)(LPGUID, LPUNKNOWN *, LPUNKNOWN *); | ||
14 | |||
15 | fct_DirectDrawCreate lib_DirectDrawCreate; | ||
16 | |||
17 | typedef struct Evas_Engine_WinCE_DDraw_Priv Evas_Engine_WinCE_DDraw_Priv; | ||
18 | |||
19 | struct Evas_Engine_WinCE_DDraw_Priv | ||
20 | { | ||
21 | HMODULE module; | ||
22 | LPDIRECTDRAW object; | ||
23 | LPDIRECTDRAWSURFACE surface; | ||
24 | int width; | ||
25 | int height; | ||
26 | int stride; | ||
27 | }; | ||
28 | |||
29 | void * | ||
30 | evas_software_wince_ddraw_init(HWND window, | ||
31 | int width, | ||
32 | int height) | ||
33 | { | ||
34 | DDSURFACEDESC surface_desc; | ||
35 | Evas_Engine_WinCE_DDraw_Priv *priv; | ||
36 | HRESULT res; | ||
37 | |||
38 | priv = (Evas_Engine_WinCE_DDraw_Priv *)malloc(sizeof(Evas_Engine_WinCE_DDraw_Priv)); | ||
39 | if (!priv) | ||
40 | return NULL; | ||
41 | |||
42 | priv->module = LoadLibrary(L"ddraw.dll"); | ||
43 | if (!priv->module) | ||
44 | { | ||
45 | fprintf(stderr, "[Engine] [WinCE DDraw] Can not load ddraw.dll\n"); | ||
46 | goto free_priv; | ||
47 | } | ||
48 | |||
49 | lib_DirectDrawCreate = (fct_DirectDrawCreate)GetProcAddress(priv->module, L"DirectDrawCreate"); | ||
50 | if (!lib_DirectDrawCreate) | ||
51 | { | ||
52 | fprintf(stderr, "[Engine] [WinCE DDraw] Can not initialize DirectDraw\n"); | ||
53 | goto free_lib; | ||
54 | } | ||
55 | |||
56 | res = lib_DirectDrawCreate(NULL, (IUnknown**)&priv->object, NULL); | ||
57 | if (FAILED(res)) | ||
58 | { | ||
59 | fprintf(stderr, "[Engine] [WinCE DDraw] Can not create DirectDraw object\n"); | ||
60 | goto free_lib; | ||
61 | } | ||
62 | |||
63 | res = priv->object->SetCooperativeLevel(window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); | ||
64 | if (FAILED(res)) | ||
65 | { | ||
66 | fprintf(stderr, "[Engine] [WinCE DDraw] Can not set window to fullscreen\n"); | ||
67 | goto release_object; | ||
68 | } | ||
69 | |||
70 | memset(&surface_desc, 0, sizeof(surface_desc)); | ||
71 | surface_desc.dwSize = sizeof(surface_desc); | ||
72 | surface_desc.dwFlags = DDSD_CAPS; | ||
73 | surface_desc.ddsCaps.dwCaps = DDSCAPS_PRIMARYSURFACE; | ||
74 | |||
75 | res = priv->object->CreateSurface(&surface_desc, &priv->surface, NULL); | ||
76 | if (FAILED(res)) | ||
77 | { | ||
78 | fprintf(stderr, "[Engine] [WinCE DDraw] Can not create surface\n"); | ||
79 | goto release_object; | ||
80 | } | ||
81 | |||
82 | memset(&surface_desc, 0, sizeof(surface_desc)); | ||
83 | surface_desc.dwSize = sizeof(surface_desc); | ||
84 | res = priv->surface->Lock(NULL, &surface_desc, DDLOCK_READONLY, NULL); | ||
85 | if (FAILED(res)) | ||
86 | { | ||
87 | fprintf(stderr, "[Evas] [Engine] [WinCE DDraw] Can not lock surface\n"); | ||
88 | goto release_surface; | ||
89 | } | ||
90 | |||
91 | priv->width = surface_desc.dwWidth; | ||
92 | priv->height = surface_desc.dwHeight; | ||
93 | priv->stride = surface_desc.lPitch / 2; | ||
94 | |||
95 | if ((priv->width != width) || | ||
96 | (priv->height != height)) | ||
97 | { | ||
98 | fprintf(stderr, "[Engine] [WinCE DDraw] Size mismatch\n"); | ||
99 | fprintf(stderr, "[Engine] [WinCE DDraw] asked : %dx%d\n", width, height); | ||
100 | fprintf(stderr, "[Engine] [WinCE DDraw] got : %dx%d\n", priv->width, priv->height); | ||
101 | goto release_surface; | ||
102 | } | ||
103 | |||
104 | res = priv->surface->Unlock(NULL); | ||
105 | if (FAILED(res)) | ||
106 | { | ||
107 | fprintf(stderr, "[Engine] [WinCE DDraw] Can not unlock surface\n"); | ||
108 | goto release_surface; | ||
109 | } | ||
110 | |||
111 | return priv; | ||
112 | |||
113 | release_surface: | ||
114 | priv->surface->Release(); | ||
115 | release_object: | ||
116 | priv->object->Release(); | ||
117 | free_lib: | ||
118 | FreeLibrary(priv->module); | ||
119 | free_priv: | ||
120 | free(priv); | ||
121 | |||
122 | return 0; | ||
123 | } | ||
124 | |||
125 | void | ||
126 | evas_software_wince_ddraw_shutdown(void *priv) | ||
127 | { | ||
128 | ((Evas_Engine_WinCE_DDraw_Priv *)priv)->surface->Release(); | ||
129 | ((Evas_Engine_WinCE_DDraw_Priv *)priv)->object->Release(); | ||
130 | FreeLibrary(((Evas_Engine_WinCE_DDraw_Priv *)priv)->module); | ||
131 | free(priv); | ||
132 | } | ||
133 | |||
134 | |||
135 | FB_Output_Buffer * | ||
136 | evas_software_wince_ddraw_output_buffer_new(void *priv, | ||
137 | int width, | ||
138 | int height) | ||
139 | { | ||
140 | FB_Output_Buffer *fbob; | ||
141 | void *buffer; | ||
142 | |||
143 | fbob = (FB_Output_Buffer *)calloc(1, sizeof(FB_Output_Buffer)); | ||
144 | if (!fbob) return NULL; | ||
145 | |||
146 | buffer = malloc (width * height * 2); /* we are sure to have 16bpp */ | ||
147 | if (!buffer) | ||
148 | { | ||
149 | free(fbob); | ||
150 | return NULL; | ||
151 | } | ||
152 | |||
153 | fbob->priv = priv; | ||
154 | |||
155 | fbob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), width, height, (DATA32 *)buffer, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
156 | if (fbob->im) | ||
157 | fbob->im->stride = ((Evas_Engine_WinCE_DDraw_Priv *)priv)->stride; | ||
158 | |||
159 | return fbob; | ||
160 | } | ||
161 | |||
162 | void | ||
163 | evas_software_wince_ddraw_output_buffer_free(FB_Output_Buffer *fbob) | ||
164 | { | ||
165 | free(fbob->im->pixels); | ||
166 | free(fbob); | ||
167 | } | ||
168 | |||
169 | void | ||
170 | evas_software_wince_ddraw_output_buffer_paste(FB_Output_Buffer *fbob) | ||
171 | { | ||
172 | DDSURFACEDESC surface_desc; | ||
173 | Evas_Engine_WinCE_DDraw_Priv *priv; | ||
174 | HRESULT res; | ||
175 | |||
176 | priv = (Evas_Engine_WinCE_DDraw_Priv *)fbob->priv; | ||
177 | |||
178 | memset(&surface_desc, 0, sizeof(surface_desc)); | ||
179 | surface_desc.dwSize = sizeof(surface_desc); | ||
180 | res = priv->surface->Lock(NULL, &surface_desc, DDLOCK_WRITEONLY, NULL); | ||
181 | if (FAILED(res)) | ||
182 | return; | ||
183 | |||
184 | if ((fbob->im->cache_entry.w == surface_desc.dwWidth) && | ||
185 | (fbob->im->cache_entry.h == surface_desc.dwHeight)) | ||
186 | memcpy(surface_desc.lpSurface, fbob->im->pixels, | ||
187 | surface_desc.dwWidth * surface_desc.dwHeight * 2); | ||
188 | |||
189 | priv->surface->Unlock(NULL); | ||
190 | } | ||
191 | |||
192 | void | ||
193 | evas_software_wince_ddraw_surface_resize(FB_Output_Buffer *fbob) | ||
194 | { | ||
195 | } | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_wince_fb_buffer.c b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_fb_buffer.c new file mode 100644 index 0000000..6a81bf4 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_fb_buffer.c | |||
@@ -0,0 +1,210 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_engine.h" | ||
3 | |||
4 | |||
5 | #define GETGXINFO 0x00020000 | ||
6 | |||
7 | typedef struct GXDeviceInfo | ||
8 | { | ||
9 | long Version; //00 (should filled with 100 before calling ExtEscape) | ||
10 | void *pvFrameBuffer; //04 | ||
11 | unsigned long cbStride; //08 | ||
12 | unsigned long cxWidth; //0c | ||
13 | unsigned long cyHeight; //10 | ||
14 | unsigned long cBPP; //14 | ||
15 | unsigned long ffFormat; //18 | ||
16 | char Unused[0x84 - 7 * 4]; | ||
17 | } GXDeviceInfo; | ||
18 | |||
19 | |||
20 | #define GETRAWFRAMEBUFFER 0x00020001 | ||
21 | |||
22 | typedef struct _RawFrameBufferInfo | ||
23 | { | ||
24 | WORD wFormat; | ||
25 | WORD wBPP; | ||
26 | VOID *pFramePointer; | ||
27 | int cxStride; | ||
28 | int cyStride; | ||
29 | int cxPixels; | ||
30 | int cyPixels; | ||
31 | } RawFrameBufferInfo; | ||
32 | |||
33 | |||
34 | typedef struct Evas_Engine_WinCE_FB_Priv Evas_Engine_WinCE_FB_Priv; | ||
35 | |||
36 | struct Evas_Engine_WinCE_FB_Priv | ||
37 | { | ||
38 | int width; | ||
39 | int height; | ||
40 | void *buffer; | ||
41 | }; | ||
42 | |||
43 | static int | ||
44 | _evas_software_wince_gxinfo_init(HDC dc, int *width, int *height, void **buffer) | ||
45 | { | ||
46 | GXDeviceInfo gxInfo = { 0 }; | ||
47 | int result; | ||
48 | |||
49 | gxInfo.Version = 100; | ||
50 | result = ExtEscape(dc, GETGXINFO, 0, NULL, sizeof(gxInfo), | ||
51 | (char *) &gxInfo); | ||
52 | if (result <= 0) | ||
53 | { | ||
54 | ERR("ExtEscape() with GETGXINFO failed"); | ||
55 | return 0; | ||
56 | } | ||
57 | |||
58 | *width = gxInfo.cyHeight; | ||
59 | *height = gxInfo.cxWidth; | ||
60 | *buffer = gxInfo.pvFrameBuffer; | ||
61 | |||
62 | return 1; | ||
63 | } | ||
64 | |||
65 | void * | ||
66 | evas_software_wince_fb_init(HWND window, | ||
67 | int width, | ||
68 | int height) | ||
69 | { | ||
70 | WCHAR oemstr[100]; | ||
71 | RawFrameBufferInfo rfbi; | ||
72 | HDC dc; | ||
73 | Evas_Engine_WinCE_FB_Priv *priv; | ||
74 | |||
75 | priv = (Evas_Engine_WinCE_FB_Priv *)malloc(sizeof(Evas_Engine_WinCE_FB_Priv)); | ||
76 | if (!priv) | ||
77 | return NULL; | ||
78 | |||
79 | dc = GetDC (window); | ||
80 | if (!dc) | ||
81 | { | ||
82 | ERR("Can not get DC"); | ||
83 | free(priv); | ||
84 | return NULL; | ||
85 | } | ||
86 | |||
87 | SystemParametersInfo (SPI_GETOEMINFO, sizeof (oemstr), oemstr, 0); | ||
88 | if (((oemstr[12] == 'H') && | ||
89 | (oemstr[13] == '3') && | ||
90 | (oemstr[14] == '8')) || | ||
91 | ((oemstr[12] == 'H') && | ||
92 | (oemstr[13] == '3') && | ||
93 | (oemstr[14] == '9'))) | ||
94 | { | ||
95 | if (!_evas_software_wince_gxinfo_init(dc, &priv->width, &priv->height, &priv->buffer)) | ||
96 | { | ||
97 | ReleaseDC(window, dc); | ||
98 | free(priv); | ||
99 | return NULL; | ||
100 | } | ||
101 | |||
102 | if ((priv->width != width) || | ||
103 | (priv->height != height)) | ||
104 | { | ||
105 | ERR("Size mismatch: asked: %dx%d, got: %dx%d", | ||
106 | width, height, priv->width, priv->height); | ||
107 | ReleaseDC(window, dc); | ||
108 | free(priv); | ||
109 | return NULL; | ||
110 | } | ||
111 | |||
112 | ReleaseDC(window, dc); | ||
113 | |||
114 | return priv; | ||
115 | } | ||
116 | |||
117 | if (!ExtEscape(dc, GETRAWFRAMEBUFFER, 0, 0, sizeof(rfbi), (char *) &rfbi)|| | ||
118 | (rfbi.wBPP != 16) || | ||
119 | (rfbi.wFormat != 1)) | ||
120 | { | ||
121 | ERR("ExtEscape() with GETRAWFRAMEBUFFER failed. " | ||
122 | "Trying ExtEscape() with GETGXINFO"); | ||
123 | if (!_evas_software_wince_gxinfo_init(dc, &priv->width, &priv->height, &priv->buffer)) | ||
124 | { | ||
125 | ReleaseDC(window, dc); | ||
126 | free(priv); | ||
127 | return NULL; | ||
128 | } | ||
129 | |||
130 | ReleaseDC(window, dc); | ||
131 | return priv; | ||
132 | } | ||
133 | |||
134 | priv->width = rfbi.cxPixels; | ||
135 | priv->height = rfbi.cyPixels; | ||
136 | priv->buffer = rfbi.pFramePointer; | ||
137 | |||
138 | if ((priv->width != width) || | ||
139 | (priv->height != height)) | ||
140 | { | ||
141 | ERR("Size mismatch: asked: %dx%d, got: %dx%d", | ||
142 | width, height, priv->width, priv->height); | ||
143 | ReleaseDC(window, dc); | ||
144 | free(priv); | ||
145 | return NULL; | ||
146 | } | ||
147 | |||
148 | ReleaseDC(window, dc); | ||
149 | |||
150 | return priv; | ||
151 | } | ||
152 | |||
153 | void | ||
154 | evas_software_wince_fb_shutdown(void *priv) | ||
155 | { | ||
156 | free(priv); | ||
157 | } | ||
158 | |||
159 | |||
160 | FB_Output_Buffer * | ||
161 | evas_software_wince_fb_output_buffer_new(void *priv, | ||
162 | int width, | ||
163 | int height) | ||
164 | { | ||
165 | FB_Output_Buffer *fbob; | ||
166 | void *buffer; | ||
167 | |||
168 | fbob = calloc(1, sizeof(FB_Output_Buffer)); | ||
169 | if (!fbob) return NULL; | ||
170 | |||
171 | buffer = malloc (width * height * 2); /* we are sure to have 16bpp */ | ||
172 | if (!buffer) | ||
173 | { | ||
174 | free(fbob); | ||
175 | return NULL; | ||
176 | } | ||
177 | |||
178 | fbob->priv = priv; | ||
179 | |||
180 | fbob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), width, height, (DATA32 *)buffer, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
181 | if (fbob->im) | ||
182 | fbob->im->stride = width; | ||
183 | |||
184 | return fbob; | ||
185 | } | ||
186 | |||
187 | void | ||
188 | evas_software_wince_fb_output_buffer_free(FB_Output_Buffer *fbob) | ||
189 | { | ||
190 | free(fbob->im->pixels); | ||
191 | free(fbob); | ||
192 | } | ||
193 | |||
194 | void | ||
195 | evas_software_wince_fb_output_buffer_paste(FB_Output_Buffer *fbob) | ||
196 | { | ||
197 | Evas_Engine_WinCE_FB_Priv *priv; | ||
198 | |||
199 | priv = (Evas_Engine_WinCE_FB_Priv *)fbob->priv; | ||
200 | |||
201 | if ((fbob->im->cache_entry.w == priv->width) && | ||
202 | (fbob->im->cache_entry.h == priv->height)) | ||
203 | memcpy(priv->buffer, fbob->im->pixels, | ||
204 | priv->width * priv->height * 2); | ||
205 | } | ||
206 | |||
207 | void | ||
208 | evas_software_wince_fb_surface_resize(FB_Output_Buffer *fbob) | ||
209 | { | ||
210 | } | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_wince_gapi_buffer.c b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_gapi_buffer.c new file mode 100644 index 0000000..c23c863 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_gapi_buffer.c | |||
@@ -0,0 +1,341 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_engine.h" | ||
3 | |||
4 | |||
5 | typedef int (*evas_engine_wince_close_display)(); | ||
6 | |||
7 | typedef struct Evas_Engine_WinCE_GAPI_Priv Evas_Engine_WinCE_GAPI_Priv; | ||
8 | |||
9 | |||
10 | #define GETGXINFO 0x00020000 | ||
11 | |||
12 | typedef struct | ||
13 | { | ||
14 | long Version; //00 (should filled with 100 before calling ExtEscape) | ||
15 | void *pvFrameBuffer; //04 | ||
16 | unsigned long cbStride; //08 | ||
17 | unsigned long cxWidth; //0c | ||
18 | unsigned long cyHeight; //10 | ||
19 | unsigned long cBPP; //14 | ||
20 | unsigned long ffFormat; //18 | ||
21 | char Unused[0x84 - 7 * 4]; | ||
22 | } _GXDeviceInfo; | ||
23 | |||
24 | |||
25 | #define LINK(type,name,import) \ | ||
26 | name = (gapi_##type)GetProcAddress (gapi_lib, import) | ||
27 | |||
28 | #define GX_FULLSCREEN 0x01 | ||
29 | #define GX_NORMALKEYS 0x02 | ||
30 | |||
31 | #define kfDirect555 0x40 | ||
32 | #define kfDirect565 0x80 | ||
33 | |||
34 | |||
35 | typedef struct | ||
36 | { | ||
37 | DWORD cxWidth; | ||
38 | DWORD cyHeight; | ||
39 | LONG cbxPitch; | ||
40 | LONG cbyPitch; | ||
41 | LONG cBPP; | ||
42 | DWORD ffFormat; | ||
43 | } _GAPI_Display_Properties; | ||
44 | |||
45 | typedef int (*gapi_display_open)(HWND hWnd, DWORD dwFlags); | ||
46 | typedef int (*gapi_display_close)(); | ||
47 | typedef _GAPI_Display_Properties (*gapi_display_properties_get)(void); | ||
48 | typedef void* (*gapi_draw_begin)(void); | ||
49 | typedef int (*gapi_draw_end)(void); | ||
50 | typedef int (*gapi_suspend)(void); | ||
51 | typedef int (*gapi_resume)(void); | ||
52 | |||
53 | gapi_suspend suspend = NULL; | ||
54 | gapi_resume resume = NULL; | ||
55 | |||
56 | int | ||
57 | evas_software_wince_gapi_suspend(void) | ||
58 | { | ||
59 | if (suspend) | ||
60 | return suspend(); | ||
61 | else | ||
62 | return 0; | ||
63 | } | ||
64 | |||
65 | int | ||
66 | evas_software_wince_gapi_resume(void) | ||
67 | { | ||
68 | if (resume) | ||
69 | return resume(); | ||
70 | else | ||
71 | return 0; | ||
72 | } | ||
73 | |||
74 | |||
75 | struct Evas_Engine_WinCE_GAPI_Priv | ||
76 | { | ||
77 | HMODULE lib; | ||
78 | gapi_display_close close_display; | ||
79 | gapi_draw_begin draw_begin; | ||
80 | gapi_draw_end draw_end; | ||
81 | void *buffer; | ||
82 | int width; | ||
83 | int height; | ||
84 | int stride; | ||
85 | }; | ||
86 | |||
87 | void * | ||
88 | evas_software_wince_gapi_init(HWND window, | ||
89 | int width, | ||
90 | int height) | ||
91 | { | ||
92 | WCHAR oemstr[100]; | ||
93 | _GAPI_Display_Properties prop; | ||
94 | HMODULE gapi_lib; | ||
95 | Evas_Engine_WinCE_GAPI_Priv *priv; | ||
96 | |||
97 | gapi_display_open display_open = NULL; | ||
98 | gapi_display_close display_close = NULL; | ||
99 | gapi_display_properties_get display_properties_get = NULL; | ||
100 | gapi_draw_begin draw_begin = NULL; | ||
101 | gapi_draw_end draw_end = NULL; | ||
102 | |||
103 | priv = (Evas_Engine_WinCE_GAPI_Priv *)malloc(sizeof(Evas_Engine_WinCE_GAPI_Priv)); | ||
104 | if (!priv) | ||
105 | return NULL; | ||
106 | |||
107 | gapi_lib = LoadLibrary(L"\\Windows\\gx.dll"); | ||
108 | if (!gapi_lib) | ||
109 | { | ||
110 | gapi_lib = LoadLibrary(L"gx.dll"); | ||
111 | if (!gapi_lib) | ||
112 | { | ||
113 | ERR("[Engine] [WinCE GAPI] Can not load gx.dll"); | ||
114 | goto free_priv; | ||
115 | } | ||
116 | } | ||
117 | |||
118 | LINK(display_open, display_open, L"?GXOpenDisplay@@YAHPAUHWND__@@K@Z"); | ||
119 | LINK(display_close, display_close, L"?GXCloseDisplay@@YAHXZ"); | ||
120 | LINK(display_properties_get, display_properties_get, L"?GXGetDisplayProperties@@YA?AUGXDisplayProperties@@XZ"); | ||
121 | LINK(draw_begin, draw_begin, L"?GXBeginDraw@@YAPAXXZ"); | ||
122 | LINK(draw_end, draw_end, L"?GXEndDraw@@YAHXZ"); | ||
123 | LINK(suspend, suspend, L"?GXSuspend@@YAHXZ" ); | ||
124 | LINK(resume, resume, L"?GXResume@@YAHXZ" ); | ||
125 | |||
126 | if (!display_open || | ||
127 | !display_close || | ||
128 | !display_properties_get || | ||
129 | !draw_begin || | ||
130 | !draw_end || | ||
131 | !suspend || | ||
132 | !resume) | ||
133 | { | ||
134 | ERR("[Engine] [WinCE GAPI] Can not find valid symbols"); | ||
135 | goto free_lib; | ||
136 | } | ||
137 | |||
138 | if (!display_open(window, GX_FULLSCREEN)) | ||
139 | { | ||
140 | ERR("[Engine] [WinCE GAPI] Can not open display"); | ||
141 | goto free_lib; | ||
142 | } | ||
143 | |||
144 | prop = display_properties_get(); | ||
145 | |||
146 | // verify pixel format | ||
147 | if(!(prop.ffFormat & kfDirect565) || (prop.cBPP != 16)) | ||
148 | { | ||
149 | ERR("display format mismatch"); | ||
150 | goto close_display; | ||
151 | } | ||
152 | |||
153 | // verify we have a vga device | ||
154 | if ((GetSystemMetrics(SM_CXSCREEN) != (int)prop.cxWidth) || | ||
155 | (GetSystemMetrics(SM_CYSCREEN) != (int)prop.cyHeight)) | ||
156 | { | ||
157 | ERR("display size mismatch"); | ||
158 | goto close_display; | ||
159 | } | ||
160 | |||
161 | priv->lib = gapi_lib; | ||
162 | priv->close_display = display_close; | ||
163 | priv->draw_begin = draw_begin; | ||
164 | priv->draw_end = draw_end; | ||
165 | |||
166 | /* GAPI on Ipaq H38** and H39** is completely buggy */ | ||
167 | /* They are detected as portrait device (width = 240 and height = 320) */ | ||
168 | /* but the framebuffer is managed like a landscape device : */ | ||
169 | /* | ||
170 | 240 | ||
171 | +---------+ | ||
172 | | | | ||
173 | | | | ||
174 | | | | ||
175 | | | | ||
176 | | | 320 | ||
177 | | ^^^ | | ||
178 | | ||| | | ||
179 | | ||| | | ||
180 | | ||| | | ||
181 | +---------+ | ||
182 | ----> | ||
183 | |||
184 | */ | ||
185 | /* So these devices are considered as landscape devices */ | ||
186 | /* and width and height are switched. */ | ||
187 | /* Other devices are managed normally : */ | ||
188 | /* | ||
189 | 240 | ||
190 | +---------+ | ||
191 | | |---> | | ||
192 | | |---> | | ||
193 | | |---> | | ||
194 | v | | | ||
195 | | | 320 | ||
196 | | | | ||
197 | | | | ||
198 | | | | ||
199 | | | | ||
200 | +---------+ | ||
201 | |||
202 | */ | ||
203 | |||
204 | SystemParametersInfo (SPI_GETOEMINFO, sizeof (oemstr), oemstr, 0); | ||
205 | |||
206 | if (((oemstr[12] == 'H') && | ||
207 | (oemstr[13] == '3') && | ||
208 | (oemstr[14] == '8')) || | ||
209 | ((oemstr[12] == 'H') && | ||
210 | (oemstr[13] == '3') && | ||
211 | (oemstr[14] == '9'))) | ||
212 | { | ||
213 | _GXDeviceInfo gxInfo = { 0 }; | ||
214 | HDC dc; | ||
215 | int result; | ||
216 | |||
217 | priv->width = prop.cyHeight; | ||
218 | priv->height = prop.cxWidth; | ||
219 | priv->stride = prop.cbxPitch; | ||
220 | |||
221 | dc = GetDC (window); | ||
222 | if (!dc) | ||
223 | { | ||
224 | ERR("Can not get device"); | ||
225 | goto close_display; | ||
226 | } | ||
227 | |||
228 | gxInfo.Version = 100; | ||
229 | result = ExtEscape(dc, GETGXINFO, 0, NULL, sizeof(gxInfo), | ||
230 | (char *) &gxInfo); | ||
231 | if (result <= 0) | ||
232 | { | ||
233 | ERR("ExtEscape failed"); | ||
234 | ReleaseDC(window, dc); | ||
235 | goto close_display; | ||
236 | } | ||
237 | |||
238 | priv->buffer = gxInfo.pvFrameBuffer; | ||
239 | ReleaseDC(window, dc); | ||
240 | } | ||
241 | else | ||
242 | { | ||
243 | priv->width = prop.cxWidth; | ||
244 | priv->height = prop.cyHeight; | ||
245 | priv->stride = prop.cbyPitch; | ||
246 | priv->buffer = NULL; | ||
247 | } | ||
248 | |||
249 | if ((priv->width != width) || | ||
250 | (priv->height != height)) | ||
251 | { | ||
252 | ERR("Size mismatch: asked: %dx%d, got: %dx%d", | ||
253 | width, height, priv->width, priv->height); | ||
254 | goto close_display; | ||
255 | } | ||
256 | |||
257 | return priv; | ||
258 | |||
259 | close_display: | ||
260 | display_close(); | ||
261 | free_lib: | ||
262 | FreeLibrary(gapi_lib); | ||
263 | free_priv: | ||
264 | free(priv); | ||
265 | return NULL; | ||
266 | } | ||
267 | |||
268 | void | ||
269 | evas_software_wince_gapi_shutdown(void *priv) | ||
270 | { | ||
271 | Evas_Engine_WinCE_GAPI_Priv *p; | ||
272 | |||
273 | p = (Evas_Engine_WinCE_GAPI_Priv *)priv; | ||
274 | p->close_display(); | ||
275 | suspend = NULL; | ||
276 | resume = NULL; | ||
277 | FreeLibrary(p->lib); | ||
278 | free(p); | ||
279 | } | ||
280 | |||
281 | |||
282 | FB_Output_Buffer * | ||
283 | evas_software_wince_gapi_output_buffer_new(void *priv, | ||
284 | int width, | ||
285 | int height) | ||
286 | { | ||
287 | FB_Output_Buffer *fbob; | ||
288 | void *buffer; | ||
289 | |||
290 | fbob = calloc(1, sizeof(FB_Output_Buffer)); | ||
291 | if (!fbob) return NULL; | ||
292 | |||
293 | buffer = malloc (width * height * 2); /* we are sure to have 16bpp */ | ||
294 | if (!buffer) | ||
295 | { | ||
296 | free(fbob); | ||
297 | return NULL; | ||
298 | } | ||
299 | |||
300 | fbob->priv = priv; | ||
301 | |||
302 | fbob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), width, height, (DATA32 *)buffer, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
303 | if (fbob->im) | ||
304 | fbob->im->stride = ((Evas_Engine_WinCE_GAPI_Priv *)priv)->stride >> 1; | ||
305 | |||
306 | return fbob; | ||
307 | } | ||
308 | |||
309 | void | ||
310 | evas_software_wince_gapi_output_buffer_free(FB_Output_Buffer *fbob) | ||
311 | { | ||
312 | free(fbob->im->pixels); | ||
313 | free(fbob); | ||
314 | } | ||
315 | |||
316 | void | ||
317 | evas_software_wince_gapi_output_buffer_paste(FB_Output_Buffer *fbob) | ||
318 | { | ||
319 | Evas_Engine_WinCE_GAPI_Priv *priv; | ||
320 | void *buffer; | ||
321 | |||
322 | priv = (Evas_Engine_WinCE_GAPI_Priv *)fbob->priv; | ||
323 | |||
324 | buffer = priv->draw_begin(); | ||
325 | if (!buffer) | ||
326 | return; | ||
327 | |||
328 | if (priv->buffer) buffer = priv->buffer; | ||
329 | |||
330 | if ((fbob->im->cache_entry.w == priv->width) && | ||
331 | (fbob->im->cache_entry.h == priv->height)) | ||
332 | memcpy(buffer, fbob->im->pixels, | ||
333 | priv->width * priv->height * 2); | ||
334 | |||
335 | priv->draw_end(); | ||
336 | } | ||
337 | |||
338 | void | ||
339 | evas_software_wince_gapi_surface_resize(FB_Output_Buffer *fbob) | ||
340 | { | ||
341 | } | ||
diff --git a/libraries/evas/src/modules/engines/software_16_wince/evas_wince_gdi_buffer.c b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_gdi_buffer.c new file mode 100644 index 0000000..f32db4a --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_wince/evas_wince_gdi_buffer.c | |||
@@ -0,0 +1,165 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_engine.h" | ||
3 | |||
4 | |||
5 | typedef struct BITMAPINFO_16bpp BITMAPINFO_16bpp; | ||
6 | typedef struct Evas_Engine_WinCE_GDI_Priv Evas_Engine_WinCE_GDI_Priv; | ||
7 | |||
8 | struct BITMAPINFO_16bpp | ||
9 | { | ||
10 | BITMAPINFOHEADER bih; | ||
11 | DWORD masks[3]; | ||
12 | }; | ||
13 | |||
14 | struct Evas_Engine_WinCE_GDI_Priv | ||
15 | { | ||
16 | HWND window; | ||
17 | HDC dc; | ||
18 | BITMAPINFO_16bpp *bitmap_info; | ||
19 | HBITMAP bitmap; | ||
20 | int width; | ||
21 | int height; | ||
22 | }; | ||
23 | |||
24 | void * | ||
25 | evas_software_wince_gdi_init(HWND window, | ||
26 | int width, | ||
27 | int height, | ||
28 | int fullscreen) | ||
29 | { | ||
30 | Evas_Engine_WinCE_GDI_Priv *priv; | ||
31 | |||
32 | priv = (Evas_Engine_WinCE_GDI_Priv *)malloc(sizeof(Evas_Engine_WinCE_GDI_Priv)); | ||
33 | if (!priv) | ||
34 | return NULL; | ||
35 | |||
36 | priv->window = window; | ||
37 | priv->dc = GetDC(window); | ||
38 | if (!priv->dc) | ||
39 | { | ||
40 | ERR("Can not get DC"); | ||
41 | free(priv); | ||
42 | return NULL; | ||
43 | } | ||
44 | |||
45 | if (fullscreen) | ||
46 | { | ||
47 | priv->width = GetSystemMetrics(SM_CXSCREEN); | ||
48 | priv->height = GetSystemMetrics(SM_CYSCREEN); | ||
49 | } | ||
50 | else | ||
51 | { | ||
52 | priv->width = width; | ||
53 | priv->height = height; | ||
54 | } | ||
55 | |||
56 | priv->bitmap_info = (BITMAPINFO_16bpp *)malloc(sizeof(BITMAPINFO_16bpp)); | ||
57 | if (!priv->bitmap_info) | ||
58 | { | ||
59 | ERR("Can not allocate bitmap info"); | ||
60 | ReleaseDC(window, priv->dc); | ||
61 | free(priv); | ||
62 | return NULL; | ||
63 | } | ||
64 | |||
65 | priv->bitmap_info->bih.biSize = sizeof(BITMAPINFOHEADER); | ||
66 | priv->bitmap_info->bih.biWidth = priv->width; | ||
67 | priv->bitmap_info->bih.biHeight = -priv->height; | ||
68 | priv->bitmap_info->bih.biPlanes = 1; | ||
69 | priv->bitmap_info->bih.biSizeImage = 2 * priv->width * priv->height; | ||
70 | priv->bitmap_info->bih.biXPelsPerMeter = 0; | ||
71 | priv->bitmap_info->bih.biYPelsPerMeter = 0; | ||
72 | priv->bitmap_info->bih.biClrUsed = 0; | ||
73 | priv->bitmap_info->bih.biClrImportant = 0; | ||
74 | priv->bitmap_info->bih.biBitCount = 16; | ||
75 | priv->bitmap_info->bih.biCompression = BI_BITFIELDS; | ||
76 | priv->bitmap_info->masks[0] = 0x0000f800; | ||
77 | priv->bitmap_info->masks[1] = 0x000007e0; | ||
78 | priv->bitmap_info->masks[2] = 0x0000001f; | ||
79 | |||
80 | return priv; | ||
81 | } | ||
82 | |||
83 | void | ||
84 | evas_software_wince_gdi_shutdown(void *priv) | ||
85 | { | ||
86 | free(((Evas_Engine_WinCE_GDI_Priv *)priv)->bitmap_info); | ||
87 | ReleaseDC(((Evas_Engine_WinCE_GDI_Priv *)priv)->window, ((Evas_Engine_WinCE_GDI_Priv *)priv)->dc); | ||
88 | free(priv); | ||
89 | } | ||
90 | |||
91 | |||
92 | FB_Output_Buffer * | ||
93 | evas_software_wince_gdi_output_buffer_new(void *priv, | ||
94 | int width, | ||
95 | int height) | ||
96 | { | ||
97 | Evas_Engine_WinCE_GDI_Priv *priv2; | ||
98 | FB_Output_Buffer *fbob; | ||
99 | void *buffer; | ||
100 | |||
101 | fbob = calloc(1, sizeof(FB_Output_Buffer)); | ||
102 | if (!fbob) return NULL; | ||
103 | |||
104 | fbob->priv = priv; | ||
105 | |||
106 | priv2 = (Evas_Engine_WinCE_GDI_Priv *)fbob->priv; | ||
107 | |||
108 | priv2->bitmap = CreateDIBSection(priv2->dc, | ||
109 | (const BITMAPINFO *)priv2->bitmap_info, | ||
110 | DIB_RGB_COLORS, | ||
111 | (void **)(&buffer), | ||
112 | NULL, | ||
113 | 0); | ||
114 | if (!priv2->bitmap) | ||
115 | { | ||
116 | free(fbob); | ||
117 | return NULL; | ||
118 | } | ||
119 | |||
120 | fbob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), width, height, (DATA32 *)buffer, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
121 | if (fbob->im) | ||
122 | fbob->im->stride = width; | ||
123 | |||
124 | return fbob; | ||
125 | } | ||
126 | |||
127 | void | ||
128 | evas_software_wince_gdi_output_buffer_free(FB_Output_Buffer *fbob) | ||
129 | { | ||
130 | Evas_Engine_WinCE_GDI_Priv *priv; | ||
131 | |||
132 | priv = (Evas_Engine_WinCE_GDI_Priv *)fbob->priv; | ||
133 | DeleteObject(priv->bitmap); | ||
134 | free(fbob); | ||
135 | } | ||
136 | |||
137 | void | ||
138 | evas_software_wince_gdi_output_buffer_paste(FB_Output_Buffer *fbob) | ||
139 | { | ||
140 | Evas_Engine_WinCE_GDI_Priv *priv; | ||
141 | |||
142 | priv = (Evas_Engine_WinCE_GDI_Priv *)fbob->priv; | ||
143 | |||
144 | if ((fbob->im->cache_entry.w == priv->width) && | ||
145 | (fbob->im->cache_entry.h == priv->height)) | ||
146 | { | ||
147 | HDC dc; | ||
148 | |||
149 | dc = CreateCompatibleDC(priv->dc); | ||
150 | SelectObject(dc, priv->bitmap); | ||
151 | BitBlt(priv->dc, | ||
152 | 0, 0, | ||
153 | priv->width, priv->height, | ||
154 | dc, | ||
155 | 0, 0, | ||
156 | SRCCOPY); | ||
157 | DeleteDC(dc); | ||
158 | |||
159 | } | ||
160 | } | ||
161 | |||
162 | void | ||
163 | evas_software_wince_gdi_surface_resize(FB_Output_Buffer *fbob) | ||
164 | { | ||
165 | } | ||
diff --git a/libraries/evas/src/modules/engines/software_16_x11/Evas_Engine_Software_16_X11.h b/libraries/evas/src/modules/engines/software_16_x11/Evas_Engine_Software_16_X11.h new file mode 100644 index 0000000..9768f0a --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_x11/Evas_Engine_Software_16_X11.h | |||
@@ -0,0 +1,26 @@ | |||
1 | #ifndef _EVAS_ENGINE_SOFTWARE_16_X11_H | ||
2 | #define _EVAS_ENGINE_SOFTWARE_16_X11_H | ||
3 | |||
4 | #include <X11/Xlib.h> | ||
5 | |||
6 | typedef struct _Evas_Engine_Info_Software_16_X11 Evas_Engine_Info_Software_16_X11; | ||
7 | |||
8 | struct _Evas_Engine_Info_Software_16_X11 | ||
9 | { | ||
10 | /* PRIVATE - don't mess with this baby or evas will poke its tongue out */ | ||
11 | /* at you and make nasty noises */ | ||
12 | Evas_Engine_Info magic; | ||
13 | |||
14 | /* engine specific data & parameters it needs to set up */ | ||
15 | struct { | ||
16 | Display *display; | ||
17 | Drawable drawable; | ||
18 | int rotation; | ||
19 | } info; | ||
20 | |||
21 | /* non-blocking or blocking mode */ | ||
22 | Evas_Engine_Render_Mode render_mode; | ||
23 | }; | ||
24 | #endif | ||
25 | |||
26 | |||
diff --git a/libraries/evas/src/modules/engines/software_16_x11/Makefile.am b/libraries/evas/src/modules/engines/software_16_x11/Makefile.am new file mode 100644 index 0000000..812492e --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_x11/Makefile.am | |||
@@ -0,0 +1,47 @@ | |||
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 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
10 | @FREETYPE_CFLAGS@ \ | ||
11 | @EINA_CFLAGS@ \ | ||
12 | @PIXMAN_CFLAGS@ \ | ||
13 | @evas_engine_software_16_x11_cflags@ | ||
14 | |||
15 | if BUILD_ENGINE_SOFTWARE_16_X11 | ||
16 | |||
17 | SOFTWARE_16_X11_SOURCES = \ | ||
18 | evas_engine.c \ | ||
19 | evas_x_buffer.c | ||
20 | |||
21 | SOFTWARE_16_X11_LIBADD = @evas_engine_software_16_x11_libs@ | ||
22 | |||
23 | |||
24 | includes_HEADERS = Evas_Engine_Software_16_X11.h | ||
25 | includesdir = $(includedir)/evas-@VMAJ@ | ||
26 | |||
27 | if !EVAS_STATIC_BUILD_SOFTWARE_16_X11 | ||
28 | |||
29 | pkgdir = $(libdir)/evas/modules/engines/software_16_x11/$(MODULE_ARCH) | ||
30 | pkg_LTLIBRARIES = module.la | ||
31 | |||
32 | module_la_SOURCES = $(SOFTWARE_16_X11_SOURCES) | ||
33 | module_la_LIBADD = @EINA_LIBS@ $(SOFTWARE_16_X11_LIBADD) $(top_builddir)/src/lib/libevas.la | ||
34 | module_la_LDFLAGS = -no-undefined -module -avoid-version | ||
35 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
36 | |||
37 | else | ||
38 | |||
39 | noinst_LTLIBRARIES = libevas_engine_software_16_x11.la | ||
40 | |||
41 | libevas_engine_software_16_x11_la_SOURCES = $(SOFTWARE_16_X11_SOURCES) | ||
42 | libevas_engine_software_16_x11_la_LIBADD = $(SOFTWARE_16_X11_LIBADD) | ||
43 | |||
44 | endif | ||
45 | endif | ||
46 | |||
47 | EXTRA_DIST = evas_engine.h | ||
diff --git a/libraries/evas/src/modules/engines/software_16_x11/Makefile.in b/libraries/evas/src/modules/engines/software_16_x11/Makefile.in new file mode 100644 index 0000000..be43dad --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_x11/Makefile.in | |||
@@ -0,0 +1,812 @@ | |||
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/software_16_x11 | ||
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 | am__DEPENDENCIES_1 = | ||
85 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@libevas_engine_software_16_x11_la_DEPENDENCIES = $(am__DEPENDENCIES_1) | ||
86 | am__libevas_engine_software_16_x11_la_SOURCES_DIST = evas_engine.c \ | ||
87 | evas_x_buffer.c | ||
88 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@am__objects_1 = evas_engine.lo \ | ||
89 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@ evas_x_buffer.lo | ||
90 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@am_libevas_engine_software_16_x11_la_OBJECTS = $(am__objects_1) | ||
91 | libevas_engine_software_16_x11_la_OBJECTS = \ | ||
92 | $(am_libevas_engine_software_16_x11_la_OBJECTS) | ||
93 | AM_V_lt = $(am__v_lt_$(V)) | ||
94 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
95 | am__v_lt_0 = --silent | ||
96 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@am_libevas_engine_software_16_x11_la_rpath = | ||
97 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ | ||
98 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@ $(top_builddir)/src/lib/libevas.la | ||
99 | am__module_la_SOURCES_DIST = evas_engine.c evas_x_buffer.c | ||
100 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@am__objects_2 = \ | ||
101 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@ module_la-evas_engine.lo \ | ||
102 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@ module_la-evas_x_buffer.lo | ||
103 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@am_module_la_OBJECTS = $(am__objects_2) | ||
104 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
105 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
106 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
107 | $(AM_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
108 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@am_module_la_rpath = -rpath \ | ||
109 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@ $(pkgdir) | ||
110 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
111 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
112 | am__depfiles_maybe = depfiles | ||
113 | am__mv = mv -f | ||
114 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
115 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
116 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
117 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
118 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
119 | $(AM_CFLAGS) $(CFLAGS) | ||
120 | AM_V_CC = $(am__v_CC_$(V)) | ||
121 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
122 | am__v_CC_0 = @echo " CC " $@; | ||
123 | AM_V_at = $(am__v_at_$(V)) | ||
124 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
125 | am__v_at_0 = @ | ||
126 | CCLD = $(CC) | ||
127 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
128 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
129 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
130 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
131 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
132 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
133 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
134 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
135 | am__v_GEN_0 = @echo " GEN " $@; | ||
136 | SOURCES = $(libevas_engine_software_16_x11_la_SOURCES) \ | ||
137 | $(module_la_SOURCES) | ||
138 | DIST_SOURCES = $(am__libevas_engine_software_16_x11_la_SOURCES_DIST) \ | ||
139 | $(am__module_la_SOURCES_DIST) | ||
140 | am__includes_HEADERS_DIST = Evas_Engine_Software_16_X11.h | ||
141 | HEADERS = $(includes_HEADERS) | ||
142 | ETAGS = etags | ||
143 | CTAGS = ctags | ||
144 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
145 | ACLOCAL = @ACLOCAL@ | ||
146 | ALLOCA = @ALLOCA@ | ||
147 | AMTAR = @AMTAR@ | ||
148 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
149 | AR = @AR@ | ||
150 | AS = @AS@ | ||
151 | AUTOCONF = @AUTOCONF@ | ||
152 | AUTOHEADER = @AUTOHEADER@ | ||
153 | AUTOMAKE = @AUTOMAKE@ | ||
154 | AWK = @AWK@ | ||
155 | CC = @CC@ | ||
156 | CCDEPMODE = @CCDEPMODE@ | ||
157 | CFLAGS = @CFLAGS@ | ||
158 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
159 | CHECK_LIBS = @CHECK_LIBS@ | ||
160 | CPP = @CPP@ | ||
161 | CPPFLAGS = @CPPFLAGS@ | ||
162 | CXX = @CXX@ | ||
163 | CXXCPP = @CXXCPP@ | ||
164 | CXXDEPMODE = @CXXDEPMODE@ | ||
165 | CXXFLAGS = @CXXFLAGS@ | ||
166 | CYGPATH_W = @CYGPATH_W@ | ||
167 | DEFS = @DEFS@ | ||
168 | DEPDIR = @DEPDIR@ | ||
169 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
170 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
171 | DLLTOOL = @DLLTOOL@ | ||
172 | DSYMUTIL = @DSYMUTIL@ | ||
173 | DUMPBIN = @DUMPBIN@ | ||
174 | ECHO_C = @ECHO_C@ | ||
175 | ECHO_N = @ECHO_N@ | ||
176 | ECHO_T = @ECHO_T@ | ||
177 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
178 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
179 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
180 | EDB_LIBS = @EDB_LIBS@ | ||
181 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
182 | EDJE_LIBS = @EDJE_LIBS@ | ||
183 | EET_CFLAGS = @EET_CFLAGS@ | ||
184 | EET_LIBS = @EET_LIBS@ | ||
185 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
186 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
187 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
188 | EGREP = @EGREP@ | ||
189 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
190 | EINA_LIBS = @EINA_LIBS@ | ||
191 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
192 | EVAS_LIBS = @EVAS_LIBS@ | ||
193 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
194 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
195 | EVIL_LIBS = @EVIL_LIBS@ | ||
196 | EXEEXT = @EXEEXT@ | ||
197 | FGREP = @FGREP@ | ||
198 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
199 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
200 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
201 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
202 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
203 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
204 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
205 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
206 | GREP = @GREP@ | ||
207 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
208 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
209 | INSTALL = @INSTALL@ | ||
210 | INSTALL_DATA = @INSTALL_DATA@ | ||
211 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
212 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
213 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
214 | LD = @LD@ | ||
215 | LDFLAGS = @LDFLAGS@ | ||
216 | LIBOBJS = @LIBOBJS@ | ||
217 | LIBS = @LIBS@ | ||
218 | LIBTOOL = @LIBTOOL@ | ||
219 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
220 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
221 | LIPO = @LIPO@ | ||
222 | LN_S = @LN_S@ | ||
223 | LTLIBOBJS = @LTLIBOBJS@ | ||
224 | MAKEINFO = @MAKEINFO@ | ||
225 | MKDIR_P = @MKDIR_P@ | ||
226 | MODULE_ARCH = @MODULE_ARCH@ | ||
227 | NM = @NM@ | ||
228 | NMEDIT = @NMEDIT@ | ||
229 | OBJC = @OBJC@ | ||
230 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
231 | OBJCFLAGS = @OBJCFLAGS@ | ||
232 | OBJDUMP = @OBJDUMP@ | ||
233 | OBJEXT = @OBJEXT@ | ||
234 | OTOOL = @OTOOL@ | ||
235 | OTOOL64 = @OTOOL64@ | ||
236 | PACKAGE = @PACKAGE@ | ||
237 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
238 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
239 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
240 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
241 | PACKAGE_URL = @PACKAGE_URL@ | ||
242 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
243 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
244 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
245 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
246 | PKG_CONFIG = @PKG_CONFIG@ | ||
247 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
248 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
249 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
250 | PNG_LIBS = @PNG_LIBS@ | ||
251 | RANLIB = @RANLIB@ | ||
252 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
253 | SDL_LIBS = @SDL_LIBS@ | ||
254 | SED = @SED@ | ||
255 | SET_MAKE = @SET_MAKE@ | ||
256 | SHELL = @SHELL@ | ||
257 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
258 | STRIP = @STRIP@ | ||
259 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
260 | SVG_LIBS = @SVG_LIBS@ | ||
261 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
262 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
263 | VERSION = @VERSION@ | ||
264 | VMAJ = @VMAJ@ | ||
265 | WIN32_CFLAGS = @WIN32_CFLAGS@ | ||
266 | WIN32_CPPFLAGS = @WIN32_CPPFLAGS@ | ||
267 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
268 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
269 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
270 | XCB_LIBS = @XCB_LIBS@ | ||
271 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
272 | XEXT_LIBS = @XEXT_LIBS@ | ||
273 | XMKMF = @XMKMF@ | ||
274 | X_CFLAGS = @X_CFLAGS@ | ||
275 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
276 | X_LIBS = @X_LIBS@ | ||
277 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
278 | abs_builddir = @abs_builddir@ | ||
279 | abs_srcdir = @abs_srcdir@ | ||
280 | abs_top_builddir = @abs_top_builddir@ | ||
281 | abs_top_srcdir = @abs_top_srcdir@ | ||
282 | ac_ct_CC = @ac_ct_CC@ | ||
283 | ac_ct_CXX = @ac_ct_CXX@ | ||
284 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
285 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
286 | altivec_cflags = @altivec_cflags@ | ||
287 | am__include = @am__include@ | ||
288 | am__leading_dot = @am__leading_dot@ | ||
289 | am__quote = @am__quote@ | ||
290 | am__tar = @am__tar@ | ||
291 | am__untar = @am__untar@ | ||
292 | bindir = @bindir@ | ||
293 | build = @build@ | ||
294 | build_alias = @build_alias@ | ||
295 | build_cpu = @build_cpu@ | ||
296 | build_os = @build_os@ | ||
297 | build_vendor = @build_vendor@ | ||
298 | builddir = @builddir@ | ||
299 | datadir = @datadir@ | ||
300 | datarootdir = @datarootdir@ | ||
301 | dlopen_libs = @dlopen_libs@ | ||
302 | docdir = @docdir@ | ||
303 | dvidir = @dvidir@ | ||
304 | edje_cc = @edje_cc@ | ||
305 | efl_doxygen = @efl_doxygen@ | ||
306 | efl_have_doxygen = @efl_have_doxygen@ | ||
307 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
308 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
309 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
310 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
311 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
312 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
313 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
314 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
315 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
316 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
317 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
318 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
319 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
320 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
321 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
322 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
323 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
324 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
325 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
326 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
327 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
328 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
329 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
330 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
331 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
332 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
333 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
334 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
335 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
336 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
337 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
338 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
339 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
340 | evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@ | ||
341 | evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@ | ||
342 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
343 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
344 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
345 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_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 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
427 | @FREETYPE_CFLAGS@ \ | ||
428 | @EINA_CFLAGS@ \ | ||
429 | @PIXMAN_CFLAGS@ \ | ||
430 | @evas_engine_software_16_x11_cflags@ | ||
431 | |||
432 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@SOFTWARE_16_X11_SOURCES = \ | ||
433 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@evas_engine.c \ | ||
434 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@evas_x_buffer.c | ||
435 | |||
436 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@SOFTWARE_16_X11_LIBADD = @evas_engine_software_16_x11_libs@ | ||
437 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@includes_HEADERS = Evas_Engine_Software_16_X11.h | ||
438 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@includesdir = $(includedir)/evas-@VMAJ@ | ||
439 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_x11/$(MODULE_ARCH) | ||
440 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@pkg_LTLIBRARIES = module.la | ||
441 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_SOURCES = $(SOFTWARE_16_X11_SOURCES) | ||
442 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_LIBADD = @EINA_LIBS@ $(SOFTWARE_16_X11_LIBADD) $(top_builddir)/src/lib/libevas.la | ||
443 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version | ||
444 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static | ||
445 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_x11.la | ||
446 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@libevas_engine_software_16_x11_la_SOURCES = $(SOFTWARE_16_X11_SOURCES) | ||
447 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@libevas_engine_software_16_x11_la_LIBADD = $(SOFTWARE_16_X11_LIBADD) | ||
448 | EXTRA_DIST = evas_engine.h | ||
449 | all: all-am | ||
450 | |||
451 | .SUFFIXES: | ||
452 | .SUFFIXES: .c .lo .o .obj | ||
453 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
454 | @for dep in $?; do \ | ||
455 | case '$(am__configure_deps)' in \ | ||
456 | *$$dep*) \ | ||
457 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
458 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
459 | exit 1;; \ | ||
460 | esac; \ | ||
461 | done; \ | ||
462 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/engines/software_16_x11/Makefile'; \ | ||
463 | $(am__cd) $(top_srcdir) && \ | ||
464 | $(AUTOMAKE) --gnu src/modules/engines/software_16_x11/Makefile | ||
465 | .PRECIOUS: Makefile | ||
466 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
467 | @case '$?' in \ | ||
468 | *config.status*) \ | ||
469 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
470 | *) \ | ||
471 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
472 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
473 | esac; | ||
474 | |||
475 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
476 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
477 | |||
478 | $(top_srcdir)/configure: $(am__configure_deps) | ||
479 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
480 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
481 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
482 | $(am__aclocal_m4_deps): | ||
483 | |||
484 | clean-noinstLTLIBRARIES: | ||
485 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
486 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
487 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
488 | test "$$dir" != "$$p" || dir=.; \ | ||
489 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
490 | rm -f "$${dir}/so_locations"; \ | ||
491 | done | ||
492 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
493 | @$(NORMAL_INSTALL) | ||
494 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
495 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
496 | list2=; for p in $$list; do \ | ||
497 | if test -f $$p; then \ | ||
498 | list2="$$list2 $$p"; \ | ||
499 | else :; fi; \ | ||
500 | done; \ | ||
501 | test -z "$$list2" || { \ | ||
502 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
503 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
504 | } | ||
505 | |||
506 | uninstall-pkgLTLIBRARIES: | ||
507 | @$(NORMAL_UNINSTALL) | ||
508 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
509 | for p in $$list; do \ | ||
510 | $(am__strip_dir) \ | ||
511 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
512 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
513 | done | ||
514 | |||
515 | clean-pkgLTLIBRARIES: | ||
516 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
517 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
518 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
519 | test "$$dir" != "$$p" || dir=.; \ | ||
520 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
521 | rm -f "$${dir}/so_locations"; \ | ||
522 | done | ||
523 | libevas_engine_software_16_x11.la: $(libevas_engine_software_16_x11_la_OBJECTS) $(libevas_engine_software_16_x11_la_DEPENDENCIES) | ||
524 | $(AM_V_CCLD)$(LINK) $(am_libevas_engine_software_16_x11_la_rpath) $(libevas_engine_software_16_x11_la_OBJECTS) $(libevas_engine_software_16_x11_la_LIBADD) $(LIBS) | ||
525 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
526 | $(AM_V_CCLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
527 | |||
528 | mostlyclean-compile: | ||
529 | -rm -f *.$(OBJEXT) | ||
530 | |||
531 | distclean-compile: | ||
532 | -rm -f *.tab.c | ||
533 | |||
534 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@ | ||
535 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_x_buffer.Plo@am__quote@ | ||
536 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_engine.Plo@am__quote@ | ||
537 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_x_buffer.Plo@am__quote@ | ||
538 | |||
539 | .c.o: | ||
540 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
541 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
542 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
543 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
544 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
545 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
546 | |||
547 | .c.obj: | ||
548 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
549 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
550 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
551 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
552 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
553 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
554 | |||
555 | .c.lo: | ||
556 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
557 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
558 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
559 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
560 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
561 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
562 | |||
563 | module_la-evas_engine.lo: evas_engine.c | ||
564 | @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 | ||
565 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo | ||
566 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
567 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ | ||
568 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
569 | @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 | ||
570 | |||
571 | module_la-evas_x_buffer.lo: evas_x_buffer.c | ||
572 | @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_x_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_x_buffer.Tpo -c -o module_la-evas_x_buffer.lo `test -f 'evas_x_buffer.c' || echo '$(srcdir)/'`evas_x_buffer.c | ||
573 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_x_buffer.Tpo $(DEPDIR)/module_la-evas_x_buffer.Plo | ||
574 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
575 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_x_buffer.c' object='module_la-evas_x_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
576 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
577 | @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_x_buffer.lo `test -f 'evas_x_buffer.c' || echo '$(srcdir)/'`evas_x_buffer.c | ||
578 | |||
579 | mostlyclean-libtool: | ||
580 | -rm -f *.lo | ||
581 | |||
582 | clean-libtool: | ||
583 | -rm -rf .libs _libs | ||
584 | install-includesHEADERS: $(includes_HEADERS) | ||
585 | @$(NORMAL_INSTALL) | ||
586 | test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)" | ||
587 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
588 | for p in $$list; do \ | ||
589 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
590 | echo "$$d$$p"; \ | ||
591 | done | $(am__base_list) | \ | ||
592 | while read files; do \ | ||
593 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \ | ||
594 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \ | ||
595 | done | ||
596 | |||
597 | uninstall-includesHEADERS: | ||
598 | @$(NORMAL_UNINSTALL) | ||
599 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
600 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
601 | test -n "$$files" || exit 0; \ | ||
602 | echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \ | ||
603 | cd "$(DESTDIR)$(includesdir)" && rm -f $$files | ||
604 | |||
605 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
606 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
607 | unique=`for i in $$list; do \ | ||
608 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
609 | done | \ | ||
610 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
611 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
612 | mkid -fID $$unique | ||
613 | tags: TAGS | ||
614 | |||
615 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
616 | $(TAGS_FILES) $(LISP) | ||
617 | set x; \ | ||
618 | here=`pwd`; \ | ||
619 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
620 | unique=`for i in $$list; do \ | ||
621 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
622 | done | \ | ||
623 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
624 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
625 | shift; \ | ||
626 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
627 | test -n "$$unique" || unique=$$empty_fix; \ | ||
628 | if test $$# -gt 0; then \ | ||
629 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
630 | "$$@" $$unique; \ | ||
631 | else \ | ||
632 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
633 | $$unique; \ | ||
634 | fi; \ | ||
635 | fi | ||
636 | ctags: CTAGS | ||
637 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
638 | $(TAGS_FILES) $(LISP) | ||
639 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
640 | unique=`for i in $$list; do \ | ||
641 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
642 | done | \ | ||
643 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
644 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
645 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
646 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
647 | $$unique | ||
648 | |||
649 | GTAGS: | ||
650 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
651 | && $(am__cd) $(top_srcdir) \ | ||
652 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
653 | |||
654 | distclean-tags: | ||
655 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
656 | |||
657 | distdir: $(DISTFILES) | ||
658 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
659 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
660 | list='$(DISTFILES)'; \ | ||
661 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
662 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
663 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
664 | case $$dist_files in \ | ||
665 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
666 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
667 | sort -u` ;; \ | ||
668 | esac; \ | ||
669 | for file in $$dist_files; do \ | ||
670 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
671 | if test -d $$d/$$file; then \ | ||
672 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
673 | if test -d "$(distdir)/$$file"; then \ | ||
674 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
675 | fi; \ | ||
676 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
677 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
678 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
679 | fi; \ | ||
680 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
681 | else \ | ||
682 | test -f "$(distdir)/$$file" \ | ||
683 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
684 | || exit 1; \ | ||
685 | fi; \ | ||
686 | done | ||
687 | check-am: all-am | ||
688 | check: check-am | ||
689 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
690 | installdirs: | ||
691 | for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
692 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
693 | done | ||
694 | install: install-am | ||
695 | install-exec: install-exec-am | ||
696 | install-data: install-data-am | ||
697 | uninstall: uninstall-am | ||
698 | |||
699 | install-am: all-am | ||
700 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
701 | |||
702 | installcheck: installcheck-am | ||
703 | install-strip: | ||
704 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
705 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
706 | `test -z '$(STRIP)' || \ | ||
707 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
708 | mostlyclean-generic: | ||
709 | |||
710 | clean-generic: | ||
711 | |||
712 | distclean-generic: | ||
713 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
714 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
715 | |||
716 | maintainer-clean-generic: | ||
717 | @echo "This command is intended for maintainers to use" | ||
718 | @echo "it deletes files that may require special tools to rebuild." | ||
719 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
720 | clean: clean-am | ||
721 | |||
722 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
723 | clean-pkgLTLIBRARIES mostlyclean-am | ||
724 | |||
725 | distclean: distclean-am | ||
726 | -rm -rf ./$(DEPDIR) | ||
727 | -rm -f Makefile | ||
728 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
729 | distclean-tags | ||
730 | |||
731 | dvi: dvi-am | ||
732 | |||
733 | dvi-am: | ||
734 | |||
735 | html: html-am | ||
736 | |||
737 | html-am: | ||
738 | |||
739 | info: info-am | ||
740 | |||
741 | info-am: | ||
742 | |||
743 | install-data-am: install-includesHEADERS install-pkgLTLIBRARIES | ||
744 | |||
745 | install-dvi: install-dvi-am | ||
746 | |||
747 | install-dvi-am: | ||
748 | |||
749 | install-exec-am: | ||
750 | |||
751 | install-html: install-html-am | ||
752 | |||
753 | install-html-am: | ||
754 | |||
755 | install-info: install-info-am | ||
756 | |||
757 | install-info-am: | ||
758 | |||
759 | install-man: | ||
760 | |||
761 | install-pdf: install-pdf-am | ||
762 | |||
763 | install-pdf-am: | ||
764 | |||
765 | install-ps: install-ps-am | ||
766 | |||
767 | install-ps-am: | ||
768 | |||
769 | installcheck-am: | ||
770 | |||
771 | maintainer-clean: maintainer-clean-am | ||
772 | -rm -rf ./$(DEPDIR) | ||
773 | -rm -f Makefile | ||
774 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
775 | |||
776 | mostlyclean: mostlyclean-am | ||
777 | |||
778 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
779 | mostlyclean-libtool | ||
780 | |||
781 | pdf: pdf-am | ||
782 | |||
783 | pdf-am: | ||
784 | |||
785 | ps: ps-am | ||
786 | |||
787 | ps-am: | ||
788 | |||
789 | uninstall-am: uninstall-includesHEADERS uninstall-pkgLTLIBRARIES | ||
790 | |||
791 | .MAKE: install-am install-strip | ||
792 | |||
793 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
794 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
795 | ctags distclean distclean-compile distclean-generic \ | ||
796 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
797 | html-am info info-am install install-am install-data \ | ||
798 | install-data-am install-dvi install-dvi-am install-exec \ | ||
799 | install-exec-am install-html install-html-am \ | ||
800 | install-includesHEADERS install-info install-info-am \ | ||
801 | install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \ | ||
802 | install-ps install-ps-am install-strip installcheck \ | ||
803 | installcheck-am installdirs maintainer-clean \ | ||
804 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
805 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
806 | tags uninstall uninstall-am uninstall-includesHEADERS \ | ||
807 | uninstall-pkgLTLIBRARIES | ||
808 | |||
809 | |||
810 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
811 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
812 | .NOEXPORT: | ||
diff --git a/libraries/evas/src/modules/engines/software_16_x11/evas_engine.c b/libraries/evas/src/modules/engines/software_16_x11/evas_engine.c new file mode 100644 index 0000000..5378972 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_x11/evas_engine.c | |||
@@ -0,0 +1,741 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_private.h" | ||
3 | #include "evas_engine.h" | ||
4 | #include "Evas_Engine_Software_16_X11.h" | ||
5 | #include "evas_common_soft16.h" | ||
6 | |||
7 | int _evas_engine_soft16_x11_log_dom = -1; | ||
8 | /* function tables - filled in later (func and parent func) */ | ||
9 | static Evas_Func func, pfunc; | ||
10 | /* | ||
11 | struct xrdb_user | ||
12 | { | ||
13 | time_t last_stat; | ||
14 | time_t last_mtime; | ||
15 | XrmDatabase db; | ||
16 | }; | ||
17 | static struct xrdb_user xrdb_user = {0, 0, NULL}; | ||
18 | |||
19 | static Eina_Bool | ||
20 | xrdb_user_query(const char *name, const char *cls, char **type, XrmValue *val) | ||
21 | { | ||
22 | time_t last = xrdb_user.last_stat, now = time(NULL); | ||
23 | |||
24 | xrdb_user.last_stat = now; | ||
25 | if (last != now) // don't stat() more than once every second | ||
26 | { | ||
27 | struct stat st; | ||
28 | const char *home = getenv("HOME"); | ||
29 | char tmp[PATH_MAX]; | ||
30 | |||
31 | if (!home) goto failed; | ||
32 | snprintf(tmp, sizeof(tmp), "%s/.Xdefaults", home); | ||
33 | if (stat(tmp, &st) != 0) goto failed; | ||
34 | if (xrdb_user.last_mtime != st.st_mtime) | ||
35 | { | ||
36 | if (xrdb_user.db) XrmDestroyDatabase(xrdb_user.db); | ||
37 | xrdb_user.db = XrmGetFileDatabase(tmp); | ||
38 | if (!xrdb_user.db) goto failed; | ||
39 | xrdb_user.last_mtime = st.st_mtime; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | if (!xrdb_user.db) return EINA_FALSE; | ||
44 | return XrmGetResource(xrdb_user.db, name, cls, type, val); | ||
45 | |||
46 | failed: | ||
47 | if (xrdb_user.db) | ||
48 | { | ||
49 | XrmDestroyDatabase(xrdb_user.db); | ||
50 | xrdb_user.db = NULL; | ||
51 | } | ||
52 | xrdb_user.last_mtime = 0; | ||
53 | return EINA_FALSE; | ||
54 | } | ||
55 | */ | ||
56 | |||
57 | /* engine struct data */ | ||
58 | typedef struct _Render_Engine Render_Engine; | ||
59 | |||
60 | struct _Render_Engine | ||
61 | { | ||
62 | Display *disp; | ||
63 | Drawable draw; | ||
64 | GC gc; | ||
65 | int w, h, rot; | ||
66 | Tilebuf *tb; | ||
67 | Tilebuf_Rect *rects; | ||
68 | Tilebuf_Rect *cur_rect; | ||
69 | /* | ||
70 | XrmDatabase xrdb; // xres - dpi | ||
71 | struct { // xres - dpi | ||
72 | int dpi; // xres - dpi | ||
73 | } xr; // xres - dpi | ||
74 | */ | ||
75 | X_Output_Buffer *shbuf; | ||
76 | Soft16_Image *tmp_out; /* used by indirect render, like rotation */ | ||
77 | Region clip_rects; | ||
78 | unsigned char end : 1; | ||
79 | unsigned char shm : 1; | ||
80 | }; | ||
81 | |||
82 | /* prototypes we will use here */ | ||
83 | |||
84 | static void *eng_info(Evas *e); | ||
85 | static void eng_info_free(Evas *e, void *info); | ||
86 | static int eng_setup(Evas *e, void *info); | ||
87 | static void eng_output_free(void *data); | ||
88 | static void eng_output_resize(void *data, int w, int h); | ||
89 | static void eng_output_tile_size_set(void *data, int w, int h); | ||
90 | static void eng_output_redraws_rect_add(void *data, int x, int y, int w, int h); | ||
91 | static void eng_output_redraws_rect_del(void *data, int x, int y, int w, int h); | ||
92 | static void eng_output_redraws_clear(void *data); | ||
93 | 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); | ||
94 | static void eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h); | ||
95 | static void eng_output_flush(void *data); | ||
96 | static void eng_output_idle_flush(void *data); | ||
97 | |||
98 | /* engine api this module provides */ | ||
99 | static void * | ||
100 | eng_info(Evas *e) | ||
101 | { | ||
102 | Evas_Engine_Info_Software_16_X11 *info; | ||
103 | |||
104 | info = calloc(1, sizeof(Evas_Engine_Info_Software_16_X11)); | ||
105 | if (!info) return NULL; | ||
106 | info->magic.magic = rand(); | ||
107 | info->render_mode = EVAS_RENDER_MODE_BLOCKING; | ||
108 | return info; | ||
109 | e = NULL; | ||
110 | } | ||
111 | |||
112 | static void | ||
113 | eng_info_free(Evas *e __UNUSED__, void *info) | ||
114 | { | ||
115 | Evas_Engine_Info_Software_16_X11 *in; | ||
116 | in = (Evas_Engine_Info_Software_16_X11 *)info; | ||
117 | free(in); | ||
118 | } | ||
119 | |||
120 | static void | ||
121 | _tmp_out_alloc(Render_Engine *re) | ||
122 | { | ||
123 | Tilebuf_Rect *r; | ||
124 | unsigned int w = 0, h = 0; | ||
125 | |||
126 | EINA_INLIST_FOREACH(re->rects, r) | ||
127 | { | ||
128 | if (r->w > (int)w) w = r->w; | ||
129 | if (r->h > (int)h) h = r->h; | ||
130 | } | ||
131 | |||
132 | if (re->tmp_out) | ||
133 | { | ||
134 | if ((re->tmp_out->cache_entry.w < w) || (re->tmp_out->cache_entry.h < h)) | ||
135 | { | ||
136 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
137 | re->tmp_out = NULL; | ||
138 | } | ||
139 | } | ||
140 | |||
141 | if (!re->tmp_out) | ||
142 | { | ||
143 | Soft16_Image *im; | ||
144 | |||
145 | im = (Soft16_Image *) evas_cache_image_empty(evas_common_soft16_image_cache_get()); | ||
146 | im->cache_entry.flags.alpha = 0; | ||
147 | evas_cache_image_surface_alloc(&im->cache_entry, w, h); | ||
148 | |||
149 | re->tmp_out = im; | ||
150 | } | ||
151 | } | ||
152 | |||
153 | |||
154 | static int | ||
155 | eng_setup(Evas *e, void *in) | ||
156 | { | ||
157 | Render_Engine *re; | ||
158 | Evas_Engine_Info_Software_16_X11 *info; | ||
159 | /* X_Output_Buffer *xob; */ | ||
160 | XGCValues gcv; | ||
161 | |||
162 | info = (Evas_Engine_Info_Software_16_X11 *)in; | ||
163 | if (!e->engine.data.output) | ||
164 | { | ||
165 | /* the only check - simplistic, i know, but enough for this | ||
166 | * "special purpose" engine. Remember it is meant to be used | ||
167 | * for limited power devices that have a 16bit display mode | ||
168 | * and no real other acceleration, and high resolution so we | ||
169 | * can pre-dither into 16bpp. */ | ||
170 | // if (DefaultDepth(info->info.display, | ||
171 | // DefaultScreen(info->info.display)) != 16) | ||
172 | // return; | ||
173 | /* do common routine init - we wil at least use it for core | ||
174 | * image loading and font loading/glyph rendering & placement */ | ||
175 | evas_common_cpu_init(); | ||
176 | |||
177 | evas_common_blend_init(); | ||
178 | evas_common_image_init(); | ||
179 | evas_common_convert_init(); | ||
180 | evas_common_scale_init(); | ||
181 | evas_common_rectangle_init(); | ||
182 | evas_common_polygon_init(); | ||
183 | evas_common_line_init(); | ||
184 | evas_common_font_init(); | ||
185 | evas_common_draw_init(); | ||
186 | evas_common_tilebuf_init(); | ||
187 | evas_common_soft16_image_init(); | ||
188 | |||
189 | /* render engine specific data */ | ||
190 | re = calloc(1, sizeof(Render_Engine)); | ||
191 | if (!re) | ||
192 | return 0; | ||
193 | e->engine.data.output = re; | ||
194 | re->disp = info->info.display; | ||
195 | re->draw = info->info.drawable; | ||
196 | re->gc = XCreateGC(re->disp, re->draw, 0, &gcv); | ||
197 | re->w = e->output.w; | ||
198 | re->h = e->output.h; | ||
199 | re->rot = info->info.rotation; | ||
200 | re->tb = evas_common_tilebuf_new(e->output.w, e->output.h); | ||
201 | if (re->tb) | ||
202 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
203 | } | ||
204 | else | ||
205 | { | ||
206 | /* we changed the info after first init - do a re-eval where | ||
207 | * appropriate */ | ||
208 | // if (DefaultDepth(info->info.display, | ||
209 | // DefaultScreen(info->info.display)) != 16) | ||
210 | // return; | ||
211 | re = e->engine.data.output; | ||
212 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
213 | re->disp = info->info.display; | ||
214 | re->draw = info->info.drawable; | ||
215 | XFreeGC(re->disp, re->gc); | ||
216 | re->gc = XCreateGC(re->disp, re->draw, 0, &gcv); | ||
217 | re->w = e->output.w; | ||
218 | re->h = e->output.h; | ||
219 | re->rot = info->info.rotation; | ||
220 | re->tb = evas_common_tilebuf_new(e->output.w, e->output.h); | ||
221 | if (re->tb) | ||
222 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
223 | if (re->tmp_out) | ||
224 | { | ||
225 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
226 | re->tmp_out = NULL; | ||
227 | } | ||
228 | } | ||
229 | if (!e->engine.data.output) return 0; | ||
230 | |||
231 | /* | ||
232 | { | ||
233 | int status; | ||
234 | char *type = NULL; | ||
235 | XrmValue val; | ||
236 | |||
237 | re->xr.dpi = 75000; // dpy * 1000 | ||
238 | |||
239 | status = xrdb_user_query("Xft.dpi", "Xft.Dpi", &type, &val); | ||
240 | if ((!status) || (!type)) | ||
241 | { | ||
242 | if (!re->xrdb) re->xrdb = XrmGetDatabase(re->disp); | ||
243 | if (re->xrdb) | ||
244 | status = XrmGetResource(re->xrdb, | ||
245 | "Xft.dpi", "Xft.Dpi", &type, &val); | ||
246 | } | ||
247 | |||
248 | if ((status) && (type)) | ||
249 | { | ||
250 | if (!strcmp(type, "String")) | ||
251 | { | ||
252 | const char *str, *dp; | ||
253 | |||
254 | str = val.addr; | ||
255 | dp = strchr(str, '.'); | ||
256 | if (!dp) dp = strchr(str, ','); | ||
257 | |||
258 | if (dp) | ||
259 | { | ||
260 | int subdpi, len, i; | ||
261 | char *buf; | ||
262 | |||
263 | buf = alloca(dp - str + 1); | ||
264 | strncpy(buf, str, dp - str); | ||
265 | buf[dp - str] = 0; | ||
266 | len = strlen(dp + 1); | ||
267 | subdpi = atoi(dp + 1); | ||
268 | |||
269 | if (len < 3) | ||
270 | { | ||
271 | for (i = len; i < 3; i++) subdpi *= 10; | ||
272 | } | ||
273 | else if (len > 3) | ||
274 | { | ||
275 | for (i = len; i > 3; i--) subdpi /= 10; | ||
276 | } | ||
277 | re->xr.dpi = atoi(buf) * 1000; | ||
278 | } | ||
279 | else | ||
280 | re->xr.dpi = atoi(str) * 1000; | ||
281 | } | ||
282 | } | ||
283 | evas_common_font_dpi_set(re->xr.dpi / 1000); | ||
284 | } | ||
285 | */ | ||
286 | |||
287 | /* add a draw context if we dont have one */ | ||
288 | if (!e->engine.data.context) | ||
289 | e->engine.data.context = | ||
290 | e->engine.func->context_new(e->engine.data.output); | ||
291 | /* check if the display can do shm */ | ||
292 | re->shm = evas_software_16_x11_x_can_do_shm(re->disp); | ||
293 | |||
294 | return 1; | ||
295 | } | ||
296 | |||
297 | static void | ||
298 | eng_output_free(void *data) | ||
299 | { | ||
300 | Render_Engine *re; | ||
301 | |||
302 | re = (Render_Engine *)data; | ||
303 | |||
304 | // NOTE: XrmGetDatabase() result is shared per connection, do not free it. | ||
305 | // if (re->xrdb) XrmDestroyDatabase(re->xrdb); | ||
306 | |||
307 | if (re->shbuf) evas_software_16_x11_x_output_buffer_free(re->shbuf, 0); | ||
308 | if (re->clip_rects) XDestroyRegion(re->clip_rects); | ||
309 | if (re->gc) XFreeGC(re->disp, re->gc); | ||
310 | if (re->tb) evas_common_tilebuf_free(re->tb); | ||
311 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
312 | if (re->tmp_out) evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
313 | free(re); | ||
314 | |||
315 | evas_common_font_shutdown(); | ||
316 | evas_common_image_shutdown(); | ||
317 | evas_common_soft16_image_shutdown(); | ||
318 | } | ||
319 | |||
320 | static void | ||
321 | eng_output_resize(void *data, int w, int h) | ||
322 | { | ||
323 | Render_Engine *re; | ||
324 | |||
325 | re = (Render_Engine *)data; | ||
326 | |||
327 | if ((re->w == w) && (re->h == h)) return; | ||
328 | |||
329 | evas_common_tilebuf_free(re->tb); | ||
330 | re->w = w; | ||
331 | re->h = h; | ||
332 | re->tb = evas_common_tilebuf_new(w, h); | ||
333 | if (re->tb) | ||
334 | evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); | ||
335 | if (re->shbuf) | ||
336 | { | ||
337 | evas_software_16_x11_x_output_buffer_free(re->shbuf, 0); | ||
338 | re->shbuf = NULL; | ||
339 | } | ||
340 | if (re->clip_rects) | ||
341 | { | ||
342 | XDestroyRegion(re->clip_rects); | ||
343 | re->clip_rects = NULL; | ||
344 | } | ||
345 | if (re->tmp_out) | ||
346 | { | ||
347 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
348 | re->tmp_out = NULL; | ||
349 | } | ||
350 | } | ||
351 | |||
352 | static void | ||
353 | eng_output_tile_size_set(void *data, int w, int h) | ||
354 | { | ||
355 | Render_Engine *re; | ||
356 | |||
357 | re = (Render_Engine *)data; | ||
358 | evas_common_tilebuf_set_tile_size(re->tb, w, h); | ||
359 | } | ||
360 | |||
361 | static void | ||
362 | eng_output_redraws_rect_add(void *data, int x, int y, int w, int h) | ||
363 | { | ||
364 | Render_Engine *re; | ||
365 | |||
366 | re = (Render_Engine *)data; | ||
367 | evas_common_tilebuf_add_redraw(re->tb, x, y, w, h); | ||
368 | } | ||
369 | |||
370 | static void | ||
371 | eng_output_redraws_rect_del(void *data, int x, int y, int w, int h) | ||
372 | { | ||
373 | Render_Engine *re; | ||
374 | |||
375 | re = (Render_Engine *)data; | ||
376 | evas_common_tilebuf_del_redraw(re->tb, x, y, w, h); | ||
377 | } | ||
378 | |||
379 | static void | ||
380 | eng_output_redraws_clear(void *data) | ||
381 | { | ||
382 | Render_Engine *re; | ||
383 | |||
384 | re = (Render_Engine *)data; | ||
385 | evas_common_tilebuf_clear(re->tb); | ||
386 | } | ||
387 | |||
388 | static inline void | ||
389 | _output_buffer_alloc(Render_Engine *re) | ||
390 | { | ||
391 | int w, h; | ||
392 | if (re->shbuf) return; | ||
393 | |||
394 | if ((re->rot == 0) || (re->rot == 180)) | ||
395 | { | ||
396 | w = re->w; | ||
397 | h = re->h; | ||
398 | } | ||
399 | else | ||
400 | { | ||
401 | w = re->h; | ||
402 | h = re->w; | ||
403 | } | ||
404 | |||
405 | re->shbuf = evas_software_16_x11_x_output_buffer_new | ||
406 | (re->disp, DefaultVisual(re->disp, DefaultScreen(re->disp)), | ||
407 | DefaultDepth(re->disp, DefaultScreen(re->disp)), | ||
408 | w, h, 1, NULL); | ||
409 | } | ||
410 | |||
411 | static void * | ||
412 | eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, int *cx, int *cy, int *cw, int *ch) | ||
413 | { | ||
414 | Render_Engine *re; | ||
415 | Tilebuf_Rect *rect; | ||
416 | int ux, uy, uw, uh; | ||
417 | |||
418 | re = (Render_Engine *)data; | ||
419 | if (re->end) | ||
420 | { | ||
421 | re->end = 0; | ||
422 | return NULL; | ||
423 | } | ||
424 | if (!re->rects) | ||
425 | { | ||
426 | re->rects = evas_common_tilebuf_get_render_rects(re->tb); | ||
427 | if (!re->rects) return NULL; | ||
428 | |||
429 | re->cur_rect = re->rects; | ||
430 | _output_buffer_alloc(re); | ||
431 | if (re->rot != 0) _tmp_out_alloc(re); /* grows if required */ | ||
432 | } | ||
433 | if (!re->cur_rect) | ||
434 | { | ||
435 | if (re->rects) evas_common_tilebuf_free_render_rects(re->rects); | ||
436 | re->rects = NULL; | ||
437 | return NULL; | ||
438 | } | ||
439 | rect = re->cur_rect; | ||
440 | ux = rect->x; uy = rect->y; uw = rect->w; uh = rect->h; | ||
441 | re->cur_rect = (Tilebuf_Rect *)((EINA_INLIST_GET(re->cur_rect))->next); | ||
442 | if (!re->cur_rect) | ||
443 | { | ||
444 | evas_common_tilebuf_free_render_rects(re->rects); | ||
445 | re->rects = NULL; | ||
446 | re->end = 1; | ||
447 | } | ||
448 | |||
449 | *x = ux; *y = uy; *w = uw; *h = uh; | ||
450 | if (re->rot == 0) | ||
451 | { | ||
452 | *cx = ux; *cy = uy; *cw = uw; *ch = uh; | ||
453 | return re->shbuf->im; | ||
454 | } | ||
455 | else | ||
456 | { | ||
457 | *cx = 0; *cy = 0; *cw = uw; *ch = uh; | ||
458 | return re->tmp_out; | ||
459 | } | ||
460 | } | ||
461 | |||
462 | static void | ||
463 | _blit_rot_90(Soft16_Image *dst, const Soft16_Image *src, | ||
464 | int out_x, int out_y, int w, int h) | ||
465 | { | ||
466 | DATA16 *dp, *sp; | ||
467 | int x, y; | ||
468 | |||
469 | sp = src->pixels; | ||
470 | dp = dst->pixels + (out_x + | ||
471 | (w + out_y - 1) * dst->stride); | ||
472 | |||
473 | for (y = 0; y < h; y++) | ||
474 | { | ||
475 | DATA16 *dp_itr, *sp_itr; | ||
476 | |||
477 | sp_itr = sp; | ||
478 | dp_itr = dp; | ||
479 | |||
480 | for (x = 0; x < w; x++) | ||
481 | { | ||
482 | *dp_itr = *sp_itr; | ||
483 | |||
484 | sp_itr++; | ||
485 | dp_itr -= dst->stride; | ||
486 | } | ||
487 | sp += src->stride; | ||
488 | dp++; | ||
489 | } | ||
490 | } | ||
491 | |||
492 | static void | ||
493 | _blit_rot_180(Soft16_Image *dst, const Soft16_Image *src, | ||
494 | int out_x, int out_y, int w, int h) | ||
495 | { | ||
496 | DATA16 *dp, *sp; | ||
497 | int x, y; | ||
498 | |||
499 | sp = src->pixels; | ||
500 | dp = dst->pixels + ((w + out_x - 1) + | ||
501 | (h + out_y - 1) * dst->stride); | ||
502 | |||
503 | for (y = 0; y < h; y++) | ||
504 | { | ||
505 | DATA16 *dp_itr, *sp_itr; | ||
506 | |||
507 | sp_itr = sp; | ||
508 | dp_itr = dp; | ||
509 | |||
510 | for (x = 0; x < w; x++) | ||
511 | { | ||
512 | *dp_itr = *sp_itr; | ||
513 | |||
514 | sp_itr++; | ||
515 | dp_itr--; | ||
516 | } | ||
517 | sp += src->stride; | ||
518 | dp -= dst->stride; | ||
519 | } | ||
520 | } | ||
521 | |||
522 | static void | ||
523 | _blit_rot_270(Soft16_Image *dst, const Soft16_Image *src, | ||
524 | int out_x, int out_y, int w, int h) | ||
525 | { | ||
526 | DATA16 *dp, *sp; | ||
527 | int x, y; | ||
528 | |||
529 | sp = src->pixels; | ||
530 | dp = dst->pixels + ((h + out_x - 1) + | ||
531 | out_y * dst->stride); | ||
532 | |||
533 | for (y = 0; y < h; y++) | ||
534 | { | ||
535 | DATA16 *dp_itr, *sp_itr; | ||
536 | |||
537 | sp_itr = sp; | ||
538 | dp_itr = dp; | ||
539 | |||
540 | for (x = 0; x < w; x++) | ||
541 | { | ||
542 | *dp_itr = *sp_itr; | ||
543 | |||
544 | sp_itr++; | ||
545 | dp_itr += dst->stride; | ||
546 | } | ||
547 | sp += src->stride; | ||
548 | dp--; | ||
549 | } | ||
550 | } | ||
551 | |||
552 | static void | ||
553 | _tmp_out_process(Render_Engine *re, int out_x, int out_y, int w, int h) | ||
554 | { | ||
555 | Soft16_Image *d, *s; | ||
556 | |||
557 | d = re->shbuf->im; | ||
558 | s = re->tmp_out; | ||
559 | |||
560 | if ((w < 1) || (h < 1) || | ||
561 | (out_x >= (int)d->cache_entry.w) || (out_y >= (int)d->cache_entry.h)) | ||
562 | return; | ||
563 | |||
564 | if (re->rot == 90) | ||
565 | _blit_rot_90(d, s, out_x, out_y, w, h); | ||
566 | else if (re->rot == 180) | ||
567 | _blit_rot_180(d, s, out_x, out_y, w, h); | ||
568 | else if (re->rot == 270) | ||
569 | _blit_rot_270(d, s, out_x, out_y, w, h); | ||
570 | } | ||
571 | |||
572 | static void | ||
573 | eng_output_redraws_next_update_push(void *data, void *surface __UNUSED__, int x, int y, int w, int h) | ||
574 | { | ||
575 | Render_Engine *re; | ||
576 | XRectangle r = { 0, 0, 0, 0 }; | ||
577 | |||
578 | re = (Render_Engine *)data; | ||
579 | |||
580 | if (!re->clip_rects) | ||
581 | re->clip_rects = XCreateRegion(); | ||
582 | |||
583 | if (re->rot == 0) | ||
584 | { | ||
585 | r.x = x; | ||
586 | r.y = y; | ||
587 | r.width = w; | ||
588 | r.height = h; | ||
589 | } | ||
590 | else if (re->rot == 90) | ||
591 | { | ||
592 | r.x = y; | ||
593 | r.y = re->w - w - x; | ||
594 | r.width = h; | ||
595 | r.height = w; | ||
596 | } | ||
597 | else if (re->rot == 180) | ||
598 | { | ||
599 | r.x = re->w - w - x; | ||
600 | r.y = re->h - h - y; | ||
601 | r.width = w; | ||
602 | r.height = h; | ||
603 | } | ||
604 | else if (re->rot == 270) | ||
605 | { | ||
606 | r.x = re->h - h - y; | ||
607 | r.y = x; | ||
608 | r.width = h; | ||
609 | r.height = w; | ||
610 | } | ||
611 | |||
612 | if (re->rot != 0) | ||
613 | _tmp_out_process(re, r.x, r.y, w, h); | ||
614 | XUnionRectWithRegion(&r, re->clip_rects, re->clip_rects); | ||
615 | } | ||
616 | |||
617 | static void | ||
618 | eng_output_flush(void *data) | ||
619 | { | ||
620 | Render_Engine *re; | ||
621 | |||
622 | re = (Render_Engine *)data; | ||
623 | if (re->clip_rects) | ||
624 | { | ||
625 | XSetRegion(re->disp, re->gc, re->clip_rects); | ||
626 | XDestroyRegion(re->clip_rects); | ||
627 | re->clip_rects = NULL; | ||
628 | } | ||
629 | else return; | ||
630 | |||
631 | evas_software_16_x11_x_output_buffer_paste | ||
632 | (re->shbuf, re->draw, re->gc, 0, 0, re->shbuf->im->cache_entry.w, re->shbuf->im->cache_entry.h, 1); | ||
633 | XSetClipMask(re->disp, re->gc, None); | ||
634 | } | ||
635 | |||
636 | static void | ||
637 | eng_output_idle_flush(void *data) | ||
638 | { | ||
639 | Render_Engine *re; | ||
640 | |||
641 | re = (Render_Engine *)data; | ||
642 | if (re->shbuf) | ||
643 | { | ||
644 | evas_software_16_x11_x_output_buffer_free(re->shbuf, 0); | ||
645 | re->shbuf = NULL; | ||
646 | } | ||
647 | if (re->clip_rects) | ||
648 | { | ||
649 | XDestroyRegion(re->clip_rects); | ||
650 | re->clip_rects = NULL; | ||
651 | } | ||
652 | if (re->tmp_out) | ||
653 | { | ||
654 | evas_cache_image_drop(&re->tmp_out->cache_entry); | ||
655 | re->tmp_out = NULL; | ||
656 | } | ||
657 | } | ||
658 | |||
659 | static Eina_Bool | ||
660 | eng_canvas_alpha_get(void *data __UNUSED__, void *context __UNUSED__) | ||
661 | { | ||
662 | return EINA_FALSE; | ||
663 | } | ||
664 | |||
665 | /* module advertising code */ | ||
666 | static int | ||
667 | module_open(Evas_Module *em) | ||
668 | { | ||
669 | static Eina_Bool xrm_inited = EINA_FALSE; | ||
670 | if (!xrm_inited) | ||
671 | { | ||
672 | xrm_inited = EINA_TRUE; | ||
673 | XrmInitialize(); | ||
674 | } | ||
675 | |||
676 | if (!em) return 0; | ||
677 | /* get whatever engine module we inherit from */ | ||
678 | if (!_evas_module_engine_inherit(&pfunc, "software_16")) return 0; | ||
679 | _evas_engine_soft16_x11_log_dom = eina_log_domain_register | ||
680 | ("evas-software_16_x11", EVAS_DEFAULT_LOG_COLOR); | ||
681 | if (_evas_engine_soft16_x11_log_dom < 0) | ||
682 | { | ||
683 | EINA_LOG_ERR("Can not create a module log domain."); | ||
684 | return 0; | ||
685 | } | ||
686 | |||
687 | /* store it for later use */ | ||
688 | func = pfunc; | ||
689 | /* now to override methods */ | ||
690 | #define ORD(f) EVAS_API_OVERRIDE(f, &func, eng_) | ||
691 | ORD(info); | ||
692 | ORD(info_free); | ||
693 | ORD(setup); | ||
694 | ORD(canvas_alpha_get); | ||
695 | ORD(output_free); | ||
696 | ORD(output_resize); | ||
697 | ORD(output_tile_size_set); | ||
698 | ORD(output_redraws_rect_add); | ||
699 | ORD(output_redraws_rect_del); | ||
700 | ORD(output_redraws_clear); | ||
701 | ORD(output_redraws_next_update_get); | ||
702 | ORD(output_redraws_next_update_push); | ||
703 | ORD(output_flush); | ||
704 | ORD(output_idle_flush); | ||
705 | /* now advertise out own api */ | ||
706 | em->functions = (void *)(&func); | ||
707 | return 1; | ||
708 | } | ||
709 | |||
710 | static void | ||
711 | module_close(Evas_Module *em __UNUSED__) | ||
712 | { | ||
713 | eina_log_domain_unregister(_evas_engine_soft16_x11_log_dom); | ||
714 | /* | ||
715 | if (xrdb_user.db) | ||
716 | { | ||
717 | XrmDestroyDatabase(xrdb_user.db); | ||
718 | xrdb_user.last_stat = 0; | ||
719 | xrdb_user.last_mtime = 0; | ||
720 | xrdb_user.db = NULL; | ||
721 | } | ||
722 | */ | ||
723 | } | ||
724 | |||
725 | static Evas_Module_Api evas_modapi = | ||
726 | { | ||
727 | EVAS_MODULE_API_VERSION, | ||
728 | "software_16_x11", | ||
729 | "none", | ||
730 | { | ||
731 | module_open, | ||
732 | module_close | ||
733 | } | ||
734 | }; | ||
735 | |||
736 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_ENGINE, engine, software_16_x11); | ||
737 | |||
738 | #ifndef EVAS_STATIC_BUILD_SOFTWARE_16_X11 | ||
739 | EVAS_EINA_MODULE_DEFINE(engine, software_16_x11); | ||
740 | #endif | ||
741 | |||
diff --git a/libraries/evas/src/modules/engines/software_16_x11/evas_engine.h b/libraries/evas/src/modules/engines/software_16_x11/evas_engine.h new file mode 100644 index 0000000..066ef50 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_x11/evas_engine.h | |||
@@ -0,0 +1,63 @@ | |||
1 | #ifndef EVAS_ENGINE_H | ||
2 | #define EVAS_ENGINE_H | ||
3 | |||
4 | #include <X11/Xlib.h> | ||
5 | #include <X11/Xutil.h> | ||
6 | #include <X11/Xatom.h> | ||
7 | #include <X11/extensions/XShm.h> | ||
8 | #include <X11/Xresource.h> // xres - dpi | ||
9 | #include <sys/ipc.h> | ||
10 | #include <sys/shm.h> | ||
11 | #include "evas_common.h" | ||
12 | #include "evas_common_soft16.h" | ||
13 | |||
14 | extern int _evas_engine_soft16_x11_log_dom; | ||
15 | #ifdef ERR | ||
16 | # undef ERR | ||
17 | #endif | ||
18 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_soft16_x11_log_dom, __VA_ARGS__) | ||
19 | |||
20 | #ifdef DBG | ||
21 | # undef DBG | ||
22 | #endif | ||
23 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_soft16_x11_log_dom, __VA_ARGS__) | ||
24 | |||
25 | #ifdef INF | ||
26 | # undef INF | ||
27 | #endif | ||
28 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_soft16_x11_log_dom, __VA_ARGS__) | ||
29 | |||
30 | #ifdef WRN | ||
31 | # undef WRN | ||
32 | #endif | ||
33 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_soft16_x11_log_dom, __VA_ARGS__) | ||
34 | |||
35 | #ifdef CRIT | ||
36 | # undef CRIT | ||
37 | #endif | ||
38 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_soft16_x11_log_dom, __VA_ARGS__) | ||
39 | |||
40 | typedef struct _X_Output_Buffer X_Output_Buffer; | ||
41 | |||
42 | struct _X_Output_Buffer | ||
43 | { | ||
44 | Soft16_Image *im; | ||
45 | Display *display; | ||
46 | XImage *xim; | ||
47 | XShmSegmentInfo *shm_info; | ||
48 | void *data; | ||
49 | }; | ||
50 | |||
51 | /****/ | ||
52 | void evas_software_16_x11_x_init (void); | ||
53 | |||
54 | int evas_software_16_x11_x_can_do_shm (Display *d); | ||
55 | X_Output_Buffer *evas_software_16_x11_x_output_buffer_new (Display *d, Visual *v, int depth, int w, int h, int try_shm, void *data); | ||
56 | void evas_software_16_x11_x_output_buffer_free (X_Output_Buffer *xob, int sync); | ||
57 | void evas_software_16_x11_x_output_buffer_paste (X_Output_Buffer *xob, Drawable d, GC gc, int x, int y, int w, int h, int sync); | ||
58 | DATA8 *evas_software_16_x11_x_output_buffer_data (X_Output_Buffer *xob, int *bytes_per_line_ret); | ||
59 | int evas_software_16_x11_x_output_buffer_depth (X_Output_Buffer *xob); | ||
60 | int evas_software_16_x11_x_output_buffer_byte_order (X_Output_Buffer *xob); | ||
61 | int evas_software_16_x11_x_output_buffer_bit_order (X_Output_Buffer *xob); | ||
62 | |||
63 | #endif | ||
diff --git a/libraries/evas/src/modules/engines/software_16_x11/evas_x_buffer.c b/libraries/evas/src/modules/engines/software_16_x11/evas_x_buffer.c new file mode 100644 index 0000000..32784b0 --- /dev/null +++ b/libraries/evas/src/modules/engines/software_16_x11/evas_x_buffer.c | |||
@@ -0,0 +1,186 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_engine.h" | ||
3 | |||
4 | static int _x_err = 0; | ||
5 | |||
6 | int | ||
7 | evas_software_16_x11_x_can_do_shm(Display *d) | ||
8 | { | ||
9 | static Display *cached_d = NULL; | ||
10 | static int cached_result = 0; | ||
11 | |||
12 | if (d == cached_d) return cached_result; | ||
13 | cached_d = d; | ||
14 | if (XShmQueryExtension(d)) | ||
15 | { | ||
16 | X_Output_Buffer *xob; | ||
17 | |||
18 | xob = evas_software_16_x11_x_output_buffer_new | ||
19 | (d, DefaultVisual(d, DefaultScreen(d)), | ||
20 | DefaultDepth(d, DefaultScreen(d)), 16, 16, 2, NULL); | ||
21 | if (!xob) | ||
22 | { | ||
23 | cached_result = 0; | ||
24 | return 0; | ||
25 | } | ||
26 | evas_software_16_x11_x_output_buffer_free(xob, 1); | ||
27 | cached_result = 1; | ||
28 | return 1; | ||
29 | } | ||
30 | cached_result = 0; | ||
31 | return 0; | ||
32 | } | ||
33 | |||
34 | static void | ||
35 | x_output_tmp_x_err(Display * d __UNUSED__, XErrorEvent * ev __UNUSED__) | ||
36 | { | ||
37 | _x_err = 1; | ||
38 | return; | ||
39 | } | ||
40 | |||
41 | X_Output_Buffer * | ||
42 | evas_software_16_x11_x_output_buffer_new(Display *d, Visual *v, int depth, int w, int h, int try_shm, void *data) | ||
43 | { | ||
44 | X_Output_Buffer *xob; | ||
45 | |||
46 | xob = calloc(1, sizeof(X_Output_Buffer)); | ||
47 | if (!xob) return NULL; | ||
48 | |||
49 | xob->display = d; | ||
50 | xob->xim = NULL; | ||
51 | xob->shm_info = NULL; | ||
52 | |||
53 | if (try_shm > 0) | ||
54 | { | ||
55 | xob->shm_info = malloc(sizeof(XShmSegmentInfo)); | ||
56 | if (xob->shm_info) | ||
57 | { | ||
58 | xob->xim = XShmCreateImage(d, v, depth, ZPixmap, NULL, | ||
59 | xob->shm_info, w, h); | ||
60 | if (xob->xim) | ||
61 | { | ||
62 | xob->shm_info->shmid = shmget(IPC_PRIVATE, | ||
63 | xob->xim->bytes_per_line * | ||
64 | xob->xim->height, | ||
65 | IPC_CREAT | 0777); | ||
66 | if (xob->shm_info->shmid >= 0) | ||
67 | { | ||
68 | xob->shm_info->readOnly = False; | ||
69 | xob->shm_info->shmaddr = xob->xim->data = | ||
70 | shmat(xob->shm_info->shmid, 0, 0); | ||
71 | if (xob->shm_info->shmaddr) | ||
72 | { | ||
73 | XErrorHandler ph; | ||
74 | |||
75 | XSync(d, False); | ||
76 | _x_err = 0; | ||
77 | ph = XSetErrorHandler((XErrorHandler) | ||
78 | x_output_tmp_x_err); | ||
79 | XShmAttach(d, xob->shm_info); | ||
80 | XSync(d, False); | ||
81 | XSetErrorHandler((XErrorHandler)ph); | ||
82 | if (!_x_err) | ||
83 | { | ||
84 | xob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), w, h, (DATA32 *) xob->xim->data, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
85 | if (xob->im) | ||
86 | xob->im->stride = xob->xim->bytes_per_line / sizeof(DATA16); | ||
87 | return xob; | ||
88 | } | ||
89 | } | ||
90 | shmdt(xob->shm_info->shmaddr); | ||
91 | shmctl(xob->shm_info->shmid, IPC_RMID, 0); | ||
92 | } | ||
93 | if (xob->xim) XDestroyImage(xob->xim); | ||
94 | xob->xim = NULL; | ||
95 | } | ||
96 | if (xob->shm_info) free(xob->shm_info); | ||
97 | xob->shm_info = NULL; | ||
98 | } | ||
99 | } | ||
100 | |||
101 | if (try_shm > 1) return NULL; | ||
102 | |||
103 | xob->xim = XCreateImage(d, v, depth, ZPixmap, 0, data, w, h, 32, 0); | ||
104 | if (!xob->xim) | ||
105 | { | ||
106 | free(xob); | ||
107 | return NULL; | ||
108 | } | ||
109 | |||
110 | xob->data = data; | ||
111 | |||
112 | if (!xob->xim->data) | ||
113 | { | ||
114 | xob->xim->data = malloc(xob->xim->bytes_per_line * xob->xim->height); | ||
115 | if (!xob->xim->data) | ||
116 | { | ||
117 | XDestroyImage(xob->xim); | ||
118 | free(xob); | ||
119 | return NULL; | ||
120 | } | ||
121 | } | ||
122 | if (xob->im) | ||
123 | evas_cache_image_drop(&xob->im->cache_entry); | ||
124 | |||
125 | xob->im = (Soft16_Image *) evas_cache_image_data(evas_common_soft16_image_cache_get(), w, h, (DATA32 *) xob->xim->data, 0, EVAS_COLORSPACE_RGB565_A5P); | ||
126 | if (xob->im) | ||
127 | xob->im->stride = xob->xim->bytes_per_line / sizeof(DATA16); | ||
128 | return xob; | ||
129 | } | ||
130 | |||
131 | void | ||
132 | evas_software_16_x11_x_output_buffer_free(X_Output_Buffer *xob, int sync) | ||
133 | { | ||
134 | if (xob->shm_info) | ||
135 | { | ||
136 | if (sync) XSync(xob->display, False); | ||
137 | XShmDetach(xob->display, xob->shm_info); | ||
138 | XDestroyImage(xob->xim); | ||
139 | shmdt(xob->shm_info->shmaddr); | ||
140 | shmctl(xob->shm_info->shmid, IPC_RMID, 0); | ||
141 | free(xob->shm_info); | ||
142 | } | ||
143 | else | ||
144 | { | ||
145 | if (xob->data) xob->xim->data = NULL; | ||
146 | XDestroyImage(xob->xim); | ||
147 | } | ||
148 | free(xob); | ||
149 | } | ||
150 | |||
151 | void | ||
152 | evas_software_16_x11_x_output_buffer_paste(X_Output_Buffer *xob, Drawable d, GC gc, int x, int y, int w, int h, int sync) | ||
153 | { | ||
154 | if (xob->shm_info) | ||
155 | { | ||
156 | XShmPutImage(xob->display, d, gc, xob->xim, 0, 0, x, y, w, h, False); | ||
157 | if (sync) XSync(xob->display, False); | ||
158 | } | ||
159 | else | ||
160 | XPutImage(xob->display, d, gc, xob->xim, 0, 0, x, y, w, h); | ||
161 | } | ||
162 | |||
163 | DATA8 * | ||
164 | evas_software_16_x11_x_output_buffer_data(X_Output_Buffer *xob, int *bytes_per_line_ret) | ||
165 | { | ||
166 | if (bytes_per_line_ret) *bytes_per_line_ret = xob->xim->bytes_per_line; | ||
167 | return (DATA8*) xob->xim->data; | ||
168 | } | ||
169 | |||
170 | int | ||
171 | evas_software_16_x11_x_output_buffer_depth(X_Output_Buffer *xob) | ||
172 | { | ||
173 | return xob->xim->bits_per_pixel; | ||
174 | } | ||
175 | |||
176 | int | ||
177 | evas_software_16_x11_x_output_buffer_byte_order(X_Output_Buffer *xob) | ||
178 | { | ||
179 | return xob->xim->byte_order; | ||
180 | } | ||
181 | |||
182 | int | ||
183 | evas_software_16_x11_x_output_buffer_bit_order(X_Output_Buffer *xob) | ||
184 | { | ||
185 | return xob->xim->bitmap_bit_order; | ||
186 | } | ||