Insight VR

NSConf Notes: Hard and Fast OpenGL

by john on Feb.21, 2010, under Uncategorized

Jeff LaMarche

http://iphonedevelopment.blogspot.com

A bit of OpenGL history.

OpenGL ES removes parts that were redundant or killed performance. This includes direct mode, which was great for learing the API. Now you have to jump into the deep end.

Static inline functions for small bits of logic that are called frequently.

Avoid allocating memory a lot. Reuse memory between loop runs when possible.

Use the “f” versions of math.h functions so sqrtf() instead of sqrt() which expects and returns doubles.

Make universal apps to enable Thumb for Armv7 and disable it for Armv6.

Default is counter-clockwise winding.

No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!