From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxbyh-0001fR-BQ for qemu-devel@nongnu.org; Thu, 19 Jun 2014 09:02:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxbyZ-0000CJ-Te for qemu-devel@nongnu.org; Thu, 19 Jun 2014 09:02:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxbyZ-0000CE-L2 for qemu-devel@nongnu.org; Thu, 19 Jun 2014 09:01:59 -0400 Message-ID: <53A2DF3E.50506@redhat.com> Date: Thu, 19 Jun 2014 15:01:50 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1402974463.7661.102.camel@pasglop> <1403001900.1614.10.camel@nilsson.home.kraxel.org> <1403004255.1614.12.camel@nilsson.home.kraxel.org> <1403181238.22530.11.camel@nilsson.home.kraxel.org> In-Reply-To: <1403181238.22530.11.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] qemu VGA endian swap low level drawing changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Peter Maydell Cc: Alexey Kardashevskiy , Alexander Graf , "qemu-devel@nongnu.org" Il 19/06/2014 14:33, Gerd Hoffmann ha scritto: > > I'm thinking about splitting the conversion (for truecolor modes, still > need to think about how to do paletted modes best) into two steps: > First byteswap to bring the data into a format pixman can handle, then > feed into pixman for further conversion. Which probably comes with a > performance penalty (but maybe not due to pixman performing better than > our self-made conversion code). It will only hit the more unusual guest > framebuffer formats which I can't feed into pixman directly. Acceptable > or not? It's probably not going to have a performance penalty if you vectorize the word-swap. (Which can be done later). Paolo