From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcLnf-00020M-Ta for qemu-devel@nongnu.org; Sun, 07 Sep 2008 11:03:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcLne-0001zv-1b for qemu-devel@nongnu.org; Sun, 07 Sep 2008 11:03:39 -0400 Received: from [199.232.76.173] (port=38412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcLnd-0001zs-LS for qemu-devel@nongnu.org; Sun, 07 Sep 2008 11:03:37 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:45999) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcLnc-00076n-KR for qemu-devel@nongnu.org; Sun, 07 Sep 2008 11:03:37 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window Date: Sun, 7 Sep 2008 16:03:30 +0100 References: <48B81423.9050502@eu.citrix.com> <200809071536.51498.paul@codesourcery.com> <20080907144221.GN4307@implementation> In-Reply-To: <20080907144221.GN4307@implementation> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809071603.31181.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Samuel Thibault On Sunday 07 September 2008, Samuel Thibault wrote: > Paul Brook, le Sun 07 Sep 2008 15:36:51 +0100, a =E9crit : > > > Ideally, once switched to fullscreen you could just let the guest > > > directly write to the actual video memory (particularly interesting f= or > > > Xen and KVM). > > > > You really don't want to have the guest writing directly to host video > > ram. Video ram tends to be high-latency, so you want to write to regular > > memory, then use a wide block transfer or DMA to copy to video ram. > > How often? =20 You probably want to sync the updates to the vertical refresh. Updating mor= e=20 often than that is pointless. > Which part(s) of the framebuffer?=20 Whichever parts have changed. Paul