[Mesa-dev] [PATCH 00/18] improvements for GL_KHR_debug support

Chia-I Wu olvaffe at gmail.com
Fri Apr 25 03:41:53 PDT 2014


Hi,

This series cleans up GL_KHR_debug support, fixes message control for some
corner cases, and makes one enhancement: cheap
glPushDebugGroup/glPopDebugGroup for command stream annotation.

Patch 1-12 refactor the code.  There should be no functional difference.
These patches are also part of the series I sent the other day for threaded
glCompileShader.

Patch 13 makes an interface change to hide struct gl_debug_state from the rest
of the driver.  I need this for threaded glCompileShader support.  But I think
this is a good idea anyhow because, unlike other context states,
gl_debug_state is created on demand.  This prevents others from having to do
an if-check.

Patch 14-16 refactor more of the code.  No functional difference is expected
either.

Patch 17 makes debug group pushing copy-on-write.  This makes the operation
very cheap in a common scenario.

Patch 18 simplifies the debug namespace code a lot and fixes a few corner
cases.

Please review.


More information about the mesa-dev mailing list