Blender Git Commit Log

Git Commits -> Revision 8103381

Revision 8103381 by Brecht Van Lommel (master)
May 5, 2012, 19:44 (GMT)
Cycles: threading optimizations

* Multithreaded image loading, each thread can load a separate image.
* Better multithreading for multiple instanced meshes, different threads can now
build BVH's for different meshes, rather than all cooperating on the same mesh.
Especially noticeable for dynamic BVH building for the viewport, gave about
2x faster build on 8 core in fairly complex scene with many objects.
* The main thread waiting for worker threads can now also work itself, so
(num_cores + 1) threads will be working, this supposedly gives better
performance on some operating systems, but did not measure performance for
this very detailed yet.

Commit Details:

Full Hash: 8103381ded923a097eae5a0ba012ae41847a83ad
SVN Revision: 46328
Parent Commit: c53fe94
Lines Changed: +181, -108

9 Modified Paths:

/intern/cycles/bvh/bvh_build.cpp (+14, -16) (Diff)
/intern/cycles/bvh/bvh_build.h (+4, -1) (Diff)
/intern/cycles/device/device_cpu.cpp (+12, -6) (Diff)
/intern/cycles/render/image.cpp (+31, -23) (Diff)
/intern/cycles/render/image.h (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+43, -40) (Diff)
/intern/cycles/render/mesh.h (+1, -1) (Diff)
/intern/cycles/util/util_task.cpp (+66, -15) (Diff)
/intern/cycles/util/util_task.h (+9, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021