Implement GPUSwapChain and GPUCanvasContext and interface with Webrender

This commit is contained in:
Kunal Mohan 2020-06-04 19:28:25 +05:30
parent 73760ea594
commit 71401e0855
28 changed files with 882 additions and 91 deletions

4
Cargo.lock generated
View file

@ -832,6 +832,7 @@ dependencies = [
"style_traits",
"webgpu",
"webrender_api",
"webrender_traits",
"webxr-api",
]
@ -6389,12 +6390,15 @@ name = "webgpu"
version = "0.0.1"
dependencies = [
"arrayvec 0.5.1",
"euclid",
"ipc-channel",
"log",
"malloc_size_of",
"serde",
"servo_config",
"smallvec 0.6.13",
"webrender_api",
"webrender_traits",
"wgpu-core",
"wgpu-types",
]