Blender
V3.3
|
Go to the source code of this file.
Functions | |
void * | BKE_outliner_treehash_create_from_treestore (struct BLI_mempool *treestore) |
void * | BKE_outliner_treehash_rebuild_from_treestore (void *treehash, struct BLI_mempool *treestore) |
void | BKE_outliner_treehash_clear_used (void *treehash) |
void | BKE_outliner_treehash_add_element (void *treehash, struct TreeStoreElem *elem) |
void | BKE_outliner_treehash_remove_element (void *treehash, struct TreeStoreElem *elem) |
struct TreeStoreElem * | BKE_outliner_treehash_lookup_unused (void *treehash, short type, short nr, struct ID *id) |
struct TreeStoreElem * | BKE_outliner_treehash_lookup_any (void *treehash, short type, short nr, struct ID *id) |
void | BKE_outliner_treehash_free (void *treehash) |
void BKE_outliner_treehash_add_element | ( | void * | treehash, |
struct TreeStoreElem * | elem | ||
) |
Definition at line 162 of file outliner_treehash.c.
References BLI_ghash_ensure_p(), tse_group_add_element(), and tse_group_create().
Referenced by check_persistent(), and fill_treehash().
Definition at line 142 of file outliner_treehash.c.
References BLI_ghashIterator_getValue(), GHASH_ITER, TseGroup::lastused, and TseGroup::lastused_reset_count.
Referenced by outliner_storage_cleanup().
void* BKE_outliner_treehash_create_from_treestore | ( | struct BLI_mempool * | treestore | ) |
Definition at line 130 of file outliner_treehash.c.
References BLI_ghash_new_ex(), BLI_mempool_len(), fill_treehash(), tse_cmp(), and tse_hash().
Referenced by check_persistent().
Definition at line 251 of file outliner_treehash.c.
References BLI_assert, BLI_ghash_free(), free_treehash_group(), and NULL.
Referenced by outliner_storage_cleanup(), and SpaceOutliner_Runtime::~SpaceOutliner_Runtime().
struct TreeStoreElem* BKE_outliner_treehash_lookup_any | ( | void * | treehash, |
short | type, | ||
short | nr, | ||
struct ID * | id | ||
) |
Definition at line 238 of file outliner_treehash.c.
References BKE_outliner_treehash_lookup_group(), BLI_assert, TseGroup::elems, NULL, and type.
Referenced by outliner_find_tse().
struct TreeStoreElem* BKE_outliner_treehash_lookup_unused | ( | void * | treehash, |
short | type, | ||
short | nr, | ||
struct ID * | id | ||
) |
Definition at line 200 of file outliner_treehash.c.
References BKE_outliner_treehash_lookup_group(), BLI_assert, TseGroup::elems, TseGroup::lastused, TseGroup::lastused_reset_count, LIKELY, NULL, offset, size(), TseGroup::size, TSEGROUP_LASTUSED_RESET_VALUE, type, and TreeStoreElem::used.
Referenced by check_persistent().
void* BKE_outliner_treehash_rebuild_from_treestore | ( | void * | treehash, |
struct BLI_mempool * | treestore | ||
) |
Definition at line 153 of file outliner_treehash.c.
References BLI_assert, BLI_ghash_clear_ex(), BLI_mempool_len(), fill_treehash(), free_treehash_group(), and NULL.
Referenced by outliner_build_tree(), and outliner_storage_cleanup().
void BKE_outliner_treehash_remove_element | ( | void * | treehash, |
struct TreeStoreElem * | elem | ||
) |
Definition at line 174 of file outliner_treehash.c.
References BLI_assert, BLI_ghash_lookup(), BLI_ghash_remove(), free_treehash_group(), NULL, TseGroup::size, and tse_group_remove_element().