mesa: move/update hash function comments
(cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
This commit is contained in:
parent
038d2607ab
commit
9903d09f82
|
@ -120,12 +120,8 @@ _mesa_DeleteHashTable(struct _mesa_HashTable *table)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lookup an entry in the hash table.
|
* Lookup an entry in the hash table, without locking.
|
||||||
*
|
* \sa _mesa_HashLookup
|
||||||
* \param table the hash table.
|
|
||||||
* \param key the key.
|
|
||||||
*
|
|
||||||
* \return pointer to user's data or NULL if key not in table
|
|
||||||
*/
|
*/
|
||||||
static INLINE void *
|
static INLINE void *
|
||||||
_mesa_HashLookup_unlocked(struct _mesa_HashTable *table, GLuint key)
|
_mesa_HashLookup_unlocked(struct _mesa_HashTable *table, GLuint key)
|
||||||
|
@ -147,6 +143,15 @@ _mesa_HashLookup_unlocked(struct _mesa_HashTable *table, GLuint key)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup an entry in the hash table.
|
||||||
|
*
|
||||||
|
* \param table the hash table.
|
||||||
|
* \param key the key.
|
||||||
|
*
|
||||||
|
* \return pointer to user's data or NULL if key not in table
|
||||||
|
*/
|
||||||
void *
|
void *
|
||||||
_mesa_HashLookup(struct _mesa_HashTable *table, GLuint key)
|
_mesa_HashLookup(struct _mesa_HashTable *table, GLuint key)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue