[5583] Remove dumb_refresh
Revision: 5583
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5583 Author: aliguori Date: 2008-10-31 20:34:40 +0000 (Fri, 31 Oct 2008)
Log Message:
-----------
Remove dumb_refresh
It is safe not to set dpy_refresh and that's used to indicate that the display doesn't need updates. This saves us two wakeups per second.
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/vl.c
Modified: trunk/vl.c
===================================================================
vl.c +2 -9
@@ -2510,13 +2510,6 @@ { } -static void dumb_refresh (DisplayState *ds) -{ -#if defined(CONFIG_SDL ) -vga_hw_update (); -#endif -} -static void dumb_display_init (DisplayState *ds) { ds->data =NULL ;
@@ -2524,8 +2517,8 @@ ds->depth =0 ; ds->dpy_update = dumb_update; ds->dpy_resize = dumb_resize; - ds->dpy_refresh = dumb_refresh; - ds->gui_timer_interval =500 ; + ds->dpy_refresh =NULL ; + ds->gui_timer_interval =0 ; ds->idle =1 ; }