diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-02 18:37:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-20 15:29:51 +0300 |
commit | cd44449578faa87c22776a0e8ecb792e18ed9a1b (patch) | |
tree | 8efe0a9d0e38365efc6078c0b1d77190286b617e /intern/cycles/kernel | |
parent | b07c630676978498895f9e6d6c8cc00ad8215812 (diff) |
Cycles: Synchronize images after building mesh BVH
This way memory overhead caused by the BVH building is not so visible and peak
memory usage will be reduced.
Implementing this idea is not so straightforward actually, because we need to
synchronize images used for true displacement before meshes. Detecting whether
image is used for true displacement is not so striaghtforward, so for now all
all displacement types will synchronize images used for them.
Such change brings memory usage from 4.1G to 4.0G with the 01_01_01_D scene
from gooseberry. With 01_01_01_G scene it's 7.6G vs. 6.8G (before and after
the patch).
Reviewers: campbellbarton, juicyfruit, brecht
Subscribers: eyecandy
Differential Revision: https://developer.blender.org/D1217
Diffstat (limited to 'intern/cycles/kernel')
0 files changed, 0 insertions, 0 deletions