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 ...
Get OpenGL® Programming Guide: The Official Guide to Learning OpenGL®, Version 4.5 with SPIR-V, Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.