mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Only start WebGPU thread if an adapter is requested
This commit is contained in:
parent
f8c957dc1b
commit
a751b1c3d7
15 changed files with 200 additions and 147 deletions
|
@ -874,8 +874,6 @@ fn create_constellation(
|
|||
|
||||
let resource_sender = public_resource_threads.sender();
|
||||
|
||||
let webgpu = webgpu::WebGPU::new();
|
||||
|
||||
let initial_state = InitialConstellationState {
|
||||
compositor_proxy,
|
||||
embedder_proxy,
|
||||
|
@ -890,7 +888,6 @@ fn create_constellation(
|
|||
webrender_document,
|
||||
webrender_api_sender,
|
||||
webgl_threads,
|
||||
webgpu,
|
||||
webvr_chan,
|
||||
webxr_registry,
|
||||
glplayer_threads,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue