mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Provide webrender_api::RenderApiSender to ScriptThread and DOM Window
This will allow the HTMLMediaElement later to get a handle to the RenderApi for rendering video frames. At a later time, all media handling should be moved to its own thread/process that is communicated with via IPC. At that point this can be removed again. Original-patch-by: Sebastian Dröge <sebastian@centricular.com>
This commit is contained in:
parent
77c7eda0bf
commit
781b3b712b
4 changed files with 32 additions and 3 deletions
|
@ -517,6 +517,7 @@ impl UnprivilegedPipelineContent {
|
|||
webgl_chan: self.webgl_chan,
|
||||
webvr_chan: self.webvr_chan,
|
||||
webrender_document: self.webrender_document,
|
||||
webrender_api_sender: self.webrender_api_sender.clone(),
|
||||
},
|
||||
self.load_data.clone(),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue