Blender Git Loki

Git Commits -> Revision 74df307

Revision 74df307 by Sergey Sharybin (master)
April 6, 2015, 12:47 (GMT)
Cycles: Free unused image buffers when rendering with locked interface

It is still possible to free a bit more memory by detecting buildin images
which are not used by shaders, but that's not going to improve memory usage
that much to bother about this now.

Such change brings peak memory usage from 4.1GB to 3.4GB when rendering
01_01_01_D layout scene from the Gooseberry project. Mainly because of
freeing memory used by rather huge environment map in the viewport.

Reviewers: campbellbarton, juicyfruit

Subscribers: eyecandy

Differential Revision: https://developer.blender.org/D1215

Commit Details:

Full Hash: 74df307ca43df14b759fd9eb6a049a6c5d90dcda
Parent Commit: bb2300d
Lines Changed: +44, -0

3 Modified Paths:

/intern/cycles/blender/blender_sync.cpp (+33, -0) (Diff)
/intern/cycles/blender/blender_sync.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021