Blender Git Loki

Git Commits -> Revision 56f0062

September 2, 2013, 17:33 (GMT)
DerivedRender cleanup and improvements

- Use special flags in DagNode for tags and scheduled
instead of trying to use color for this. This way
it's possible to have both tag and scheduler working
at the same time.

- Simplified DAG threaded traversal code, moved comments
to depsgaph instead of documenting what functions does
when using them.

- Switch from recursive tag flush to iterative one.

- Set scenes shall be handled properly in convertblender.

- Removed derivedRender construction from handle object
update function. It doesn't make much sense to have it
in both there and convertblender.

- Creating new task pool now ensures malloc is switched
to thread-safe one.

- Create derivedRender in threads using the same way as
it's done for object update. In really quick tests
gave around 2x speedup of database_init_objects when
having 130 suzannes with subsurf level of 3.

Commit Details:

Full Hash: 56f0062578e3c81181debc7ed318457310123d92
SVN Revision: 59746
Parent Commit: bdaaaba
Lines Changed: +129, -205

7 Modified Paths:

/source/blender/blenkernel/BKE_depsgraph.h (+5, -10) (Diff)
/source/blender/blenkernel/depsgraph_private.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+65, -69) (Diff)
/source/blender/blenkernel/intern/object.c (+0, -23) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -32) (Diff)
/source/blender/blenlib/intern/task.c (+10, -0) (Diff)
/source/blender/render/intern/source/convertblender.c (+47, -71) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021