Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-10-29 13:23:36 +0300
committerSergey Sharybin <sergey@blender.org>2021-11-01 14:47:03 +0300
commit9111ea78acf457c27655dbdd7e7fd9d221db67e0 (patch)
treeab35e9a472c98f841fdadaf23b8cc4ec8af45429 /source/blender/blenloader/tests/blendfile_loading_base_test.cc
parentb6dd5be2136897bf421027644e519d2ac494022c (diff)
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
Diffstat (limited to 'source/blender/blenloader/tests/blendfile_loading_base_test.cc')
-rw-r--r--source/blender/blenloader/tests/blendfile_loading_base_test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenloader/tests/blendfile_loading_base_test.cc b/source/blender/blenloader/tests/blendfile_loading_base_test.cc
index 8afa631ffc5..f06f6f7d329 100644
--- a/source/blender/blenloader/tests/blendfile_loading_base_test.cc
+++ b/source/blender/blenloader/tests/blendfile_loading_base_test.cc
@@ -65,7 +65,6 @@ void BlendfileLoadingBaseTest::SetUpTestCase()
BKE_idtype_init();
BKE_appdir_init();
IMB_init();
- BKE_images_init();
BKE_modifier_init();
DEG_register_node_types();
RNA_init();