blender/tests/gtests
Jeroen Bakker d923fb784f Task: Separate Finalize into Reduce And Free
In preparation of TBB we need to split the finalize function into reduce
and free. Reduce is used to combine results and free for freeing any
allocated memory.

The reduce function is called to join user data chunk into another, to reduce the
result to the original userdata_chunk memory. These functions should have no side
effects so that they can be run on any thread.
The free functions should free data created during execution (TaskParallelRangeFunc).

Original patch by Brecht van Lommel
{rB61f49db843cf5095203112226ae386f301be1e1a}.

Reviewed By: Brecht van Lommel, Bastien Montagne

Differential Revision: https://developer.blender.org/D7394
2020-04-17 16:06:54 +02:00
..
alembic Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
blenlib Task: Separate Finalize into Reduce And Free 2020-04-17 16:06:54 +02:00
blenloader Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
bmesh Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
ffmpeg CMake: Fix linking of ffmpeg_test on macOS 2020-01-16 15:52:19 +01:00
guardedalloc Fix: Use a minimal alignment of 8 in MEM_lockfree_mallocN_aligned 2020-01-23 14:21:48 +01:00
testing Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
usd USD: ensure test does not depend on BLI_assert() 2020-04-09 12:14:51 +02:00
CMakeLists.txt test: Add basic codec test for ffmpeg. 2020-01-14 11:31:02 -07:00