Hi, 2008/2/5, Fabrice Bellard <[EMAIL PROTECTED]>:
> 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é.