22 #ifdef DEG_DEBUG_COW_POINTERS
23 # define DEG_COW_PRINT(format, ...) printf(format, __VA_ARGS__);
25 # define DEG_COW_PRINT(format, ...)
33 class DepsgraphNodeBuilder;
struct Depsgraph Depsgraph
ID and Library types, which are fundamental for sdna.
const Depsgraph * depsgraph
ID * deg_update_copy_on_write_datablock(const Depsgraph *depsgraph, const IDNode *id_node)
bool deg_copy_on_write_is_needed(const ID *id_orig)
void deg_tag_copy_on_write_id(ID *id_cow, const ID *id_orig)
bool deg_validate_copy_on_write_datablock(ID *id_cow)
bool deg_copy_on_write_is_expanded(const ID *id_cow)
void deg_evaluate_copy_on_write(struct ::Depsgraph *graph, const IDNode *id_node)
void deg_free_copy_on_write_datablock(ID *id_cow)