apitrace/apitrace — pull request #223 by sulix (2014-02-02 14:16:44+00:00)
Title: Enable all debug output in glretrace

On (at least) nVidia systems, not all debug output is enabled by default. If we wish to have the driver tell us where it is placing buffer objects, for example, we have to enable all the debug channels by passing GL_DONT_CARE to everything in glDebugMessageControlARB(...).

The extra messages I get with this enabled, while not technically errors, can be useful diagnosing some types of performance issue. For example:
"Low severity API unknown issue 131185, Buffer detailed info: Buffer object 1 (bound to GL_PIXEL_UNPACK_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped in DMA CACHED memory."

Thoughts?

— David