This appendix describes the facilities provided by debug contexts, which can greatly assist you in finding errors in your programs and in getting the best possible performance from OpenGL. This appendix contains the following major sections:
• “Creating a Debug Context” explains how to create OpenGL contexts in debug mode, enabling debugging features.
• “Debug Output” describes how OpenGL communicates debugging information back to your application.
• “Debug Groups” delves deeper into debug output, showing how your application, any utility libraries, and tools you use can cooperate to group parts of your scenes for debug purposes.
• “Profiling” concludes the appendix with information about profiling and ...