Blender Git Loki
Git Commits -> Revision 0d5e4bb
Revision 0d5e4bb by Jeroen Bakker (asset-browser, asset-browser-poselib, temp-pose-flipping-fix-attempt) June 11, 2021, 14:31 (GMT) |
Performance: Use parallel range for ImBuf scanline processor. Scanline processor did its own heurestic what didn't scale well when having a multiple cores. In stead of using our own code this patch will leave it to TBB to determine how to split the scanlines over the available threads. Performance of the IMB_transform before this change was 0.002123s, with this change 0.001601s. This change increases performance in other areas as well including color management conversions. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D11578 |
Commit Details:
Full Hash: 0d5e4bb780598ab63fa79b507f0dce49ff87509a
Parent Commit: 319bd88
Committed By: Sybren A. Stüvel
Lines Changed: +57, -80
6 Modified Paths:
/source/blender/blenkernel/intern/image_gen.c (+11, -10) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+3, -4) (Diff)
/source/blender/imbuf/intern/divers.c (+4, -5) (Diff)
/source/blender/imbuf/intern/imageprocess.c (+33, -56) (Diff)
/source/blender/imbuf/intern/rectop.c (+5, -4) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+3, -4) (Diff)
/source/blender/imbuf/intern/divers.c (+4, -5) (Diff)
/source/blender/imbuf/intern/imageprocess.c (+33, -56) (Diff)
/source/blender/imbuf/intern/rectop.c (+5, -4) (Diff)