OS X 10.7(Lion)的OpenGL调试器/错误跟踪器?

Arn*_*rne 5 opengl macos

我可以使用哪种工具来追踪OpenGL错误?我曾经使用过gDEBugger,但是目前还没有10.7可用,而且我曾经遇到过一些问题.Xcode Instruments似乎只有一些驱动程序统计信息.我需要的只是一个跟踪器,告诉我哪个OpenGL调用导致错误.

Gav*_*ean 5

您可以尝试随开发工具提供的OpenGL Profiler:

/ Developer/Applications/Graphics Tools/OpenGL Profiler

这将允许您在OpenGL遇到错误时附加到应用程序,转储跟踪或中断.