diff options
author | Chia-I Wu <[email protected]> | 2014-04-23 14:17:55 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-04-27 10:06:21 +0800 |
commit | a30c4c6ca018413db8f8ca5c766a6f0d3f8af6be (patch) | |
tree | dab21cac72ef6804646fe06c2d4f65c24186fe3e /src/glx/glxhash.h | |
parent | 44a13747933d1e9306138f5b9483f1e2e1410c03 (diff) |
mesa: clean up debug output namespace handling
Add functions to provide these operations on a struct gl_debug_namespace:
init(): initialize the namespace
copy(): copy all elements from one namespace to another
clear(): clear all elements (to free the memories)
set(): set the value of an element
set_all(): set the value of all elements
get(): get the value of an element
A debug namespace is like a sparse array. The length of the array is huge,
2^sizeof(GLuint), but most of the elements assume the same value sepcified by
set_all().
Signed-off-by: Chia-I Wu <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/glxhash.h')
0 files changed, 0 insertions, 0 deletions