Mesh: Reduce custom normal calculation memory usage #107592

Merged
Hans Goudey merged 32 commits from HooglyBoogly/blender:corner-normals-refactor-storage into main 2023-05-10 14:41:16 +02:00

32 Commits

Author SHA1 Message Date
Hans Goudey 24250e94aa Merge branch 'main' into corner-normals-refactor-storage
buildbot/vexp-code-patch-coordinator Build done. Details
2023-05-08 19:51:20 -04:00
Hans Goudey 59bdd13e13 Fix function name 2023-05-07 21:42:35 -04:00
Hans Goudey ffc8d2aefd Improve reverse_index_array doc-string 2023-05-07 21:29:12 -04:00
Hans Goudey a87d0eeeba Use suggested variable names for reverse_index_array names 2023-05-07 21:26:07 -04:00
Hans Goudey 11cd3d3118 Complete renaming of function from last time 2023-05-07 21:25:13 -04:00
Hans Goudey f1f92faa77 Add more detail to comment 2023-05-07 21:24:31 -04:00
Hans Goudey 014259fa89 Merge branch 'main' into corner-normals-refactor-storage 2023-05-07 21:22:37 -04:00
Hans Goudey 6fcb79f176 Use function names more similar to old names 2023-05-06 23:47:17 -04:00
Hans Goudey a7c06198ef Add note about -1 indices 2023-05-06 23:47:03 -04:00
Hans Goudey e4c4520eac Add detail to comments, rename structs 2023-05-06 23:40:34 -04:00
Hans Goudey 218ebc559c Merge branch 'main' into corner-normals-refactor-storage 2023-05-06 23:37:15 -04:00
Hans Goudey 7a4448b0f2 Cleanup: Rearrange header additions, rename type to remove part redundant with namespace
buildbot/vexp-code-patch-coordinator Build done. Details
2023-05-03 18:16:37 -04:00
Hans Goudey 8c58a35723 Cleanup 2023-05-03 17:18:28 -04:00
Hans Goudey 789f932582 Fix 2023-05-03 17:07:29 -04:00
Hans Goudey 6c3883a26c Merge branch 'main' into corner-normals-refactor-storage 2023-05-03 16:53:36 -04:00
Hans Goudey 0e1f63140d WIP 2023-05-03 16:46:37 -04:00
Hans Goudey 39ba2bc5d9 Merge branch 'main' into corner-normals-refactor-storage 2023-05-03 16:22:57 -04:00
Hans Goudey a882816358 Cleanup 2023-05-03 16:06:47 -04:00
Hans Goudey ec4ebb8691 More debug printing 2023-05-03 12:47:01 -04:00
Hans Goudey 949fb72ec4 Merge branch 'main' into corner-normals-refactor-storage 2023-05-03 12:18:46 -04:00
Hans Goudey 494f881529 Merge branch 'main' into corner-normals-refactor-storage 2023-05-02 18:29:34 -04:00
Hans Goudey b69e744e97 Cleanup: Make diff smaller 2023-04-30 17:30:22 -04:00
Hans Goudey 8ba6e5688e Merge branch 'main' into corner-normals-refactor-storage 2023-04-30 16:16:37 -04:00
Hans Goudey 6c29232dc2 Fixes 2023-04-28 16:27:45 -04:00
Hans Goudey 08e7b1e404 Add debug printing 2023-04-28 15:59:03 -04:00
Hans Goudey 50a96baf73 Cleanup 2023-04-28 15:41:58 -04:00
Hans Goudey 236846507c Cleanup: Make diff smaller 2023-04-28 15:18:50 -04:00
Hans Goudey c6d5019ebd Cleanup 2023-04-28 15:15:40 -04:00
Hans Goudey 470ac25523 Merge branch 'main' into corner-normals-refactor-storage 2023-04-28 14:48:05 -04:00
Hans Goudey c1c8bbdb1e Merge branch 'main' into corner-normals-refactor-storage 2023-04-27 22:46:20 -04:00
Hans Goudey a9903e1652 Mesh: Reduce memory usage calculating face corner normals 2023-04-27 22:45:55 -04:00
Hans Goudey 9446225670 Cleanup: Remove global mesh threading size macro
The grain size depends on the algorithm, it doesn't make sense to use
the same value for multiple areas just because they relate to `Mesh`.
The comment mentions OpenMP which isn't used anymore.

Also remove an unused forward declaration.
2023-04-27 16:23:42 -04:00