|
Blender
V2.93
|
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 165 of file outliner_treehash.c.
References BLI_ghash_ensure_p(), TseGroup::lastused, tse_group_add_element(), and tse_group_create().
Referenced by check_persistent(), and fill_treehash().
| void BKE_outliner_treehash_clear_used | ( | void * | treehash | ) |
Definition at line 146 of file outliner_treehash.c.
References BLI_ghashIterator_getValue(), GHASH_ITER, and TseGroup::lastused.
Referenced by outliner_storage_cleanup().
| void* BKE_outliner_treehash_create_from_treestore | ( | struct BLI_mempool * | treestore | ) |
Definition at line 134 of file outliner_treehash.c.
References BLI_ghash_new_ex(), BLI_mempool_len(), fill_treehash(), tse_cmp(), and tse_hash().
Referenced by check_persistent().
| void BKE_outliner_treehash_free | ( | void * | treehash | ) |
Definition at line 247 of file outliner_treehash.c.
References BLI_assert, BLI_ghash_free(), free_treehash_group(), and NULL.
Referenced by outliner_free(), and outliner_storage_cleanup().
| struct TreeStoreElem* BKE_outliner_treehash_lookup_any | ( | void * | treehash, |
| short | type, | ||
| short | nr, | ||
| struct ID * | id | ||
| ) |
Definition at line 234 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 204 of file outliner_treehash.c.
References BKE_outliner_treehash_lookup_group(), BLI_assert, TseGroup::elems, TseGroup::lastused, NULL, size(), TseGroup::size, type, and TreeStoreElem::used.
Referenced by check_persistent().
| void* BKE_outliner_treehash_rebuild_from_treestore | ( | void * | treehash, |
| struct BLI_mempool * | treestore | ||
| ) |
Definition at line 156 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 178 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().