From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbRCB-0000rX-2F for qemu-devel@nongnu.org; Sun, 22 Feb 2009 22:09:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbRCA-0000qp-GF for qemu-devel@nongnu.org; Sun, 22 Feb 2009 22:09:26 -0500 Received: from [199.232.76.173] (port=53449 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbRCA-0000qi-7R for qemu-devel@nongnu.org; Sun, 22 Feb 2009 22:09:26 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:20717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbRC9-0004Hn-TM for qemu-devel@nongnu.org; Sun, 22 Feb 2009 22:09:26 -0500 Message-ID: <49A212A5.2010001@eu.citrix.com> Date: Mon, 23 Feb 2009 03:06:13 +0000 From: Stefano Stabellini MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Qemu 2D performance plunges below acceptable levels References: <7fac565a0902150510y1fb01c6awd1dcc3b6e7b8232d@mail.gmail.com> <499EDC54.3020508@eu.citrix.com> <200902201652.55386.paul@codesourcery.com> <499EE1FD.50704@eu.citrix.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Cc: Paul Brook malc wrote: > Let me reiterate - SDL_UpdateRect was REMOVED from sdl_update, SDL_Flip > was added to _sdl_refresh_. So, no, SDL_Flip is NOT faster than > SDL_UpdateRect. > This change also shouldn't have any effect since sdl_refresh is the one that calls sdl_update in the end. The code path is the following: sdl_refresh -> vga_hw_update -> vga_draw_graphic -> dpy_update -> sdl_update