[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Slowdown SDL while minimized

From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH] Slowdown SDL while minimized
Date: Wed, 12 Mar 2008 00:49:31 +0000
User-agent: Mutt/1.5.12-2006-07-14

Anders, le Wed 12 Mar 2008 00:56:42 +0100, a écrit :
> Samuel Thibault wrote:
> >When SDL is invisible/minimized, there is no need to keep calling the
> >VGA refresh 33 times per second.  This patch reduces in that case the
> >rate to 2 times per second, which should be responsive enough for the
> >un-minimizing event.
> >  
> Is there any need to update at all, if the canvas is not visible?

Indeed not. We however still need to have a look at the SDL queue, to
detect the un-minimize event.

> How about some infrastructure for pausing the update completely? I
> think that could also be used for VNC displays, when no client is
> connected.

Actually in Xen it goes even further: when the client hasn't sent an
update request since a long time, the VNC server assumes the client is
minimized, and in pratice that is the case.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]