summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/hash.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-04-24 15:59:23 +1000
committerTimothy Arceri <[email protected]>2017-04-25 09:58:39 +1000
commita82d6a307d0cfc1e4434bbecb1b308b94b1ca462 (patch)
treec2c6dd52e59ec1992afe0fd4c93b8ebc94456d5e /src/mesa/main/hash.h
parent6a40ccec4b232fc04edd9eb3c047f949e4422612 (diff)
mesa: create locked version of HashWalk
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/hash.h')
-rw-r--r--src/mesa/main/hash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/hash.h b/src/mesa/main/hash.h
index 52a6c5d9ddc..9eb0f0eac6c 100644
--- a/src/mesa/main/hash.h
+++ b/src/mesa/main/hash.h
@@ -66,6 +66,11 @@ _mesa_HashWalk(const struct _mesa_HashTable *table,
void (*callback)(GLuint key, void *data, void *userData),
void *userData);
+extern void
+_mesa_HashWalkLocked(const struct _mesa_HashTable *table,
+ void (*callback)(GLuint key, void *data, void *userData),
+ void *userData);
+
extern void _mesa_HashPrint(const struct _mesa_HashTable *table);
extern GLuint _mesa_HashFindFreeKeyBlock(struct _mesa_HashTable *table, GLuint numKeys);