From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [PATCH] qemu sdl blitting Date: Fri, 29 Feb 2008 14:23:21 +0000 Message-ID: <47C81559.3060903@eu.citrix.com> References: <47C814B7.2010803@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47C814B7.2010803@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Stefano Stabellini wrote: > Hi all, > right now qemu takes care of converting pixels between the guest pixel > format and the sdl pixel format, after that qemu also memcpy the > converted pixels to the sdl buffer in video ram. > This process can be improved using the SDL blit capabilities: the patch > I am attaching creates an SDL Surface from the Cirrus VGA framebuffer > and uses SDL blitting functions to convert and write pixels to video > ram. SDL blitting functions are optimized and can even be hardware > accelerated on some platforms. > Signed-off-by: Stefano Stabellini