diff options
Diffstat (limited to 'libraries/evas/src/modules/engines/software_16_x11')
6 files changed, 0 insertions, 1879 deletions
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 deleted file mode 100644 index 9768f0a..0000000 --- a/libraries/evas/src/modules/engines/software_16_x11/Evas_Engine_Software_16_X11.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
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 deleted file mode 100644 index 812492e..0000000 --- a/libraries/evas/src/modules/engines/software_16_x11/Makefile.am +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | |||
2 | MAINTAINERCLEANFILES = Makefile.in | ||
3 | |||
4 | AM_CPPFLAGS = \ | ||
5 | -I. \ | ||
6 | -I$(top_srcdir)/src/lib \ | ||
7 | -I$(top_srcdir)/src/lib/include \ | ||
8 | -I$(top_srcdir)/src/modules/engines \ | ||
9 | -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 deleted file mode 100644 index 2ce18e6..0000000 --- a/libraries/evas/src/modules/engines/software_16_x11/Makefile.in +++ /dev/null | |||
@@ -1,816 +0,0 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | |||
19 | VPATH = @srcdir@ | ||
20 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
21 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
22 | pkglibdir = $(libdir)/@PACKAGE@ | ||
23 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
24 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
25 | install_sh_DATA = $(install_sh) -c -m 644 | ||
26 | install_sh_PROGRAM = $(install_sh) -c | ||
27 | install_sh_SCRIPT = $(install_sh) -c | ||
28 | INSTALL_HEADER = $(INSTALL_DATA) | ||
29 | transform = $(program_transform_name) | ||
30 | NORMAL_INSTALL = : | ||
31 | PRE_INSTALL = : | ||
32 | POST_INSTALL = : | ||
33 | NORMAL_UNINSTALL = : | ||
34 | PRE_UNINSTALL = : | ||
35 | POST_UNINSTALL = : | ||
36 | build_triplet = @build@ | ||
37 | host_triplet = @host@ | ||
38 | subdir = src/modules/engines/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 | EXOTIC_CFLAGS = @EXOTIC_CFLAGS@ | ||
198 | EXOTIC_LIBS = @EXOTIC_LIBS@ | ||
199 | FGREP = @FGREP@ | ||
200 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
201 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
202 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
203 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
204 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
205 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
206 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
207 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
208 | GREP = @GREP@ | ||
209 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
210 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
211 | INSTALL = @INSTALL@ | ||
212 | INSTALL_DATA = @INSTALL_DATA@ | ||
213 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
214 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
215 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
216 | LD = @LD@ | ||
217 | LDFLAGS = @LDFLAGS@ | ||
218 | LIBOBJS = @LIBOBJS@ | ||
219 | LIBS = @LIBS@ | ||
220 | LIBTOOL = @LIBTOOL@ | ||
221 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
222 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
223 | LIPO = @LIPO@ | ||
224 | LN_S = @LN_S@ | ||
225 | LTLIBOBJS = @LTLIBOBJS@ | ||
226 | MAKEINFO = @MAKEINFO@ | ||
227 | MKDIR_P = @MKDIR_P@ | ||
228 | MODULE_ARCH = @MODULE_ARCH@ | ||
229 | NM = @NM@ | ||
230 | NMEDIT = @NMEDIT@ | ||
231 | OBJC = @OBJC@ | ||
232 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
233 | OBJCFLAGS = @OBJCFLAGS@ | ||
234 | OBJDUMP = @OBJDUMP@ | ||
235 | OBJEXT = @OBJEXT@ | ||
236 | OTOOL = @OTOOL@ | ||
237 | OTOOL64 = @OTOOL64@ | ||
238 | PACKAGE = @PACKAGE@ | ||
239 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
240 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
241 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
242 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
243 | PACKAGE_URL = @PACKAGE_URL@ | ||
244 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
245 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
246 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
247 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
248 | PKG_CONFIG = @PKG_CONFIG@ | ||
249 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
250 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
251 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
252 | PNG_LIBS = @PNG_LIBS@ | ||
253 | RANLIB = @RANLIB@ | ||
254 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
255 | SDL_LIBS = @SDL_LIBS@ | ||
256 | SED = @SED@ | ||
257 | SET_MAKE = @SET_MAKE@ | ||
258 | SHELL = @SHELL@ | ||
259 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
260 | STRIP = @STRIP@ | ||
261 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
262 | SVG_LIBS = @SVG_LIBS@ | ||
263 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
264 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
265 | VERSION = @VERSION@ | ||
266 | VMAJ = @VMAJ@ | ||
267 | WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ | ||
268 | WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ | ||
269 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
270 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
271 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
272 | XCB_LIBS = @XCB_LIBS@ | ||
273 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
274 | XEXT_LIBS = @XEXT_LIBS@ | ||
275 | XMKMF = @XMKMF@ | ||
276 | X_CFLAGS = @X_CFLAGS@ | ||
277 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
278 | X_LIBS = @X_LIBS@ | ||
279 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
280 | abs_builddir = @abs_builddir@ | ||
281 | abs_srcdir = @abs_srcdir@ | ||
282 | abs_top_builddir = @abs_top_builddir@ | ||
283 | abs_top_srcdir = @abs_top_srcdir@ | ||
284 | ac_ct_CC = @ac_ct_CC@ | ||
285 | ac_ct_CXX = @ac_ct_CXX@ | ||
286 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
287 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
288 | altivec_cflags = @altivec_cflags@ | ||
289 | am__include = @am__include@ | ||
290 | am__leading_dot = @am__leading_dot@ | ||
291 | am__quote = @am__quote@ | ||
292 | am__tar = @am__tar@ | ||
293 | am__untar = @am__untar@ | ||
294 | bindir = @bindir@ | ||
295 | build = @build@ | ||
296 | build_alias = @build_alias@ | ||
297 | build_cpu = @build_cpu@ | ||
298 | build_os = @build_os@ | ||
299 | build_vendor = @build_vendor@ | ||
300 | builddir = @builddir@ | ||
301 | datadir = @datadir@ | ||
302 | datarootdir = @datarootdir@ | ||
303 | dlopen_libs = @dlopen_libs@ | ||
304 | docdir = @docdir@ | ||
305 | dvidir = @dvidir@ | ||
306 | edje_cc = @edje_cc@ | ||
307 | efl_doxygen = @efl_doxygen@ | ||
308 | efl_have_doxygen = @efl_have_doxygen@ | ||
309 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
310 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
311 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
312 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
313 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
314 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
315 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
316 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
317 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
318 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
319 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
320 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
321 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
322 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
323 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
324 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
325 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
326 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
327 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
328 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
329 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
330 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
331 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
332 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
333 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
334 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
335 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
336 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
337 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
338 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
339 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
340 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
341 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_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_engine_wayland_egl_cflags = @evas_engine_wayland_egl_cflags@ | ||
347 | evas_engine_wayland_egl_libs = @evas_engine_wayland_egl_libs@ | ||
348 | evas_engine_wayland_shm_cflags = @evas_engine_wayland_shm_cflags@ | ||
349 | evas_engine_wayland_shm_libs = @evas_engine_wayland_shm_libs@ | ||
350 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
351 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
352 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
353 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
354 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
355 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
356 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
357 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
358 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
359 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
360 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
361 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
362 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
363 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
364 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
365 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
366 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
367 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
368 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
369 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
370 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
371 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
372 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
373 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
374 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
375 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
376 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
377 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
378 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
379 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
380 | exec_prefix = @exec_prefix@ | ||
381 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
382 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
383 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
384 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
385 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
386 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
387 | have_lcov = @have_lcov@ | ||
388 | host = @host@ | ||
389 | host_alias = @host_alias@ | ||
390 | host_cpu = @host_cpu@ | ||
391 | host_os = @host_os@ | ||
392 | host_vendor = @host_vendor@ | ||
393 | htmldir = @htmldir@ | ||
394 | includedir = @includedir@ | ||
395 | infodir = @infodir@ | ||
396 | install_sh = @install_sh@ | ||
397 | libdir = @libdir@ | ||
398 | libexecdir = @libexecdir@ | ||
399 | localedir = @localedir@ | ||
400 | localstatedir = @localstatedir@ | ||
401 | lt_ECHO = @lt_ECHO@ | ||
402 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
403 | mandir = @mandir@ | ||
404 | mkdir_p = @mkdir_p@ | ||
405 | oldincludedir = @oldincludedir@ | ||
406 | pdfdir = @pdfdir@ | ||
407 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
408 | prefix = @prefix@ | ||
409 | program_transform_name = @program_transform_name@ | ||
410 | psdir = @psdir@ | ||
411 | pthread_cflags = @pthread_cflags@ | ||
412 | pthread_libs = @pthread_libs@ | ||
413 | release_info = @release_info@ | ||
414 | requirement_evas = @requirement_evas@ | ||
415 | sbindir = @sbindir@ | ||
416 | sharedstatedir = @sharedstatedir@ | ||
417 | srcdir = @srcdir@ | ||
418 | sysconfdir = @sysconfdir@ | ||
419 | target_alias = @target_alias@ | ||
420 | top_build_prefix = @top_build_prefix@ | ||
421 | top_builddir = @top_builddir@ | ||
422 | top_srcdir = @top_srcdir@ | ||
423 | version_info = @version_info@ | ||
424 | MAINTAINERCLEANFILES = Makefile.in | ||
425 | AM_CPPFLAGS = \ | ||
426 | -I. \ | ||
427 | -I$(top_srcdir)/src/lib \ | ||
428 | -I$(top_srcdir)/src/lib/include \ | ||
429 | -I$(top_srcdir)/src/modules/engines \ | ||
430 | -I$(top_srcdir)/src/modules/engines/software_16 \ | ||
431 | @FREETYPE_CFLAGS@ \ | ||
432 | @EINA_CFLAGS@ \ | ||
433 | @PIXMAN_CFLAGS@ \ | ||
434 | @evas_engine_software_16_x11_cflags@ | ||
435 | |||
436 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@SOFTWARE_16_X11_SOURCES = \ | ||
437 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@evas_engine.c \ | ||
438 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@evas_x_buffer.c | ||
439 | |||
440 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@SOFTWARE_16_X11_LIBADD = @evas_engine_software_16_x11_libs@ | ||
441 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@includes_HEADERS = Evas_Engine_Software_16_X11.h | ||
442 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@includesdir = $(includedir)/evas-@VMAJ@ | ||
443 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_x11/$(MODULE_ARCH) | ||
444 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@pkg_LTLIBRARIES = module.la | ||
445 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_SOURCES = $(SOFTWARE_16_X11_SOURCES) | ||
446 | @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 | ||
447 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version | ||
448 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static | ||
449 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_x11.la | ||
450 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@libevas_engine_software_16_x11_la_SOURCES = $(SOFTWARE_16_X11_SOURCES) | ||
451 | @BUILD_ENGINE_SOFTWARE_16_X11_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE@libevas_engine_software_16_x11_la_LIBADD = $(SOFTWARE_16_X11_LIBADD) | ||
452 | EXTRA_DIST = evas_engine.h | ||
453 | all: all-am | ||
454 | |||
455 | .SUFFIXES: | ||
456 | .SUFFIXES: .c .lo .o .obj | ||
457 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
458 | @for dep in $?; do \ | ||
459 | case '$(am__configure_deps)' in \ | ||
460 | *$$dep*) \ | ||
461 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
462 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
463 | exit 1;; \ | ||
464 | esac; \ | ||
465 | done; \ | ||
466 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/engines/software_16_x11/Makefile'; \ | ||
467 | $(am__cd) $(top_srcdir) && \ | ||
468 | $(AUTOMAKE) --gnu src/modules/engines/software_16_x11/Makefile | ||
469 | .PRECIOUS: Makefile | ||
470 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
471 | @case '$?' in \ | ||
472 | *config.status*) \ | ||
473 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
474 | *) \ | ||
475 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
476 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
477 | esac; | ||
478 | |||
479 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
480 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
481 | |||
482 | $(top_srcdir)/configure: $(am__configure_deps) | ||
483 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
484 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
485 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
486 | $(am__aclocal_m4_deps): | ||
487 | |||
488 | clean-noinstLTLIBRARIES: | ||
489 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
490 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
491 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
492 | test "$$dir" != "$$p" || dir=.; \ | ||
493 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
494 | rm -f "$${dir}/so_locations"; \ | ||
495 | done | ||
496 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
497 | @$(NORMAL_INSTALL) | ||
498 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
499 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
500 | list2=; for p in $$list; do \ | ||
501 | if test -f $$p; then \ | ||
502 | list2="$$list2 $$p"; \ | ||
503 | else :; fi; \ | ||
504 | done; \ | ||
505 | test -z "$$list2" || { \ | ||
506 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
507 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
508 | } | ||
509 | |||
510 | uninstall-pkgLTLIBRARIES: | ||
511 | @$(NORMAL_UNINSTALL) | ||
512 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
513 | for p in $$list; do \ | ||
514 | $(am__strip_dir) \ | ||
515 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
516 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
517 | done | ||
518 | |||
519 | clean-pkgLTLIBRARIES: | ||
520 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
521 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
522 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
523 | test "$$dir" != "$$p" || dir=.; \ | ||
524 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
525 | rm -f "$${dir}/so_locations"; \ | ||
526 | done | ||
527 | libevas_engine_software_16_x11.la: $(libevas_engine_software_16_x11_la_OBJECTS) $(libevas_engine_software_16_x11_la_DEPENDENCIES) | ||
528 | $(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) | ||
529 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
530 | $(AM_V_CCLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
531 | |||
532 | mostlyclean-compile: | ||
533 | -rm -f *.$(OBJEXT) | ||
534 | |||
535 | distclean-compile: | ||
536 | -rm -f *.tab.c | ||
537 | |||
538 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_engine.Plo@am__quote@ | ||
539 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_x_buffer.Plo@am__quote@ | ||
540 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_engine.Plo@am__quote@ | ||
541 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_x_buffer.Plo@am__quote@ | ||
542 | |||
543 | .c.o: | ||
544 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
545 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
546 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
547 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
548 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
549 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
550 | |||
551 | .c.obj: | ||
552 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
553 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
554 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
555 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
556 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
557 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
558 | |||
559 | .c.lo: | ||
560 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
561 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
562 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
563 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
564 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
565 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
566 | |||
567 | module_la-evas_engine.lo: evas_engine.c | ||
568 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_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 | ||
569 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo | ||
570 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
571 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ | ||
572 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
573 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c | ||
574 | |||
575 | module_la-evas_x_buffer.lo: evas_x_buffer.c | ||
576 | @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 | ||
577 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_x_buffer.Tpo $(DEPDIR)/module_la-evas_x_buffer.Plo | ||
578 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
579 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_x_buffer.c' object='module_la-evas_x_buffer.lo' libtool=yes @AMDEPBACKSLASH@ | ||
580 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
581 | @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 | ||
582 | |||
583 | mostlyclean-libtool: | ||
584 | -rm -f *.lo | ||
585 | |||
586 | clean-libtool: | ||
587 | -rm -rf .libs _libs | ||
588 | install-includesHEADERS: $(includes_HEADERS) | ||
589 | @$(NORMAL_INSTALL) | ||
590 | test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)" | ||
591 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
592 | for p in $$list; do \ | ||
593 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
594 | echo "$$d$$p"; \ | ||
595 | done | $(am__base_list) | \ | ||
596 | while read files; do \ | ||
597 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includesdir)'"; \ | ||
598 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includesdir)" || exit $$?; \ | ||
599 | done | ||
600 | |||
601 | uninstall-includesHEADERS: | ||
602 | @$(NORMAL_UNINSTALL) | ||
603 | @list='$(includes_HEADERS)'; test -n "$(includesdir)" || list=; \ | ||
604 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
605 | test -n "$$files" || exit 0; \ | ||
606 | echo " ( cd '$(DESTDIR)$(includesdir)' && rm -f" $$files ")"; \ | ||
607 | cd "$(DESTDIR)$(includesdir)" && rm -f $$files | ||
608 | |||
609 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
610 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
611 | unique=`for i in $$list; do \ | ||
612 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
613 | done | \ | ||
614 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
615 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
616 | mkid -fID $$unique | ||
617 | tags: TAGS | ||
618 | |||
619 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
620 | $(TAGS_FILES) $(LISP) | ||
621 | set x; \ | ||
622 | here=`pwd`; \ | ||
623 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
624 | unique=`for i in $$list; do \ | ||
625 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
626 | done | \ | ||
627 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
628 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
629 | shift; \ | ||
630 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
631 | test -n "$$unique" || unique=$$empty_fix; \ | ||
632 | if test $$# -gt 0; then \ | ||
633 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
634 | "$$@" $$unique; \ | ||
635 | else \ | ||
636 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
637 | $$unique; \ | ||
638 | fi; \ | ||
639 | fi | ||
640 | ctags: CTAGS | ||
641 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
642 | $(TAGS_FILES) $(LISP) | ||
643 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
644 | unique=`for i in $$list; do \ | ||
645 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
646 | done | \ | ||
647 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
648 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
649 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
650 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
651 | $$unique | ||
652 | |||
653 | GTAGS: | ||
654 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
655 | && $(am__cd) $(top_srcdir) \ | ||
656 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
657 | |||
658 | distclean-tags: | ||
659 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
660 | |||
661 | distdir: $(DISTFILES) | ||
662 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
663 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
664 | list='$(DISTFILES)'; \ | ||
665 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
666 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
667 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
668 | case $$dist_files in \ | ||
669 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
670 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
671 | sort -u` ;; \ | ||
672 | esac; \ | ||
673 | for file in $$dist_files; do \ | ||
674 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
675 | if test -d $$d/$$file; then \ | ||
676 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
677 | if test -d "$(distdir)/$$file"; then \ | ||
678 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
679 | fi; \ | ||
680 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
681 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
682 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
683 | fi; \ | ||
684 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
685 | else \ | ||
686 | test -f "$(distdir)/$$file" \ | ||
687 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
688 | || exit 1; \ | ||
689 | fi; \ | ||
690 | done | ||
691 | check-am: all-am | ||
692 | check: check-am | ||
693 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) | ||
694 | installdirs: | ||
695 | for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(includesdir)"; do \ | ||
696 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
697 | done | ||
698 | install: install-am | ||
699 | install-exec: install-exec-am | ||
700 | install-data: install-data-am | ||
701 | uninstall: uninstall-am | ||
702 | |||
703 | install-am: all-am | ||
704 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
705 | |||
706 | installcheck: installcheck-am | ||
707 | install-strip: | ||
708 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
709 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
710 | `test -z '$(STRIP)' || \ | ||
711 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
712 | mostlyclean-generic: | ||
713 | |||
714 | clean-generic: | ||
715 | |||
716 | distclean-generic: | ||
717 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
718 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
719 | |||
720 | maintainer-clean-generic: | ||
721 | @echo "This command is intended for maintainers to use" | ||
722 | @echo "it deletes files that may require special tools to rebuild." | ||
723 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
724 | clean: clean-am | ||
725 | |||
726 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
727 | clean-pkgLTLIBRARIES mostlyclean-am | ||
728 | |||
729 | distclean: distclean-am | ||
730 | -rm -rf ./$(DEPDIR) | ||
731 | -rm -f Makefile | ||
732 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
733 | distclean-tags | ||
734 | |||
735 | dvi: dvi-am | ||
736 | |||
737 | dvi-am: | ||
738 | |||
739 | html: html-am | ||
740 | |||
741 | html-am: | ||
742 | |||
743 | info: info-am | ||
744 | |||
745 | info-am: | ||
746 | |||
747 | install-data-am: install-includesHEADERS install-pkgLTLIBRARIES | ||
748 | |||
749 | install-dvi: install-dvi-am | ||
750 | |||
751 | install-dvi-am: | ||
752 | |||
753 | install-exec-am: | ||
754 | |||
755 | install-html: install-html-am | ||
756 | |||
757 | install-html-am: | ||
758 | |||
759 | install-info: install-info-am | ||
760 | |||
761 | install-info-am: | ||
762 | |||
763 | install-man: | ||
764 | |||
765 | install-pdf: install-pdf-am | ||
766 | |||
767 | install-pdf-am: | ||
768 | |||
769 | install-ps: install-ps-am | ||
770 | |||
771 | install-ps-am: | ||
772 | |||
773 | installcheck-am: | ||
774 | |||
775 | maintainer-clean: maintainer-clean-am | ||
776 | -rm -rf ./$(DEPDIR) | ||
777 | -rm -f Makefile | ||
778 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
779 | |||
780 | mostlyclean: mostlyclean-am | ||
781 | |||
782 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
783 | mostlyclean-libtool | ||
784 | |||
785 | pdf: pdf-am | ||
786 | |||
787 | pdf-am: | ||
788 | |||
789 | ps: ps-am | ||
790 | |||
791 | ps-am: | ||
792 | |||
793 | uninstall-am: uninstall-includesHEADERS uninstall-pkgLTLIBRARIES | ||
794 | |||
795 | .MAKE: install-am install-strip | ||
796 | |||
797 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
798 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
799 | ctags distclean distclean-compile distclean-generic \ | ||
800 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
801 | html-am info info-am install install-am install-data \ | ||
802 | install-data-am install-dvi install-dvi-am install-exec \ | ||
803 | install-exec-am install-html install-html-am \ | ||
804 | install-includesHEADERS install-info install-info-am \ | ||
805 | install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \ | ||
806 | install-ps install-ps-am install-strip installcheck \ | ||
807 | installcheck-am installdirs maintainer-clean \ | ||
808 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
809 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
810 | tags uninstall uninstall-am uninstall-includesHEADERS \ | ||
811 | uninstall-pkgLTLIBRARIES | ||
812 | |||
813 | |||
814 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
815 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
816 | .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 deleted file mode 100644 index 5378972..0000000 --- a/libraries/evas/src/modules/engines/software_16_x11/evas_engine.c +++ /dev/null | |||
@@ -1,741 +0,0 @@ | |||
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 deleted file mode 100644 index 066ef50..0000000 --- a/libraries/evas/src/modules/engines/software_16_x11/evas_engine.h +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
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 deleted file mode 100644 index 32784b0..0000000 --- a/libraries/evas/src/modules/engines/software_16_x11/evas_x_buffer.c +++ /dev/null | |||
@@ -1,186 +0,0 @@ | |||
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 | } | ||