diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-06-04 19:28:25 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-06-13 17:46:12 +0530 |
commit | 71401e0855c24e4cf86a754171f0162ae08d8e55 (patch) | |
tree | 34587c934aa127849ed943c44ec79f71ee904935 /components/script_layout_interface/lib.rs | |
parent | 73760ea59434971d24e6aac7e5fe3c79c1ba5bf6 (diff) | |
download | servo-71401e0855c24e4cf86a754171f0162ae08d8e55.tar.gz servo-71401e0855c24e4cf86a754171f0162ae08d8e55.zip |
Implement GPUSwapChain and GPUCanvasContext and interface with Webrender
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r-- | components/script_layout_interface/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs index 6b4b2615412..bdf6ae9e884 100644 --- a/components/script_layout_interface/lib.rs +++ b/components/script_layout_interface/lib.rs @@ -123,6 +123,7 @@ pub enum LayoutElementType { pub enum HTMLCanvasDataSource { WebGL(webrender_api::ImageKey), Image(Option<IpcSender<CanvasMsg>>), + WebGPU(webrender_api::ImageKey), } pub struct HTMLCanvasData { |