From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaYyw-0000EU-NZ for qemu-devel@nongnu.org; Fri, 20 Feb 2009 12:16:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaYys-0000CI-0T for qemu-devel@nongnu.org; Fri, 20 Feb 2009 12:16:10 -0500 Received: from [199.232.76.173] (port=39360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaYyr-0000CE-U4 for qemu-devel@nongnu.org; Fri, 20 Feb 2009 12:16:05 -0500 Received: from mx20.gnu.org ([199.232.41.8]:35847) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaYyr-0003oF-Qk for qemu-devel@nongnu.org; Fri, 20 Feb 2009 12:16:05 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaYyq-0007HL-DF for qemu-devel@nongnu.org; Fri, 20 Feb 2009 12:16:05 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: Qemu 2D performance plunges below acceptable levels Date: Fri, 20 Feb 2009 17:16:01 +0000 References: <7fac565a0902150510y1fb01c6awd1dcc3b6e7b8232d@mail.gmail.com> <200902201652.55386.paul@codesourcery.com> <499EE1FD.50704@eu.citrix.com> In-Reply-To: <499EE1FD.50704@eu.citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902201716.02074.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: "qemu-devel@nongnu.org" > Also I don't how to explain the fact that SDL_Flip is faster than > SDL_UpdateRect on MacOSX according to malc: the same libsdl macosx faq I > linked before claims that SDL_DOUBLEBUF is not even supported on MacOsX. I guess it's possible that under a sufficiently lame implementation a partial update could be slower than an update of the whole screen. e.g. if your accelerated blit routines isn't capable of copying rectangular regions you have to do the partial update a line at a time, whereas a full update is a single blit operation. Seems a fairly unlikely corner case though, especially as we tend to update a whole number of lines. Paul