From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeDOz-0002Sm-0L for qemu-devel@nongnu.org; Thu, 11 May 2006 11:48:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeDOx-0002SA-BY for qemu-devel@nongnu.org; Thu, 11 May 2006 11:48:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeDOx-0002S5-3C for qemu-devel@nongnu.org; Thu, 11 May 2006 11:48:31 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeDQU-0005h2-Eo for qemu-devel@nongnu.org; Thu, 11 May 2006 11:50:06 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.253.219]) by po1.wam.umd.edu (8.12.11.20060308/8.12.10) with ESMTP id k4BFmPG6024815 for ; Thu, 11 May 2006 11:48:25 -0400 (EDT) Date: Thu, 11 May 2006 11:48:24 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] PATCH: fix bgr color mapping on qemu on Solaris/SPARC Message-ID: <20060511154824.GA18865@jbrown.mylinuxbox.org> References: <9893291.1147284983406.JavaMail.root@eastrmwml06.mgt.cox.net> <200605110133.48808.paul@codesourcery.com> <44633670.2040203@medsci.uu.se> <200605111657.23320.marten@xtal.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605111657.23320.marten@xtal.rwth-aachen.de> 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 On Thu, May 11, 2006 at 04:57:23PM +0200, Jan Marten Simons wrote: > Am Donnerstag, 11. Mai 2006 15:04 schrieb Dan Sandberg: > > Are you using an OpenGL directdraw surface for the graphics emulation in > > Qemu? > > Qemu is using SDL, as this is a very portable library/framework. I'm not sure, > if SDL uses DirectX on Win32, but I'd rather think it does not. Of course one > might want to check this and maybe have a look at the SDL mail lists, if > DirectX was discussed there. He is askinng about OpenGL, not DirectX. Dunno if it is the default, but iirc SDL supports OpenGL on Windows. > > > 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. SDL has support for OpenGL builtin, so qemu should be able to use that with only a few modifications. > > There already are a few projects for external qemu GUIs, but for an internal > GUI it would have to be done in SDL, too, as to not introduce further > dependencies. No one has tried to make an SDL Gui for qemu. SDL guis tend to be ugly in general. There is a well supported GUI for OS X called Q, and there are 2 versions of qemu that use a GTK GUI internally. > Please keep in mind that qemu is ported to many platforms and > therefor the code would have to be very portable anyways. Supporting something that runs (or can run) on top of X would catch most of the platforms that qemu runs on, the only ones I can think of that would need their own stuff would be Windows and OS X (well OS X has an X server but users prefer a native GUI there). > If you're keen on doing a GUI in Lazarus, feel free to do so, but have a look > at the ml archive and some existing GUIs first. > > With regards, > Jan Simons > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.