Blender Git Loki

Git Commits -> Revision 944989f

Revision 944989f by Sergey Sharybin (depsgraph_refactor)
January 1, 2015, 15:34 (GMT)
Depsgraph: initial move towards switch to the new depsgraph

Quite some changes in this commit, mainly:

- Made it more clear separation between old and new dependency graphs.

So now logic for the new dependency graph is totally concentrated in
depsgraph/ folder and old DAG_* calls only redirects to that module.

This gives a bit of code redundancy (not so much tho) but it makes
it really clear how to drop old dependency graph or how to make it
an easy switch between old/new code bases (as a command line argument
perhaps to be safe for a major failure).

- Kind of part of previous one, but to be clear: all the parts of the
new dependency graph API which were marked as TODO are now filled
in.

It doesn't mean they're 100% finished, but initial code is there.

- Removed some experimental code. Let's just stick to code which might
not be optimal but works reliably.

- Started re-integration new dependency graph into editors.

This is basically Cycles viewport rendering which starts working
now. Still some glitches in there and missing updates but let's
start from something.

I decided to not invent anything totally new here and just ported
old logic with id->flag tags.

Commit Details:

Full Hash: 944989f7c9931593fc6d5ae042f438e2a2723ea8
Parent Commit: e420a30
Lines Changed: +446, -265

16 Modified Paths:

/source/blender/blenkernel/BKE_depsgraph.h (+0, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+42, -157) (Diff)
/source/blender/blenkernel/intern/scene.c (+13, -18) (Diff)
/source/blender/depsgraph/DEG_depsgraph.h (+54, -10) (Diff)
/source/blender/depsgraph/DEG_depsgraph_build.h (+11, -6) (Diff)
/source/blender/depsgraph/DEG_depsgraph_debug.h (+6, -0) (Diff)
/source/blender/depsgraph/DEG_depsgraph_query.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.cpp (+21, -52) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+33, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph_debug.cpp (+13, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cpp (+6, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+7, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cpp (+7, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cpp (+223, -10) (Diff)
/source/blender/editors/object/object_edit.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021