qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Slowdown SDL while minimized
Date: Wed, 12 Mar 2008 00:49:31 +0000	[thread overview]
Message-ID: <20080312004931.GA4404@implementation> (raw)
In-Reply-To: <47D71C3A.8060007@flac.kalibalik.dk>

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.

Samuel

      reply	other threads:[~2008-03-12  0:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11 11:12 [Qemu-devel] [PATCH] Slowdown SDL while minimized Samuel Thibault
2008-03-11 11:21 ` [Qemu-devel] " Samuel Thibault
2008-03-11 23:56 ` [Qemu-devel] " Anders
2008-03-12  0:49   ` Samuel Thibault [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080312004931.GA4404@implementation \
    --to=samuel.thibault@eu.citrix.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).