mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Initial implementation of WebGPU API
This commit is contained in:
parent
47e39af0f3
commit
12893aa010
30 changed files with 923 additions and 7 deletions
|
@ -75,6 +75,7 @@ servo_url = {path = "../url"}
|
|||
sparkle = "0.1"
|
||||
style = {path = "../style", features = ["servo"]}
|
||||
style_traits = {path = "../style_traits", features = ["servo"]}
|
||||
webgpu = {path = "../webgpu"}
|
||||
webrender = {git = "https://github.com/servo/webrender"}
|
||||
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|
||||
webrender_traits = {path = "../webrender_traits"}
|
||||
|
|
|
@ -49,6 +49,7 @@ pub use servo_geometry;
|
|||
pub use servo_url;
|
||||
pub use style;
|
||||
pub use style_traits;
|
||||
pub use webgpu;
|
||||
pub use webrender_api;
|
||||
pub use webrender_traits;
|
||||
pub use webvr;
|
||||
|
@ -863,6 +864,8 @@ fn create_constellation(
|
|||
|
||||
let resource_sender = public_resource_threads.sender();
|
||||
|
||||
let webgpu = webgpu::WebGPU::new();
|
||||
|
||||
let initial_state = InitialConstellationState {
|
||||
compositor_proxy,
|
||||
embedder_proxy,
|
||||
|
@ -877,6 +880,7 @@ 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