Blender Git Loki

Git Commits -> Revision be77eea

Revision be77eea by Joshua Leung (master)
August 23, 2018, 05:07 (GMT)
Depsgraph: First draft of graph filtering API implementation

When this works correctly, we should be able to feed in an existing
depsgraph instance, and get out a "filtered" copy of it that contains
only the subset of nodes needed to evaluate what we're interested in.

The current implementation only filters on ID blocks/nodes,
and starts by building a full new depsgraph instance first.
I'd originally intended to do it per operation instead, copying
over individual nodes as appropriate to have the smallest and least
memory intensive graph possible. However, I ended up running into
into problems with function binding + COW arguments, hence the
current slow solution.

Commit Details:

Full Hash: be77eeae46e17c1b6ffb0e4d4834a1bd28aedf64
Parent Commit: 9e47709
Lines Changed: +304, -1

1 Added Path:

/source/blender/depsgraph/intern/depsgraph_query_filter.cc (+272, -0) (View)

4 Modified Paths:

/source/blender/depsgraph/CMakeLists.txt (+1, -0) (Diff)
/source/blender/depsgraph/DEG_depsgraph.h (+1, -0) (Diff)
/source/blender/depsgraph/DEG_depsgraph_query.h (+29, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021