tornavis/source/blender/nodes
Hans Goudey e7339bdd5f Geometry: Use implicit sharing for deformed positions
Avoid copying the positions array into the evaluated edit hints array
that's used to support editing with deformed positions when there is
a topology-changing procedural operation. In a simple test in sculpt
mode with 706k curve points, memory usage went from 78 to 70 MB.

This adds more duplication would be ideal, mainly because retrieving
the data with write access and making implicit sharing info for arbitrary
arrays aren't abstracted by implicit sharing utilities. It may be possible
to improve both of those aspects, either now or in the future.

Pull Request: https://projects.blender.org/blender/blender/pulls/120146
2024-04-03 14:14:34 +02:00
..
composite Fix: Vector Blur node produce wrong output sometimes 2024-04-01 16:04:49 +02:00
function Fix: Geometry Nodes: Separate Transform node 2024-03-19 05:29:38 +01:00
geometry Geometry: Use implicit sharing for deformed positions 2024-04-03 14:14:34 +02:00
intern Geometry: Use implicit sharing for deformed positions 2024-04-03 14:14:34 +02:00
shader Cleanup: declare arrays as const where possible 2024-03-28 22:57:57 +11:00
texture Cleanup: Remove C++ ifdef checks in C++ headers 2024-03-26 04:56:03 +01:00
CMakeLists.txt Cleanup: CMake: Modernize extern_fmtlib dependencies 2024-02-03 18:55:09 +01:00
NOD_common.h Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_composite.hh Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_derived_node_tree.hh Cleanup: simplify naming of get_default_hash 2024-01-26 11:45:56 +01:00
NOD_geometry.hh Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_geometry_exec.hh Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_geometry_nodes_execute.hh Cleanup: Move BKE_idprop.h to C++ 2024-03-26 13:07:04 -04:00
NOD_geometry_nodes_lazy_function.hh Geometry Nodes: support baking data block references 2024-02-01 09:21:55 +01:00
NOD_geometry_nodes_log.hh BLI: add chunked list data structure that uses linear allocator 2024-02-28 22:22:21 +01:00
NOD_math_functions.hh License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
NOD_multi_function.hh License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
NOD_node_declaration.hh Nodes: support accessing socket type directly from declaration 2024-03-20 12:37:37 +01:00
NOD_node_extra_info.hh Cleanup: Resolve inconsistent struct vs. class declaration warning 2023-12-06 10:00:25 -05:00
NOD_register.hh License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
NOD_rna_define.hh Fix #110562: Crash animating node property affecting socket visibility 2024-03-11 19:26:58 +01:00
NOD_shader.h Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_socket.hh Nodes: align functions to check if socket type supports fields or grids 2024-03-20 12:55:49 +01:00
NOD_socket_declarations.hh Nodes: support accessing socket type directly from declaration 2024-03-20 12:37:37 +01:00
NOD_socket_declarations_geometry.hh Nodes: support accessing socket type directly from declaration 2024-03-20 12:37:37 +01:00
NOD_socket_items.hh Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_socket_search_link.hh Nodes: Panels integration with blend files and UI 2023-08-30 12:37:21 +02:00
NOD_static_types.h Geometry Nodes: Add volume grid conversion nodes 2024-02-29 01:20:27 +01:00
NOD_texture.h Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00
NOD_zone_socket_items.hh Revert changes from main commits that were merged into blender-v4.1-release 2024-02-19 15:59:59 +01:00