diff options
Diffstat (limited to 'libraries/evas/src/modules/engines/software_16')
3 files changed, 1203 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 | ||