What is the best way to debug OpenGL?

前端 未结 10 1615
半阙折子戏
半阙折子戏 2020-12-12 17:51

I find that a lot of the time, OpenGL will show you it failed by not drawing anything. I\'m trying to find ways to debug OpenGL programs, by inspecting the transformation ma

10条回答
  •  独厮守ぢ
    2020-12-12 18:30

    The gDebugger is an excellent free tool, but no longer supported. However, AMD has picked up its development, and this debugger is now known as CodeXL. It is available both as a standalone application or as a Visual Studio plugin - works both for native C++ applications, or Java/Python applications using OpenGL bindings, both on NVidia and AMD GPUs. It's one hell of a tool.

提交回复
热议问题