summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-10-03 13:53:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-10-03 13:53:18 +0000
commitddae80eeaaa05bf0baeb24380a1ea9a411db32b5 (patch)
tree0a5b3ed2fc9f611cdff6f137525904c7dd791874 /legacy/emotion/src/bin
parent60efd688cc674a23b4f764eaaf640c77949a07a6 (diff)
suprot testign xr engine
SVN revision: 17134
Diffstat (limited to 'legacy/emotion/src/bin')
-rw-r--r--legacy/emotion/src/bin/emotion_test_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c
index 2a137eac06..2ddd35c4d7 100644
--- a/legacy/emotion/src/bin/emotion_test_main.c
+++ b/legacy/emotion/src/bin/emotion_test_main.c
@@ -87,6 +87,10 @@ main_start(int argc, char **argv)
87 { 87 {
88 mode = 2; 88 mode = 2;
89 } 89 }
90 else if (!strcmp(argv[i], "-xr"))
91 {
92 mode = 3;
93 }
90 } 94 }
91 } 95 }
92#if HAVE_ECORE_EVAS_X 96#if HAVE_ECORE_EVAS_X
@@ -101,6 +105,8 @@ main_start(int argc, char **argv)
101 if (mode == 2) 105 if (mode == 2)
102 ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth); 106 ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth);
103#endif 107#endif
108 if (mode == 3)
109 ecore_evas = ecore_evas_xrender_x11_new(NULL, 0, 0, 0, startw, starth);
104 110
105#else 111#else
106 startw = 240; 112 startw = 240;
@@ -836,6 +842,9 @@ main(int argc, char **argv)
836 else if (!strcmp(argv[i], "-fb")) 842 else if (!strcmp(argv[i], "-fb"))
837 { 843 {
838 } 844 }
845 else if (!strcmp(argv[i], "-xr"))
846 {
847 }
839 else if (!strcmp(argv[i], "-xine")) 848 else if (!strcmp(argv[i], "-xine"))
840 { 849 {
841 module_filename = "emotion_decoder_xine.so"; 850 module_filename = "emotion_decoder_xine.so";