Blender Git Loki

Git Commits -> Revision 13a36f3

June 14, 2021, 14:34 (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: 13a36f3b75a9494364173caeb2c62a120b7418a2
Parent Commit: e82109d
Committed By: Bastien Montagne
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021