Blender Git Loki
Git Commits -> Revision d7c812f
Revision d7c812f by Manuel Castilla (master) June 9, 2021, 09:02 (GMT) |
Compositor: Refactor recursive methods to iterative In order to reduce stack size this patch converts full frame recursive methods into iterative. - No functional changes. - No performance changes. - Memory peak may slightly vary depending on the tree because now breadth-first traversal is used instead of depth-first. Tests in D11113 have same results except for test1 memory peak: 360MBs instead of 329.50MBs. Reviewed By: Jeroen Bakker (jbakker) Differential Revision: https://developer.blender.org/D11515 |
Commit Details:
Full Hash: d7c812f15befb161d47451afdeba9d070a7d81a7
Parent Commit: 3ba16af
Lines Changed: +86, -50
4 Modified Paths:
/source/blender/compositor/intern/COM_FullFrameExecutionModel.cc (+79, -44) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.h (+3, -4) (Diff)
/source/blender/compositor/intern/COM_SharedOperationBuffers.cc (+3, -2) (Diff)
/source/blender/compositor/intern/COM_SharedOperationBuffers.h (+1, -0) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.h (+3, -4) (Diff)
/source/blender/compositor/intern/COM_SharedOperationBuffers.cc (+3, -2) (Diff)
/source/blender/compositor/intern/COM_SharedOperationBuffers.h (+1, -0) (Diff)