From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcLNs-0008QP-Oe for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:37:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcLNq-0008Or-8B for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:36:59 -0400 Received: from [199.232.76.173] (port=38646 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcLNp-0008Om-Vw for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:36:58 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:42348) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcLNo-0003JN-Vf for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:36:57 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window Date: Sun, 7 Sep 2008 15:36:51 +0100 References: <48B81423.9050502@eu.citrix.com> <20080906232723.GB813@shareable.org> <20080907142236.GD4307@implementation> In-Reply-To: <20080907142236.GD4307@implementation> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809071536.51498.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: > Jamie Lokier, le Sun 07 Sep 2008 00:27:23 +0100, a =E9crit : > > Samuel Thibault wrote: > > > Jamie Lokier, le Fri 05 Sep 2008 13:02:15 +0100, a =E9crit : > > > > Another way to map guest framebuffer to video memory is the XF86DGA > > > > extension, which is great when you can use it. > > > > > > It is being deprecated and probably never works nowadays anyway :) > > > > That's a shame as the alternatives are all slower on old video cards. > > Yes, and because alternatives don't provide so much performance. > Ideally, once switched to fullscreen you could just let the guest > directly write to the actual video memory (particularly interesting for > Xen and KVM). You really don't want to have the guest writing directly to host video ram.= =20 Video ram tends to be high-latency, so you want to write to regular memory,= =20 then use a wide block transfer or DMA to copy to video ram. If you really need zero-copy then you should have the renderer read the dat= a=20 directly out of the guest framebuffer. Paul