aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation/pipeline.rs
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-08-22 18:13:13 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2018-10-08 16:11:59 +0200
commit781b3b712bd328b2c94afc2196382ee6807ebfde (patch)
tree8d82e65391bd78df89f0b515c8be7216ca49e78c /components/constellation/pipeline.rs
parent77c7eda0bfe659fde191d0bb48cf6b124a5f4fd6 (diff)
downloadservo-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/pipeline.rs')
-rw-r--r--components/constellation/pipeline.rs1
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(),
);