diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-08-22 18:13:13 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2018-10-08 16:11:59 +0200 |
commit | 781b3b712bd328b2c94afc2196382ee6807ebfde (patch) | |
tree | 8d82e65391bd78df89f0b515c8be7216ca49e78c /components/constellation | |
parent | 77c7eda0bfe659fde191d0bb48cf6b124a5f4fd6 (diff) | |
download | servo-781b3b712bd328b2c94afc2196382ee6807ebfde.tar.gz servo-781b3b712bd328b2c94afc2196382ee6807ebfde.zip |
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>
Diffstat (limited to 'components/constellation')
-rw-r--r-- | components/constellation/pipeline.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index d110bbfcdce..d37d4d80f07 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -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(), ); |