mesa: clean up debug groups
authorChia-I Wu <olvaffe@gmail.com>
Wed, 23 Apr 2014 05:42:24 +0000 (13:42 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 27 Apr 2014 02:06:21 +0000 (10:06 +0800)
commit44a13747933d1e9306138f5b9483f1e2e1410c03
tree5e95f35ff68f6ee2621f201e58674b496611f9ab
parente412305f9f05956c21a7f97ada2d4795107e0203
mesa: clean up debug groups

Add struct gl_debug_group to hold all namespaces of a debug group.  Replace
the 3-dimensional array, Namespaces, in struct gl_debug_state by a
1-dimensional array of type struct gl_debug_groups.

Turn the 4-dimensional array, Defaults, in struct gl_debug_state to a
1-dimensional array in struct gl_debug_namespace.

Signed-off-by: Chia-I Wu <olv@lunarg.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/errors.c