From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMdKc-0003gT-Db for qemu-devel@nongnu.org; Wed, 06 Feb 2008 01:00:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMdKb-0003fd-5U for qemu-devel@nongnu.org; Wed, 06 Feb 2008 01:00:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMdKa-0003fT-RD for qemu-devel@nongnu.org; Wed, 06 Feb 2008 01:00:24 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMdKa-0006yu-Cb for qemu-devel@nongnu.org; Wed, 06 Feb 2008 01:00:24 -0500 Received: by nf-out-0910.google.com with SMTP id 30so659047nfu.12 for ; Tue, 05 Feb 2008 22:00:22 -0800 (PST) Message-ID: Date: Wed, 6 Feb 2008 07:00:21 +0100 From: "Gwenole Beauchesne" Subject: Re: [Qemu-devel] [PATCH] OpenGL for OS X In-Reply-To: <47A89295.6@bellard.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3CAC49A0-A2FF-4E70-9D79-1CE78C47A197@kberg.ch> <51BE315A-D8DD-4CAA-82FC-F0B358FB24B1@csgraf.de> <47A8899A.9050601@codemonkey.ws> <47A88FFF.3000107@codemonkey.ws> <47A89295.6@bellard.org> 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 Hi, 2008/2/5, Fabrice Bellard : > This is an SDL related issue (i.e. SDL may or may not use OpenGL to > display graphics). Fixing SDL for Mac OS X would also be interesting. I think SDL trunk (1.3) supports OpenGL rendering more specifically for various platforms. Besides, on my MacBook, fullscreen SDL with a HW surface can indeed perform much better (550 Mpixels/sec) than fullscreen GL (190 Mpixels/sec). With a SW surface, results are equivalent to GL though. In windowed (800x600) mode, SDL performs at 28 Mpixels/sec and GL at 150 Mpixels/sec. So, SDL 1.2 for OSX (CG?) in windowed mode is indeed sub-optimal. I have not tried with SDL trunk yet. You can get my tests as svn co http://svn.beauchesne.info/svn/gwenole/projects/blitter-tests/trunk blitter-tests Note: I am not sure if I am using GL/PBOs correctly though I followed the specs. I mean the tests run e.g. on Linux but not on Windows with the same level of drivers (nvidia 169.xx). In the latter case, the program crashes in glUnmapBuffer()... Regards, Gwenol=E9.