From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37545 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEl7i-0004if-Cz for qemu-devel@nongnu.org; Wed, 19 May 2010 11:23:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEl7g-0007fN-GR for qemu-devel@nongnu.org; Wed, 19 May 2010 11:23:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63319) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEl7g-0007f5-10 for qemu-devel@nongnu.org; Wed, 19 May 2010 11:23:52 -0400 Message-ID: <4BF4024B.8010603@redhat.com> Date: Wed, 19 May 2010 17:22:51 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add QEMU DirectFB display driver References: <1273766038-16808-1-git-send-email-julian.pidancet@citrix.com> <4BF30E15.6040505@redhat.com> <4BF3E9C9.1080100@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: Julian Pidancet , "qemu-devel@nongnu.org" Hi, >> Which makes me think we should just go the direct route. No SDL. No >> directfb. No other funky library which provides us with nothing but >> bugs. Programming fbdev isn't that hard after all. Especially if you >> skip all the (IMHO pointless) video mode switching bits. > > Agreed, actually I was thinking the same thing. > The only reason for using a library is to have the color/pixel conversion > functions, that could be useful. However we have many of them already > implemented in qemu so it shouldn't be difficult to roll our own. Everybody implements its own conversion functions though. It probably makes sense to consolidate that stuff into a small conversion library, probably best based on PixelFormat, and make everybody use that. cheers, Gerd