mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
Implement GPUSwapChain and GPUCanvasContext and interface with Webrender
This commit is contained in:
parent
73760ea594
commit
71401e0855
28 changed files with 882 additions and 91 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue