summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_pack.c
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2013-11-13 18:46:03 +0100
committerFredrik Höglund <[email protected]>2014-05-02 02:53:25 +0200
commit82291f64e378825e1c716742fc215db99fc8cbb2 (patch)
treea4ad9d2bd807e52489808a6d4eba69eaa43f1410 /src/mesa/main/format_pack.c
parent30af8ce3f807f8a4990fa8c750038b1f75e5154f (diff)
mesa: Add functions for doing unlocked hash table lookups
This patch adds functions for locking/unlocking the mutex, along with _mesa_HashLookupLocked() and _mesa_HashInsertLocked() that do lookups and insertions without locking the mutex. These functions will be used by the ARB_multi_bind entry points to avoid locking/unlocking the mutex for each binding point. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/format_pack.c')
0 files changed, 0 insertions, 0 deletions