Lines Matching defs:shared
77 * Delete a texture handle in the shared state.
90 * Delete an image handle in the shared state.
305 /* Store the handle in the shared state for all contexts. */
395 /* Store the handle in the shared state for all contexts. */
420 * Init/free shared allocated handles.
423 _mesa_init_shared_handles(struct gl_shared_state *shared)
425 shared->TextureHandles = _mesa_hash_table_u64_create(NULL);
426 shared->ImageHandles = _mesa_hash_table_u64_create(NULL);
427 mtx_init(&shared->HandlesMutex, mtx_recursive);
431 _mesa_free_shared_handles(struct gl_shared_state *shared)
433 if (shared->TextureHandles)
434 _mesa_hash_table_u64_destroy(shared->TextureHandles);
436 if (shared->ImageHandles)
437 _mesa_hash_table_u64_destroy(shared->ImageHandles);
439 mtx_destroy(&shared->HandlesMutex);