next up previous contents
Next: 18.1 What Is Pipeline Up: Advanced Graphics Programming Techniques Previous: 17.10 Precipitation   Contents

18 Tuning Your OpenGL Application

Tuning your software allows it to use hardware capabilities more effectively. Writing high-performance code is usually more complex than just following a set of rules. More often, it involves making trade-offs between special functionality, quality, and performance.

Since different hardware accelerators achieve optimal performance in different ways, not all rules apply in all cases. Some performance rules of thumb are applicable to most every OpenGL implementation - software or hardware - and others can be hardware-specific. This section provides many hints that may be used to tune your OpenGL application for optimal performance.