move ConstellationMsg to compositing

This commit is contained in:
Kunal Mohan 2020-01-28 23:32:22 +05:30
parent b3ac17b82f
commit 8d4aeef08b
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
15 changed files with 133 additions and 122 deletions

View file

@ -16,6 +16,7 @@ oculusvr = ['rust-webvr/oculusvr']
[dependencies]
canvas_traits = {path = "../canvas_traits"}
compositing = {path = "../compositing"}
crossbeam-channel = "0.3"
euclid = "0.20"
ipc-channel = "0.12"
@ -23,7 +24,6 @@ log = "0.4"
msg = {path = "../msg"}
rust-webvr = {version = "0.16", features = ["mock", "openvr", "vrexternal"]}
rust-webvr-api = "0.16"
script_traits = {path = "../script_traits"}
servo_config = {path = "../config"}
sparkle = "0.1"
webvr_traits = {path = "../webvr_traits" }

View file

@ -3,13 +3,13 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use canvas_traits::webgl;
use compositing::ConstellationMsg;
use crossbeam_channel::{unbounded, Receiver, Sender};
use euclid::default::Size2D;
use ipc_channel::ipc;
use ipc_channel::ipc::{IpcReceiver, IpcSender};
use msg::constellation_msg::PipelineId;
use rust_webvr::VRServiceManager;
use script_traits::ConstellationMsg;
use servo_config::pref;
use sparkle::gl::Gl;
use std::collections::hash_map::Entry;