From: raster Date: Mon, 3 Oct 2005 13:53:18 +0000 (+0000) Subject: suprot testign xr engine X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~536 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3bb7e81a055fa56a16121676f7830be498b0cd4;p=profile%2Fivi%2Femotion.git suprot testign xr engine git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@17134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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";