Blender Git Commit Log

Git Commits -> Revision b432209

Revision b432209 by Sergey Sharybin (master)
May 23, 2019, 14:22 (GMT)
Render: Use dependency graph for compositor/sequencer

This change makes it so a minimal dependency graph which only includes
compositor and sequencer is built for the render pipeline purposes.

Tricky part here is that it's only compositor itself and sequencer who
to use this dependency graph and IDs from it. Render engines are still
to be provided original IDs because:

- They will create dependency graph for the given scene, and currently
it is not possible to create dependency graph from CoW scene.

- IDs from the compositor/sequencer dependency graph are "stripped",
as in, they wouldn't have all view layers, collections or objects
required for proper final render.

This creates annoying mess of mixing evaluated and original scene
access in various parts of the pipeline.

Fixes T63927: Compositing nodes - drivers don't really work

Reviewers: brecht

Maniphest Tasks: T63927

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

Commit Details:

Full Hash: b432209f63f873a025a7f4c3a79aa1d697dc9b98
Parent Commit: 0ec6fa7
Lines Changed: +228, -80

16 Modified Paths:

/source/blender/depsgraph/DEG_depsgraph_build.h (+8, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_map.h (+5, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+14, -16) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_scene.cc (+23, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+1, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+9, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc (+20, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+2, -5) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+6, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+61, -25) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+21, -3) (Diff)
/source/blender/render/intern/include/render_types.h (+5, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+47, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021