summaryrefslogtreecommitdiff
path: root/src/lib/evas/file/evas_module.c
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-07-11 12:13:37 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-11 15:32:51 +0200
commit709ad7adb589b2fd69d99d225967d96927058580 (patch)
tree5a3ce92056d15cd1d3b40e1a659be0af13223930 /src/lib/evas/file/evas_module.c
parent8062d5d7e9bedaa178072ad795e30b9c217a2371 (diff)
evas: load engine symbol into global namespace.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/file/evas_module.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index 5d1a8acdee..4bc5d86dce 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -112,6 +112,7 @@ evas_module_paths_init(void)
112#if !EVAS_MODULE_NO_ENGINES 112#if !EVAS_MODULE_NO_ENGINES
113EVAS_EINA_STATIC_MODULE_DEFINE(engine, buffer); 113EVAS_EINA_STATIC_MODULE_DEFINE(engine, buffer);
114EVAS_EINA_STATIC_MODULE_DEFINE(engine, fb); 114EVAS_EINA_STATIC_MODULE_DEFINE(engine, fb);
115EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_generic);
115EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_x11); 116EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_x11);
116EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_sdl); 117EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_sdl);
117EVAS_EINA_STATIC_MODULE_DEFINE(engine, psl1ght); 118EVAS_EINA_STATIC_MODULE_DEFINE(engine, psl1ght);
@@ -164,6 +165,9 @@ static const struct {
164#ifdef EVAS_STATIC_BUILD_FB 165#ifdef EVAS_STATIC_BUILD_FB
165 EVAS_EINA_STATIC_MODULE_USE(engine, fb), 166 EVAS_EINA_STATIC_MODULE_USE(engine, fb),
166#endif 167#endif
168#ifdef EVAS_STATIC_BUILD_GL_COMMON
169 EVAS_EINA_STATIC_MODULE_USE(engine, gl_generic),
170#endif
167#ifdef EVAS_STATIC_BUILD_GL_X11 171#ifdef EVAS_STATIC_BUILD_GL_X11
168 EVAS_EINA_STATIC_MODULE_USE(engine, gl_x11), 172 EVAS_EINA_STATIC_MODULE_USE(engine, gl_x11),
169#endif 173#endif
@@ -463,6 +467,8 @@ evas_module_find_type(Evas_Module_Type type, const char *name)
463 en = eina_module_new(buffer); 467 en = eina_module_new(buffer);
464 if (!en) continue; 468 if (!en) continue;
465 469
470 if (type == EVAS_MODULE_TYPE_ENGINE) eina_module_global_set(en, EINA_TRUE);
471
466 if (!eina_module_load(en)) 472 if (!eina_module_load(en))
467 { 473 {
468 eina_module_free(en); 474 eina_module_free(en);