diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-27 23:42:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-29 16:28:15 +0300 |
commit | f6fc863acd7c24874026202d4c2aec50c60b40d2 (patch) | |
tree | 541dab504b4a4132869d4ba982c42aeca049f661 /source/blender/gpu/intern/gpu_private.h | |
parent | c931a0057ffea26175a2dc111718e5f3590b00f8 (diff) |
Sculpt: multithread GPU draw buffer filling for workbench
This improves performance of some sculpt tools, particularly those that modify
many vertices like filter and mask tools, or use brushes with large radius.
For mask expand it can make updates up to 2x faster on heavy meshes, but for
most tools it's more on the order of 1-1.1x. There are bigger bottlenecks to
solve, like normal updates.
Ref T70295
Differential Revision: https://developer.blender.org/D5926
Diffstat (limited to 'source/blender/gpu/intern/gpu_private.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h index 43b2da13e28..b9af8f1b38c 100644 --- a/source/blender/gpu/intern/gpu_private.h +++ b/source/blender/gpu/intern/gpu_private.h @@ -33,4 +33,8 @@ void gpu_debug_exit(void); void gpu_framebuffer_module_init(void); void gpu_framebuffer_module_exit(void); +/* gpu_pbvh.c */ +void gpu_pbvh_init(void); +void gpu_pbvh_exit(void); + #endif /* __GPU_PRIVATE_H__ */ |