Lines Matching defs:shared
70 * Delete a texture handle in the shared state.
83 * Delete an image handle in the shared state.
272 /* Store the handle in the shared state for all contexts. */
360 /* Store the handle in the shared state for all contexts. */
385 * Init/free shared allocated handles.
388 _mesa_init_shared_handles(struct gl_shared_state *shared)
390 shared->TextureHandles = _mesa_hash_table_u64_create(NULL);
391 shared->ImageHandles = _mesa_hash_table_u64_create(NULL);
392 mtx_init(&shared->HandlesMutex, mtx_recursive);
396 _mesa_free_shared_handles(struct gl_shared_state *shared)
398 if (shared->TextureHandles)
399 _mesa_hash_table_u64_destroy(shared->TextureHandles, NULL);
401 if (shared->ImageHandles)
402 _mesa_hash_table_u64_destroy(shared->ImageHandles, NULL);
404 mtx_destroy(&shared->HandlesMutex);