forked from enlightenment/efl
allow for xr engine for testing/display of edjes
SVN revision: 17338
This commit is contained in:
parent
dc389abd64
commit
ce7d10f13b
|
@ -1,5 +1,6 @@
|
||||||
edje (0.5.0-0cvs20040918) unstable; urgency=low
|
edje (0.5.0.017-1) unstable; urgency=low
|
||||||
|
|
||||||
* a CVS release
|
* a CVS snapshot release.
|
||||||
|
|
||||||
|
-- Blake Barnett (shadoi) <shadoi@soulmachine.net> Fri, 23 Sep 2005 12:55:44 -0700
|
||||||
|
|
||||||
-- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Sat, 18 Sep 2004 14:20:13 +0200
|
|
||||||
|
|
|
@ -104,6 +104,10 @@ main_start(int argc, char **argv)
|
||||||
{
|
{
|
||||||
mode = 2;
|
mode = 2;
|
||||||
}
|
}
|
||||||
|
else if (!strcmp(argv[i], "-xr"))
|
||||||
|
{
|
||||||
|
mode = 3;
|
||||||
|
}
|
||||||
else if (!strcmp(argv[i], "-fill"))
|
else if (!strcmp(argv[i], "-fill"))
|
||||||
{
|
{
|
||||||
mdfill = 1;
|
mdfill = 1;
|
||||||
|
@ -116,6 +120,8 @@ main_start(int argc, char **argv)
|
||||||
ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth);
|
ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth);
|
||||||
if ((!ecore_evas) || (mode == 2))
|
if ((!ecore_evas) || (mode == 2))
|
||||||
ecore_evas = ecore_evas_fb_new(NULL, 270, startw, starth);
|
ecore_evas = ecore_evas_fb_new(NULL, 270, startw, starth);
|
||||||
|
if ((!ecore_evas) || (mode == 3))
|
||||||
|
ecore_evas = ecore_evas_xrender_x11_new(NULL, 0, 0, 0, startw, starth);
|
||||||
|
|
||||||
if (!ecore_evas) return -1;
|
if (!ecore_evas) return -1;
|
||||||
ecore_evas_callback_delete_request_set(ecore_evas, main_delete_request);
|
ecore_evas_callback_delete_request_set(ecore_evas, main_delete_request);
|
||||||
|
|
Loading…
Reference in New Issue