Blender Git Commit Log
Git Commits -> Revision e9d4214
Revision e9d4214 by Brecht Van Lommel (render25) May 10, 2010, 10:21 (GMT) |
Deep shadow buffers are now created and stored tiled, this helps avoid a memory peak when creating them, and also can save some memory afterwards by not storing empty tiles. Threading code here was also changed so that each tile can be rendered by it's own thread, and memarena is now used to avoid slowness due to malloc mutex locks. There's no setting at the moment to configure the tile size, fixed to 256x256 currently to avoid performance problems. |
Commit Details:
Full Hash: e9d42140fb9602d2f29b79e69c20ee1dbd5ac58e
SVN Revision: 28707
Parent Commit: d2180b1
Lines Changed: +421, -308
6 Modified Paths:
/source/blender/render/intern/include/lamp.h (+1, -3) (Diff)
/source/blender/render/intern/include/part.h (+5, -0) (Diff)
/source/blender/render/intern/include/zbuf.h (+3, -3) (Diff)
/source/blender/render/intern/source/part.c (+70, -55) (Diff)
/source/blender/render/intern/source/shadowbuf.c (+338, -232) (Diff)
/source/blender/render/intern/source/zbuf.c (+4, -15) (Diff)
/source/blender/render/intern/include/part.h (+5, -0) (Diff)
/source/blender/render/intern/include/zbuf.h (+3, -3) (Diff)
/source/blender/render/intern/source/part.c (+70, -55) (Diff)
/source/blender/render/intern/source/shadowbuf.c (+338, -232) (Diff)
/source/blender/render/intern/source/zbuf.c (+4, -15) (Diff)