summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-05 12:24:01 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-05 12:24:01 +0000
commitdfe93a7f0ada3ced637309dc9f6d7a76270f85d6 (patch)
tree9e5e6b4e1994834125226d4f0aaaed8a33dcaa90 /src/lib/ecore_evas/ecore_evas.c
parentaa53580814e5315586cdd4a68ba9f2bf7bfa2d07 (diff)
directfb says bye...
After agreement in the mail list, core developers agree to remove this engine that was not being supported for a long time. Given that most operations Evas uses are not accelerated in DirectFB, or at least hardware that exclusively supports DirectFB, it's better for those people to just use Evas/Ecore software (buffer) rendering and expose DirectFB's framebuffer as destination surface. SVN revision: 80232
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 9a665fd581..49d90fb607 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -146,11 +146,7 @@ ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine)
146 return EINA_FALSE; 146 return EINA_FALSE;
147#endif 147#endif
148 case ECORE_EVAS_ENGINE_DIRECTFB: 148 case ECORE_EVAS_ENGINE_DIRECTFB:
149#ifdef BUILD_ECORE_EVAS_DIRECTFB
150 return EINA_TRUE;
151#else
152 return EINA_FALSE; 149 return EINA_FALSE;
153#endif
154 case ECORE_EVAS_ENGINE_SOFTWARE_FB: 150 case ECORE_EVAS_ENGINE_SOFTWARE_FB:
155#ifdef BUILD_ECORE_EVAS_FB 151#ifdef BUILD_ECORE_EVAS_FB
156 return EINA_TRUE; 152 return EINA_TRUE;
@@ -304,9 +300,6 @@ ecore_evas_shutdown(void)
304#ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER 300#ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER
305 while (_ecore_evas_buffer_shutdown()); 301 while (_ecore_evas_buffer_shutdown());
306#endif 302#endif
307#ifdef BUILD_ECORE_EVAS_DIRECTFB
308 while (_ecore_evas_directfb_shutdown());
309#endif
310 303
311 if (_ecore_evas_async_events_fd) 304 if (_ecore_evas_async_events_fd)
312 ecore_main_fd_handler_del(_ecore_evas_async_events_fd); 305 ecore_main_fd_handler_del(_ecore_evas_async_events_fd);
@@ -518,24 +511,6 @@ _ecore_evas_constructor_opengl_sdl(int x EINA_UNUSED, int y EINA_UNUSED, int w,
518} 511}
519#endif 512#endif
520 513
521#ifdef BUILD_ECORE_EVAS_DIRECTFB
522static Ecore_Evas *
523_ecore_evas_constructor_directfb(int x, int y, int w, int h, const char *extra_options)
524{
525 Ecore_Evas *ee;
526 char *disp_name = NULL;
527 unsigned int windowed = 1;
528
529 _ecore_evas_parse_extra_options_str(extra_options, "display=", &disp_name);
530 _ecore_evas_parse_extra_options_uint(extra_options, "windowed=", &windowed);
531
532 ee = ecore_evas_directfb_new(disp_name, windowed, x, y, w, h);
533 free(disp_name);
534
535 return ee;
536}
537#endif
538
539#ifdef BUILD_ECORE_EVAS_FB 514#ifdef BUILD_ECORE_EVAS_FB
540static Ecore_Evas * 515static Ecore_Evas *
541_ecore_evas_constructor_fb(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options) 516_ecore_evas_constructor_fb(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
@@ -667,9 +642,6 @@ static const struct ecore_evas_engine _engines[] = {
667#ifdef BUILD_ECORE_EVAS_SOFTWARE_8_X11 642#ifdef BUILD_ECORE_EVAS_SOFTWARE_8_X11
668 {"software_8_x11", _ecore_evas_constructor_software_8_x11}, 643 {"software_8_x11", _ecore_evas_constructor_software_8_x11},
669#endif 644#endif
670#ifdef BUILD_ECORE_EVAS_DIRECTFB
671 {"directfb", _ecore_evas_constructor_directfb},
672#endif
673#ifdef BUILD_ECORE_EVAS_FB 645#ifdef BUILD_ECORE_EVAS_FB
674 {"fb", _ecore_evas_constructor_fb}, 646 {"fb", _ecore_evas_constructor_fb},
675#endif 647#endif