From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DL6Nq-0003jP-6H for qemu-devel@nongnu.org; Mon, 11 Apr 2005 17:23:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DL6Nl-0003gt-4v for qemu-devel@nongnu.org; Mon, 11 Apr 2005 17:23:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DL6Nk-0003fo-O7 for qemu-devel@nongnu.org; Mon, 11 Apr 2005 17:23:44 -0400 Received: from [217.204.41.189] (helo=kula.newsnow.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DL6px-0003HR-C6 for qemu-devel@nongnu.org; Mon, 11 Apr 2005 17:52:53 -0400 Received: from r3j188.chello.upc.cz ([213.220.201.188] helo=[192.168.0.4]) by kula.newsnow.net with esmtp (Exim 3.35 #1 (Debian)) id 1DL6pp-0002g4-00 for ; Mon, 11 Apr 2005 22:52:45 +0100 Message-ID: <425AF1D4.30408@praguespringpeople.org> Date: Mon, 11 Apr 2005 23:53:24 +0200 From: Struan Bartlett MIME-Version: 1.0 Subject: Re: [Qemu-devel] qvm86, kqemu and video speed References: <425A84B0.60200@praguespringpeople.org> <425A914C.9010608@mastros.biz> In-Reply-To: <425A914C.9010608@mastros.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 James Mastros wrote: > Struan Bartlett wrote: > >> The results seem to me to suggest that emulated performance is >> weakest on video operations - which doesn't surprise me if it is >> necessary for every pixel change to be emulated - and while this >> won't be an issue for some Qemu users it will I expect be a major >> issue for others. > > > One thing that could be done as a fairly quick hack would be to call > SDL's bitblit function for bitblits that are simple copies. These are > rather common, and SDL already knows how to optimize them well -- > we're just missing a bit of glue. I got about halfway through doing > this in a few hours of hacking, but realized that the video struct was > completely undocumented, and I wasn't sure how to map from a pointer > into the LFB back into xy coords. I'm curious. Could you post your code somewhere I could look at it?