Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JrOaH-0005QB-TQ for qemu-devel@nongnu.org; Wed, 30 Apr 2008 22:31:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JrOaC-0005PP-3X for qemu-devel@nongnu.org; Wed, 30 Apr 2008 22:31:45 -0400 Received: from [199.232.76.173] (port=47517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrOaB-0005PL-S7 for qemu-devel@nongnu.org; Wed, 30 Apr 2008 22:31:39 -0400 Received: from babel.homelinux.net ([61.29.36.94] helo=gate.internal) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JrOaA-0007ME-UM for qemu-devel@nongnu.org; Wed, 30 Apr 2008 22:31:40 -0400 Received: from babel.homelinux.net ([192.168.0.42]) by gate.internal (8.12.8/linuxconf) with ESMTP id m3UMbS5B030242 for ; Thu, 1 May 2008 08:37:29 +1000 Message-ID: <48192A38.6040103@babel.homelinux.net> Date: Thu, 01 May 2008 12:26:00 +1000 From: Nik MIME-Version: 1.0 Subject: Re: [Qemu-devel] OpenGL in qemu References: <200804301644.m3UGiL5B004324@gate.internal> In-Reply-To: <200804301644.m3UGiL5B004324@gate.internal> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Gervase wrote: > >/ Date: Wed, 30 Apr 2008 11:07:36 +1000/ > >/ From: Nik / > >/ Subject: Re: [Qemu-devel] OpenGL in qemu/ > > Fabrice made the following suggestion, which I am only just(!) beginning > to understand: > > > > Essentially, I think he would like to see something like the following: > > (Guest driver) -> (pseudo PCI adapter emulated by QEMU)-> (Host gfx lib) > > This would allow any host to benefit without having to write host > specific code to handle this. I think that was the point Fabrice was > making. > I had already seen references to this post, and had some questions on that as well. Your diagram makes the structure clearer, thank you. Although I suspect that the diagram is actually mroe like the following: (Guest driver) -> (opengl library) -> (pseudo PCI adaptor) -> (Host opengl lib) In this arrangement, the job of the (pseudo PCI adaptor) is to pass through the opengl calls and results as quickly and efficiently as possible, with the possibility of managing some of the memory structures (such as opengl contexts). So the questions I would like to ask of Fabrice is: Q1: Would it be preferable to modify the existing Bochs VGA adaptor, or would it be better to write a new pci device using the Bochs VGA driver as a basis? Q2: Would there be any benefit in giving the (pseudo PCI adaptor) a Gallium interface? Either as well as, or instead of, the proposed DMA interface? Cheers! Nik