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)
commita76218fc311f5ec87b44abb3d0bc6a757a6ab427
tree3292eb1028c386f1a7e2e996d0f2a6e6bfee48cb
parent4afdb79e18dd798d0e705c2008f8b51bdf09af8e
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61784 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_main.c