From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeFJ1-0004fl-BG for qemu-devel@nongnu.org; Thu, 11 May 2006 13:50:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeFIy-0004fQ-MY for qemu-devel@nongnu.org; Thu, 11 May 2006 13:50:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeFIy-0004fN-HM for qemu-devel@nongnu.org; Thu, 11 May 2006 13:50:28 -0400 Received: from [32.97.110.152] (helo=e34.co.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FeFKX-0008Mv-1b for qemu-devel@nongnu.org; Thu, 11 May 2006 13:52:05 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e34.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k4BHoJwq022578 for ; Thu, 11 May 2006 13:50:19 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k4BHoJrX175998 for ; Thu, 11 May 2006 11:50:19 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k4BHoIBC012784 for ; Thu, 11 May 2006 11:50:19 -0600 Received: from [9.65.100.145] (sig-9-65-100-145.mts.ibm.com [9.65.100.145]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k4BHoGHY012557 for ; Thu, 11 May 2006 11:50:18 -0600 Message-ID: <44637955.9010107@us.ibm.com> Date: Thu, 11 May 2006 12:50:13 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] PATCH: fix bgr color mapping on qemu on Solaris/SPARC References: <9893291.1147284983406.JavaMail.root@eastrmwml06.mgt.cox.net> <44626397.5090607@bellard.org> <200605110133.48808.paul@codesourcery.com> <44633670.2040203@medsci.uu.se> In-Reply-To: <44633670.2040203@medsci.uu.se> 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 Dan Sandberg wrote: > Just curious... > > Are you using an OpenGL directdraw surface for the graphics emulation > in Qemu? > If not, then consider the benefits: > 1. It is much faster than any native graphics 2D/3D primitives like > Windows GDI > 2: It gives full control over things like window or fullscreen mode in > any (almost) resolution and color depth. > 3. It is operating system independent. > 4. It handles things like RGB, BGR, 24bit, 15bit, 16bit, 8bit, alpha > channel etc in hardware, all you have to do is select the pixelformat > you like to use for the buffer and OpenGL does the rest - lightning > fast, minimum CPU-load. My own feeling is that a smarter thing to do is to pass the VGA ops to another program to actually do the rendering. I think a GUI that used VNC to interact with QEmu would be a very good start. localhost VNC performance seems good enough to me that this should be a reasonable approach. Hardware scaling would, perhaps, be a useful feature of using OpenGL. Unfortunately, OpenGL is not available enough widely to make this practical in my mind. I'd rather devote the same effort to fast software scaling (via SIMD instructions). Regards, Anthony Liguori > My suggestion would be to write a frontend similar to VMware's for > Qemu in Lazarus. Why Lazarus? > 1. The fantastic GLscene is available for Lazarus making > OpenGL-programming easy. Try: http://www.skinhat.com/3dpack/ > 2. With Lazarus a RAD graphic frontend based on OpenGL can be made and > directly compileable for most operating systems without need for > modifications. > > Hope someone likes the idea, otherwise I will have to do it myself if > I can find some spare time. > > Dan > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel