Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_nodes.h
| Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | struct IDInfo { | ||||
| /* Copy-on-written pointer of the corresponding ID. */ | /* Copy-on-written pointer of the corresponding ID. */ | ||||
| ID *id_cow; | ID *id_cow; | ||||
| /* Mask of visible components from previous state of the | /* Mask of visible components from previous state of the | ||||
| * dependency graph. */ | * dependency graph. */ | ||||
| IDComponentsMask previously_visible_components_mask; | IDComponentsMask previously_visible_components_mask; | ||||
| /* Special evaluation flag mask from the previous depsgraph. */ | /* Special evaluation flag mask from the previous depsgraph. */ | ||||
| uint32_t previous_eval_flags; | uint32_t previous_eval_flags; | ||||
| /* Mesh CustomData mask from the previous depsgraph. */ | /* Mesh CustomData mask from the previous depsgraph. */ | ||||
| uint64_t previous_customdata_mask; | uint64_t previous_customdata_vmask; | ||||
| uint64_t previous_customdata_emask; | |||||
| uint64_t previous_customdata_fmask; | |||||
| uint64_t previous_customdata_lmask; | |||||
| uint64_t previous_customdata_pmask; | |||||
sergey: Not sure why you chose that. There is nothing what is really preventing you from using… | |||||
mont29AuthorUnsubmitted Done Inline ActionsAs said previously, did not know how that kind of things was supposed to be handled in DEG, so just went for a temp stupid basic solution to get the rest f the code working first... mont29: As said previously, did not know how that kind of things was supposed to be handled in DEG, so… | |||||
| }; | }; | ||||
| protected: | protected: | ||||
| /* Allows to identify an operation which was tagged for update at the time | /* Allows to identify an operation which was tagged for update at the time | ||||
| * relations are being updated. We can not reuse operation node pointer | * relations are being updated. We can not reuse operation node pointer | ||||
| * since it will change during dependency graph construction. */ | * since it will change during dependency graph construction. */ | ||||
| struct SavedEntryTag { | struct SavedEntryTag { | ||||
| ID *id_orig; | ID *id_orig; | ||||
| ▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines | |||||
Not sure why you chose that. There is nothing what is really preventing you from using CustomData_MeshMasks here.