#include "glheader.h"
#include "imports.h"
#include "glapi/glthread.h"
#include "hash.h"
Go to the source code of this file.
Data Structures |
| struct | HashEntry |
| struct | _mesa_HashTable |
Defines |
| #define | TABLE_SIZE 1023 |
| #define | HASH_FUNC(K) ((K) % TABLE_SIZE) |
Functions |
| struct _mesa_HashTable * | _mesa_NewHashTable (void) |
| void | _mesa_DeleteHashTable (struct _mesa_HashTable *table) |
| void * | _mesa_HashLookup (const struct _mesa_HashTable *table, GLuint key) |
| void | _mesa_HashInsert (struct _mesa_HashTable *table, GLuint key, void *data) |
| void | _mesa_HashRemove (struct _mesa_HashTable *table, GLuint key) |
| void | _mesa_HashDeleteAll (struct _mesa_HashTable *table, void(*callback)(GLuint key, void *data, void *userData), void *userData) |
| void | _mesa_HashWalk (const struct _mesa_HashTable *table, void(*callback)(GLuint key, void *data, void *userData), void *userData) |
| GLuint | _mesa_HashFirstEntry (struct _mesa_HashTable *table) |
| GLuint | _mesa_HashNextEntry (const struct _mesa_HashTable *table, GLuint key) |
| void | _mesa_HashPrint (const struct _mesa_HashTable *table) |
| GLuint | _mesa_HashFindFreeKeyBlock (struct _mesa_HashTable *table, GLuint numKeys) |