virtualx-engine/core/templates
Juan Linietsky 2b730cad90 Use multiple threads to import.
- For now everything imports multithreaded by default (should work I guess, let's test).
- Controllable per importer

Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads:
Importing goes down from 46 to 7 seconds.

For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
2021-04-19 14:12:22 -03:00
..
command_queue_mt.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
command_queue_mt.h Make Servers truly Thread Safe 2021-02-10 13:21:46 -03:00
cowdata.h Change CRASH_COND to ERR_FAIL in Cowdata::set 2021-02-24 21:36:08 +01:00
hash_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
hashfuncs.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
list.h Rename Array.invert() to Array.reverse() 2021-03-21 10:20:08 +00:00
local_vector.h Add function LocalVector::remove_unordered 2021-01-11 13:47:31 +01:00
lru.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
map.h Separate set.h from map.h 2021-04-14 11:43:45 +02:00
oa_hash_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ordered_hash_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
paged_allocator.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
paged_array.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pair.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pass_func.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
rid.h Rewrite render code to be more cache and thread friendly. 2021-01-05 08:50:18 -03:00
rid_owner.cpp Modernize atomics 2021-02-18 17:12:46 +01:00
rid_owner.h Modernize atomics 2021-02-18 17:12:46 +01:00
ring_buffer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
safe_refcount.h Fix SafeNumeric::conditional_increment() for NO_THREADS 2021-02-25 21:22:01 +01:00
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
self_list.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
set.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
simple_type.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sort_array.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
thread_work_pool.cpp Modernize Thread 2021-01-29 12:02:13 +01:00
thread_work_pool.h Use multiple threads to import. 2021-04-19 14:12:22 -03:00
vector.h Rename Array.invert() to Array.reverse() 2021-03-21 10:20:08 +00:00
vmap.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vset.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00