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:
authorYimingWu <xp8110@outlook.com>2022-05-19 13:56:50 +0300
committerYimingWu <xp8110@outlook.com>2022-05-23 19:28:52 +0300
commit14a5a91e0e033d712134c112a4778b495bd73ba1 (patch)
tree69171257a3761fc273490306a5a1fe53d4ba87c7 /source/blender/gpencil_modifiers/CMakeLists.txt
parent54f357ed2ab1bfdbfd46ab30690f2a75f75ac478 (diff)
LineArt: Use CAS for add_triangles.
Using the atomic "compare and swap" method in add_triangles stage dramatically speeds up the add_triangles call and significantly reduced the overall calculation time. This is currently the fastest method we have experimented with so far. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D14953
Diffstat (limited to 'source/blender/gpencil_modifiers/CMakeLists.txt')
-rw-r--r--source/blender/gpencil_modifiers/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/CMakeLists.txt b/source/blender/gpencil_modifiers/CMakeLists.txt
index 69fc26c99e9..c45209661f6 100644
--- a/source/blender/gpencil_modifiers/CMakeLists.txt
+++ b/source/blender/gpencil_modifiers/CMakeLists.txt
@@ -17,6 +17,7 @@ set(INC
../windowmanager
../../../intern/eigen
../../../intern/guardedalloc
+ ../../../intern/atomic
# dna_type_offsets.h in BLO_read_write.h
${CMAKE_BINARY_DIR}/source/blender/makesdna/intern