Blender Git Loki

Git Commits -> Revision bfa3dc9

Revision bfa3dc9 by Germano Cavalcante (master)
July 12, 2021, 21:05 (GMT)
Depsgraph: Implement 'ID_RECALC_GEOMETRY_DEFORM'

During a mesh transformation in edit mode (Move, Rotate...), only part of
the batch cache needs to be updated.

This commit allows only update only the drawn batches seen in
`BKE_object_data_eval_batch_cache_deform_tag` if the new
`ID_RECALC_GEOMETRY_DEFORM` flag is used.

This new flag is used in the transforms operation for edit-mesh and
results in 1.6x overall speedup in heavy subdiv cube.

Differential Revision: https://developer.blender.org/D11599

Commit Details:

Full Hash: bfa3dc91b75407b063f2ac991b176d98c050f92d
Parent Commit: 7b6c77a
Lines Changed: +175, -77

12 Modified Paths:

/source/blender/blenkernel/BKE_mesh_types.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_object.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/object_update.c (+20, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+56, -46) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+48, -20) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+8, -1) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_flush.cc (+4, -1) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+8, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+8, -2) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+11, -0) (Diff)
/source/blender/editors/transform/transform_convert_mesh.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+6, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021