blender/intern/cycles
Kévin Dietrich 5a964664d6 Cycles: add reference counting to Nodes
This adds a reference count to Nodes which is incremented or decremented
whenever they are added to or removed from a socket, which will help us
track used Nodes throughout the scene graph generically without having to
add an explicit count or flag on specific Node types. This is especially
useful to track Nodes defined through Procedurals out of Cycles' control.

This also modifies the order in which nodes are deleted to ensure that
upon deletion, a Node does not attempt to decrement the reference
count of another Node which was already freed or deleted.

This is not currently used, but will be in the next commit.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10965
2021-05-03 01:20:33 +02:00
..
app Cycles: add utility functions for zero float2/float3/float4/transform 2021-02-17 16:26:24 +01:00
blender Cycles: add reference counting to Nodes 2021-05-03 01:20:33 +02:00
bvh Cycles: Change device-only memory to actually only allocate on the device 2021-03-11 14:12:35 +01:00
cmake Cleanup: cmake indentation, white-space 2021-02-05 09:45:16 +11:00
device Cycles: Fix build with OptiX 7.3 SDK 2021-04-26 14:55:39 +02:00
doc CMake: refresh building and external library handling of Cycles standalone 2020-09-04 17:10:50 +02:00
graph Cycles: add reference counting to Nodes 2021-05-03 01:20:33 +02:00
kernel Merge branch 'blender-v2.93-release' 2021-04-29 16:00:05 +02:00
render Cycles: add reference counting to Nodes 2021-05-03 01:20:33 +02:00
subd Cycles: add utility functions for zero float2/float3/float4/transform 2021-02-17 16:26:24 +01:00
test Fix Cycles build error with "make developer" on some CPUs 2021-04-01 12:31:01 +02:00
util Merge branch 'blender-v2.93-release' 2021-04-30 00:25:35 +10:00
CMakeLists.txt BLI: use sse2neon to emulate SSE instructions with Arm Neon 2021-02-17 16:26:24 +01:00