Blender Git Loki

Git Commits -> Revision 9111ea7

Revision 9111ea7 by Sergey Sharybin (master)
November 1, 2021, 11:47 (GMT)
Localize image mutex lock into runtime field of Image datablock

Allows to avoid a global lock being held while reading files from disk,
solving performance issues when Cycles needs to read a lot of packed
images.

Simple test file F11597666

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

Commit Details:

Full Hash: 9111ea78acf457c27655dbdd7e7fd9d221db67e0
Parent Commit: b6dd5be
Lines Changed: +88, -55

7 Modified Paths:

/source/blender/blenkernel/BKE_image.h (+0, -3) (Diff)
/source/blender/blenkernel/intern/blender.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+80, -48) (Diff)
/source/blender/blenloader/tests/blendfile_loading_base_test.cc (+0, -1) (Diff)
/source/blender/makesdna/DNA_image_types.h (+8, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+0, -1) (Diff)
/source/creator/creator.c (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021