Blender Git Loki
Git Commits -> Revision 76525d5
Revision 76525d5 by Sergey Sharybin (master) November 9, 2012, 08:46 (GMT) |
Cycles: persistent images option This option enables keeping loaded images in the memory in-between of rendering. Implemented by keeping render engine alive for until Render structure is being freed. Cycles will free all data when render finishes, optionally keeping image manager untouched. All shaders, meshes, objects will be re-allocated next time rendering happens. Cycles cession and scene will be re-created from scratch if render/ scene parameters were changed. This will also allow to keep compiled OSL shaders in memory without need to re-compile them again. P.S. Performance panel could be cleaned up a bit, not so much happy with it's vertical alignment currently but not sure how to make it look better. P.P.S. Currently the only way to free images from the device is to disable Persistent Images option and start rendering. |
Commit Details:
Full Hash: 76525d53982dc783d9f1bf33223e0e7a2b412c60
SVN Revision: 52030
Parent Commit: eff7342
Lines Changed: +215, -37
16 Modified Paths:
/intern/cycles/blender/addon/engine.py (+7, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+6, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+4, -0) (Diff)
/intern/cycles/blender/addon/__init__.py (+5, -1) (Diff)
/intern/cycles/blender/blender_python.cpp (+27, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+51, -1) (Diff)
/intern/cycles/blender/blender_session.h (+2, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+2, -0) (Diff)
/intern/cycles/render/scene.cpp (+59, -31) (Diff)
/intern/cycles/render/scene.h (+9, -1) (Diff)
/intern/cycles/render/session.cpp (+14, -0) (Diff)
/intern/cycles/render/session.h (+1, -0) (Diff)
/intern/cycles/util/util_progress.h (+15, -0) (Diff)
/source/blender/render/intern/include/render_types.h (+4, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+6, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+3, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+6, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+4, -0) (Diff)
/intern/cycles/blender/addon/__init__.py (+5, -1) (Diff)
/intern/cycles/blender/blender_python.cpp (+27, -0) (Diff)
/intern/cycles/blender/blender_session.cpp (+51, -1) (Diff)
/intern/cycles/blender/blender_session.h (+2, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+2, -0) (Diff)
/intern/cycles/render/scene.cpp (+59, -31) (Diff)
/intern/cycles/render/scene.h (+9, -1) (Diff)
/intern/cycles/render/session.cpp (+14, -0) (Diff)
/intern/cycles/render/session.h (+1, -0) (Diff)
/intern/cycles/util/util_progress.h (+15, -0) (Diff)
/source/blender/render/intern/include/render_types.h (+4, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+6, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+3, -0) (Diff)