O'Reilly logo

OpenGL® Programming Guide: The Official Guide to Learning OpenGL®, Version 4.5 with SPIR-V, Ninth Edition by Dave Shreiner, Graham Sellers, John Kessenich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix G. Debugging and Profiling OpenGL

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required