diff options
author | reduz <reduzio@gmail.com> | 2021-01-04 17:00:44 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-01-05 08:50:18 -0300 |
commit | 77bc3e9ac32936a8c4af011805eb785d378212af (patch) | |
tree | d9de0828898e922b6b3554b0068e2197b504944f /core | |
parent | 5d2a1d78929764b66a0d6ac7d6cc866ea1c91aed (diff) |
Threaded optimizations to cull and render
-Reorganize thread work pool for rendering
-Fixes to make secondary command buffers to work (disabled because they need more testing)
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/thread_work_pool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/thread_work_pool.h b/core/templates/thread_work_pool.h index 02d941d0f4..7c3508814f 100644 --- a/core/templates/thread_work_pool.h +++ b/core/templates/thread_work_pool.h @@ -125,6 +125,7 @@ public: end_work(); } + _FORCE_INLINE_ int get_thread_count() const { return thread_count; } void init(int p_thread_count = -1); void finish(); ~ThreadWorkPool(); |