• Home
  • Raw
  • Download

Lines Matching refs:smPriv

547    struct st_manager_private *smPriv =  in st_framebuffer_iface_lookup()  local
551 assert(smPriv); in st_framebuffer_iface_lookup()
552 assert(smPriv->stfbi_ht); in st_framebuffer_iface_lookup()
554 simple_mtx_lock(&smPriv->st_mutex); in st_framebuffer_iface_lookup()
555 entry = _mesa_hash_table_search(smPriv->stfbi_ht, stfbi); in st_framebuffer_iface_lookup()
556 simple_mtx_unlock(&smPriv->st_mutex); in st_framebuffer_iface_lookup()
566 struct st_manager_private *smPriv = in st_framebuffer_iface_insert() local
570 assert(smPriv); in st_framebuffer_iface_insert()
571 assert(smPriv->stfbi_ht); in st_framebuffer_iface_insert()
573 simple_mtx_lock(&smPriv->st_mutex); in st_framebuffer_iface_insert()
574 entry = _mesa_hash_table_insert(smPriv->stfbi_ht, stfbi, stfbi); in st_framebuffer_iface_insert()
575 simple_mtx_unlock(&smPriv->st_mutex); in st_framebuffer_iface_insert()
585 struct st_manager_private *smPriv = in st_framebuffer_iface_remove() local
589 if (!smPriv || !smPriv->stfbi_ht) in st_framebuffer_iface_remove()
592 simple_mtx_lock(&smPriv->st_mutex); in st_framebuffer_iface_remove()
593 entry = _mesa_hash_table_search(smPriv->stfbi_ht, stfbi); in st_framebuffer_iface_remove()
597 _mesa_hash_table_remove(smPriv->stfbi_ht, entry); in st_framebuffer_iface_remove()
600 simple_mtx_unlock(&smPriv->st_mutex); in st_framebuffer_iface_remove()
839 struct st_manager_private *smPriv = smapi->st_manager_private; in st_manager_destroy() local
841 if (smPriv && smPriv->stfbi_ht) { in st_manager_destroy()
842 _mesa_hash_table_destroy(smPriv->stfbi_ht, NULL); in st_manager_destroy()
843 simple_mtx_destroy(&smPriv->st_mutex); in st_manager_destroy()
844 free(smPriv); in st_manager_destroy()
892 struct st_manager_private *smPriv; in st_api_create_context() local
894 smPriv = CALLOC_STRUCT(st_manager_private); in st_api_create_context()
895 simple_mtx_init(&smPriv->st_mutex, mtx_plain); in st_api_create_context()
896 smPriv->stfbi_ht = _mesa_hash_table_create(NULL, in st_api_create_context()
899 smapi->st_manager_private = smPriv; in st_api_create_context()