From a3bb7e81a055fa56a16121676f7830be498b0cd4 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 3 Oct 2005 13:53:18 +0000 Subject: [PATCH] suprot testign xr engine git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@17134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/emotion_test_main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/emotion_test_main.c b/src/bin/emotion_test_main.c index 2a137ea..2ddd35c 100644 --- a/src/bin/emotion_test_main.c +++ b/src/bin/emotion_test_main.c @@ -87,6 +87,10 @@ main_start(int argc, char **argv) { mode = 2; } + else if (!strcmp(argv[i], "-xr")) + { + mode = 3; + } } } #if HAVE_ECORE_EVAS_X @@ -101,6 +105,8 @@ main_start(int argc, char **argv) if (mode == 2) ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth); #endif + if (mode == 3) + ecore_evas = ecore_evas_xrender_x11_new(NULL, 0, 0, 0, startw, starth); #else startw = 240; @@ -836,6 +842,9 @@ main(int argc, char **argv) else if (!strcmp(argv[i], "-fb")) { } + else if (!strcmp(argv[i], "-xr")) + { + } else if (!strcmp(argv[i], "-xine")) { module_filename = "emotion_decoder_xine.so"; -- 2.7.4