From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60457 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEmAU-0005tC-B3 for qemu-devel@nongnu.org; Wed, 19 May 2010 12:30:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEmAS-0001AS-QX for qemu-devel@nongnu.org; Wed, 19 May 2010 12:30:50 -0400 Received: from mail2.shareable.org ([80.68.89.115]:41405) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEmAS-0001AD-Lq for qemu-devel@nongnu.org; Wed, 19 May 2010 12:30:48 -0400 Date: Wed, 19 May 2010 17:30:39 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] Add QEMU DirectFB display driver Message-ID: <20100519163039.GD1693@shareable.org> References: <1273766038-16808-1-git-send-email-julian.pidancet@citrix.com> <4BF30E15.6040505@redhat.com> <4BF3E9C9.1080100@redhat.com> <4BF40C6B.1060306@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF40C6B.1060306@citrix.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Julian Pidancet , g@shareable.org Cc: "qemu-devel@nongnu.org" , Gerd Hoffmann , Stefano Stabellini Julian Pidancet wrote: > So after all, why not implementing our own VT switching and using > directly the fbdev interface. It's a good idea. VT switching isn't hard to track reliably. Being able to tell qemu, through the monitor, to attach/detach from a particular VT might be a nice easy bonus too. > I just checked the linux fbdev code to > find out if it provides with a blitting method that could perform > the pixel color conversion automatically for Qemu. > > Unfortunately, from what I have read from the > drivers/video/cfbimgblt.c file in the linux tree, there's no such > thing, and it also means that we cannot take advantage of any kind > of hardware pixel format conversion. I'm not sure if DirectFB provides that particular operation, but I have the impression it's the sort of thing DirectFB is intended for: A framebuffer, plus a variety of 2d acceleration methods (and other things like multi-buffering, video and alpha channel overlay). -- Jamie