ecore: Reduce rendering latency in g_main_loop
authormike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jul 2011 03:13:47 +0000 (03:13 +0000)
committermike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jul 2011 03:13:47 +0000 (03:13 +0000)
commit2c40bda91365b671dd3ec2905ed87c35198083ed
tree3292eb1028c386f1a7e2e996d0f2a6e6bfee48cb
parent38728d9623968e72bbc6d820a206aab6131317e8
ecore: Reduce rendering latency in g_main_loop

After a lot of hair pulling, and other debugging, it appears
that to make animation smooth on an embedded device, the
following things should happen in (quick) sequence:

1. update the loop time
2. call timers (which animates and updates the scene graph)
3. call idle enterers (which renders to the display)
4. call fd buf handlers (which flushes xlib stuff)

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61784 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_main.c