iDevGames Forums
Optimizing for OpenGL on OS X - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Optimizing for OpenGL on OS X (/thread-5738.html)



Optimizing for OpenGL on OS X - aaronsullivan - Mar 22, 2005 12:12 PM

http://developer.apple.com/graphicsimaging/opengl/optimizingdata.html

Nice article from Apple on the topic. Haven't had a chance to read it all, but I thought you all would like to gander at it.
Any comments from the more knowledgeable OpenGL people here?


Optimizing for OpenGL on OS X - kodex - Mar 22, 2005 01:01 PM

Nothing too break through, pretty common sense kind of stuff. But good tips nonetheless. Most the stuff dosnt apply for just macintosh though, so if you were wondering how to speed things up on other platforms its worth a look too.


Optimizing for OpenGL on OS X - arekkusu - Mar 22, 2005 01:06 PM

I think it is a very good overview. And it points out an additional display list tip which I hadn't seen documented before.

I would probably add that it is worth experimenting with the batch size when using VAR etc. You want it big, but really big isn't always better.

There are also some additional hardware-dependent parameters that can make a difference. For example using GL_QUADS on a Radeon 7500 is always going to be slow. Or using 4ub colors on Radeon 7500 through 9200 requires ATI_array_rev_comps_in_4_bytes for good performance...


Optimizing for OpenGL on OS X - Puzzler183 - Mar 22, 2005 02:36 PM

A good general overview with things that are important on PC platforms as well. Although a lot of it was common sense (such as asynch stuff on the GPU and CPU), things like using float's may not be so obvious if you haven't used it a lot.

*thumbs up*