diff options
Diffstat (limited to 'src/mesa/main/hash.h')
-rw-r--r-- | src/mesa/main/hash.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/hash.h b/src/mesa/main/hash.h index b34f32848a5..e3e8f492e8b 100644 --- a/src/mesa/main/hash.h +++ b/src/mesa/main/hash.h @@ -45,6 +45,15 @@ extern void _mesa_HashInsert(struct _mesa_HashTable *table, GLuint key, void *da extern void _mesa_HashRemove(struct _mesa_HashTable *table, GLuint key); +extern void _mesa_HashLockMutex(struct _mesa_HashTable *table); + +extern void _mesa_HashUnlockMutex(struct _mesa_HashTable *table); + +extern void *_mesa_HashLookupLocked(struct _mesa_HashTable *table, GLuint key); + +extern void _mesa_HashInsertLocked(struct _mesa_HashTable *table, + GLuint key, void *data); + extern void _mesa_HashDeleteAll(struct _mesa_HashTable *table, void (*callback)(GLuint key, void *data, void *userData), |