suprot testign xr engine

SVN revision: 17134
This commit is contained in:
Carsten Haitzler 2005-10-03 13:53:18 +00:00
parent 60efd688cc
commit ddae80eeaa
1 changed files with 9 additions and 0 deletions

View File

@ -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";