Share single gpu_id_hub among all threads in a process

This commit is contained in:
Kunal Mohan 2020-05-15 00:03:07 +05:30
parent 6c506ba260
commit e5065c7eb2
13 changed files with 54 additions and 8 deletions

View file

@ -139,6 +139,7 @@ impl Worker {
closing,
global.image_cache(),
browsing_context,
global.wgpu_id_hub(),
);
Ok(worker)