Blender Git Commit Log
Git Commits -> Revision b17c490
Revision b17c490 by Manuel Castilla (compositor-full-frame) May 31, 2021, 08:44 (GMT) |
Compositor: Do constant folding for full frame execution All operations with constant pixel/elements are evaluated into primitive Value/Vector/Color constant operations prior rendering execution. This is the case of operations that are constant only when all their inputs are so. Such operations should set can_be_constant flag to true. is_constant flag is only used for primitive operations (Color/Vector/Value) which are the only constant operations during rendering execution. |
Commit Details:
Full Hash: b17c49004318cd6e2ef8587a7defe498e1d97333
Parent Commit: 89e22a9
Lines Changed: +494, -38
4 Added Paths:
/source/blender/compositor/intern/COM_ConstantFolder.cc (+232, -0) (View)
/source/blender/compositor/intern/COM_ConstantFolder.h (+68, -0) (View)
/source/blender/compositor/operations/COM_ConstantOperation.cc (+38, -0) (View)
/source/blender/compositor/operations/COM_ConstantOperation.h (+41, -0) (View)
/source/blender/compositor/intern/COM_ConstantFolder.h (+68, -0) (View)
/source/blender/compositor/operations/COM_ConstantOperation.cc (+38, -0) (View)
/source/blender/compositor/operations/COM_ConstantOperation.h (+41, -0) (View)
17 Modified Paths:
/source/blender/compositor/CMakeLists.txt (+4, -0) (Diff)
/source/blender/compositor/intern/COM_BufferOperation.cc (+9, -1) (Diff)
/source/blender/compositor/intern/COM_BufferOperation.h (+3, -2) (Diff)
/source/blender/compositor/intern/COM_Debug.cc (+7, -2) (Diff)
/source/blender/compositor/intern/COM_Debug.h (+1, -1) (Diff)
/source/blender/compositor/intern/COM_ExecutionModel.cc (+1, -1) (Diff)
/source/blender/compositor/intern/COM_ExecutionModel.h (+2, -2) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.cc (+19, -5) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.h (+9, -1) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.cc (+6, -0) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.h (+14, -0) (Diff)
/source/blender/compositor/intern/COM_TiledExecutionModel.cc (+1, -1) (Diff)
/source/blender/compositor/intern/COM_TiledExecutionModel.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_SetColorOperation.h (+7, -2) (Diff)
/source/blender/compositor/operations/COM_SetValueOperation.h (+7, -2) (Diff)
/source/blender/compositor/operations/COM_SetVectorOperation.cc (+3, -3) (Diff)
/source/blender/compositor/operations/COM_SetVectorOperation.h (+21, -14) (Diff)
/source/blender/compositor/intern/COM_BufferOperation.cc (+9, -1) (Diff)
/source/blender/compositor/intern/COM_BufferOperation.h (+3, -2) (Diff)
/source/blender/compositor/intern/COM_Debug.cc (+7, -2) (Diff)
/source/blender/compositor/intern/COM_Debug.h (+1, -1) (Diff)
/source/blender/compositor/intern/COM_ExecutionModel.cc (+1, -1) (Diff)
/source/blender/compositor/intern/COM_ExecutionModel.h (+2, -2) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.cc (+19, -5) (Diff)
/source/blender/compositor/intern/COM_FullFrameExecutionModel.h (+9, -1) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.cc (+6, -0) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.h (+14, -0) (Diff)
/source/blender/compositor/intern/COM_TiledExecutionModel.cc (+1, -1) (Diff)
/source/blender/compositor/intern/COM_TiledExecutionModel.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_SetColorOperation.h (+7, -2) (Diff)
/source/blender/compositor/operations/COM_SetValueOperation.h (+7, -2) (Diff)
/source/blender/compositor/operations/COM_SetVectorOperation.cc (+3, -3) (Diff)
/source/blender/compositor/operations/COM_SetVectorOperation.h (+21, -14) (Diff)