mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
WebGPU: Use GenericChannel (#42032)
Switching WebGPU component to use GenericChannel. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Testing: Compilation is the test. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
@@ -1850,8 +1850,7 @@ impl ScriptThread {
|
||||
},
|
||||
#[cfg(feature = "webgpu")]
|
||||
ScriptThreadMessage::SetWebGPUPort(port) => {
|
||||
*self.receivers.webgpu_receiver.borrow_mut() =
|
||||
ROUTER.route_ipc_receiver_to_new_crossbeam_receiver(port);
|
||||
*self.receivers.webgpu_receiver.borrow_mut() = port.route_preserving_errors();
|
||||
},
|
||||
ScriptThreadMessage::TickAllAnimations(_webviews) => {
|
||||
self.set_needs_rendering_update();
|
||||
|
||||
Reference in New Issue
Block a user