mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Share single gpu_id_hub among all threads in a process
This commit is contained in:
parent
6c506ba260
commit
e5065c7eb2
13 changed files with 54 additions and 8 deletions
|
@ -91,6 +91,7 @@ impl GPUAdapterMethods for GPUAdapter {
|
|||
let id = self
|
||||
.global()
|
||||
.wgpu_id_hub()
|
||||
.lock()
|
||||
.create_device_id(self.adapter.0.backend());
|
||||
if self
|
||||
.channel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue