From: <enl...@li...> - 2005-10-15 10:38:24
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/bin Modified Files: Makefile.am ecore_evas_test_app.c Log Message: turran's dfb stuff! whee! :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/Makefile.am,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- Makefile.am 5 Sep 2005 08:40:50 -0000 1.17 +++ Makefile.am 15 Oct 2005 10:37:37 -0000 1.18 @@ -6,6 +6,12 @@ ECORE_EVAS_LIB = endif +if BUILD_ECORE_DIRECTFB +ECORE_DIRECTFB_LIB = $(top_builddir)/src/lib/ecore_directfb/libecore_directfb.la +else +ECORE_DIRECTFB_LIB = +endif + if BUILD_ECORE_X ECORE_X_LIB = $(top_builddir)/src/lib/ecore_x/libecore_x.la else @@ -51,6 +57,7 @@ INCLUDES = \ -I$(top_srcdir)/src/lib/ecore \ -I$(top_srcdir)/src/lib/ecore_evas \ +-I$(top_srcdir)/src/lib/ecore_directfb \ -I$(top_srcdir)/src/lib/ecore_x \ -I$(top_srcdir)/src/lib/ecore_fb \ -I$(top_srcdir)/src/lib/ecore_job \ @@ -60,6 +67,7 @@ -I$(top_srcdir)/src/lib/ecore_config \ -I$(top_builddir)/src/lib/ecore \ -I$(top_builddir)/src/lib/ecore_evas \ +-I$(top_builddir)/src/lib/ecore_directfb \ -I$(top_builddir)/src/lib/ecore_x \ -I$(top_builddir)/src/lib/ecore_fb \ -I$(top_builddir)/src/lib/ecore_job \ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/ecore_evas_test_app.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ecore_evas_test_app.c 3 Oct 2005 06:45:45 -0000 1.8 +++ ecore_evas_test_app.c 15 Oct 2005 10:37:37 -0000 1.9 @@ -84,6 +84,13 @@ evas = ecore_evas_get(ee); } #endif +#if HAVE_ECORE_EVAS_DIRECTFB + else if ((argc > 1) && (!strcmp(argv[1], "-dfb"))) + { + ee = ecore_evas_directfb_new(NULL, 0, 0, 0, 240, 320); + evas = ecore_evas_get(ee); + } +#endif else if ((argc > 1) && (!strcmp(argv[1], "-buf"))) { ee = ecore_evas_buffer_new(240, 320); @@ -116,11 +123,12 @@ { printf("%s -x Test ecore_evas in X (default)\n" "%s -gl Test ecore_evas in X GL\n" + "%s -dfb Test ecore_evas in DirectFB\n" "%s -fb Test ecore_evas in the Framebuffer\n" "%s -buf Test ecore_evas in the Buffer\n" "%s -buf2 Test ecore_evas in the Image Buffer\n" "%s -h Display this help\n", - argv[0], argv[0], argv[0], argv[0], argv[0], argv[0]); + argv[0], argv[0], argv[0], argv[0], argv[0], argv[0], argv[0]); ecore_evas_shutdown(); ecore_shutdown(); return 0; |