search for: gui_refresh_interv

Displaying 3 results from an estimated 3 matches for "gui_refresh_interv".

Did you mean: gui_refresh_interval
2008 Mar 04
0
[PATCH] ioemu: Slown down refresh interval when SDL is minimized
...48bf tools/ioemu/vl.c --- a/tools/ioemu/vl.c Tue Mar 04 12:32:31 2008 +0000 +++ b/tools/ioemu/vl.c Tue Mar 04 15:34:25 2008 +0000 @@ -6125,7 +6125,11 @@ void gui_update(void *opaque) void gui_update(void *opaque) { display_state.dpy_refresh(&display_state); - qemu_mod_timer(gui_timer, GUI_REFRESH_INTERVAL + qemu_get_clock(rt_clock)); + qemu_mod_timer(gui_timer, + (display_state.gui_timer_interval ? + display_state.gui_timer_interval : + GUI_REFRESH_INTERVAL) + + qemu_get_clock(rt_clock)); } struct vm_change_state_entry { diff -r c6cd384a48...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...playSurface *surface) +{ + if (surface == NULL) + return; + if (surface->flags & QEMU_ALLOCATED_FLAG) + qemu_free(surface->data); + qemu_free(surface); +} diff --git a/console.h b/console.h --- a/console.h +++ b/console.h @@ -67,80 +67,170 @@ /* in ms */ #define GUI_REFRESH_INTERVAL 30 +#define QEMU_BIG_ENDIAN_FLAG 0x01 +#define QEMU_ALLOCATED_FLAG 0x02 -struct DisplayState { - uint8_t *data; - int linesize; - int depth; - int bgr; /* BGR color order instead of RGB. Only valid for depth == 32 */ +struct PixelFormat { + uint8_t bits_per_pixel; + uin...
2008 Feb 29
35
[RFC] PVFB: Add refresh period to XenStore parameters?
Hello, Sometimes the backend of PVFB knows that it doesn''t need permanent refresh, when the window is minimized for instance (no refresh at all), or the administration tools know that the window is thumnailed, and so a slow refresh rate is fine. Also, some users may want to tune the refresh rate according to the smoothness they would like, balanced with the CPU time that requires.