diff options
author | Glenn Watson <github@intuitionlibrary.com> | 2016-10-12 10:13:27 +1000 |
---|---|---|
committer | Glenn Watson <github@intuitionlibrary.com> | 2016-10-18 10:21:27 +1000 |
commit | acfdfd2fa98562c9f891fbee2dbc3424803c1a3c (patch) | |
tree | bc66667bab89db2ab6a1c4d4113525190fb82d3a /components/script_traits/lib.rs | |
parent | 4af21e3ae1676f943a9a01688fef854487bcddfc (diff) | |
download | servo-acfdfd2fa98562c9f891fbee2dbc3424803c1a3c.tar.gz servo-acfdfd2fa98562c9f891fbee2dbc3424803c1a3c.zip |
Remove old rendering backend.
This removes paint threads, rust-layers dependency, and changes
optional webrender types to be required.
The use_webrender option has been removed, however I've left
the "-w" command line option in place so that wpt
runner can continue to pass that. Once it's removed from there
we can also remove the -w option.
Once this stage is complete, it should be fine to change the
display list building code to generate webrender display
lists directly and avoid the conversion step.
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index c5fa8fee4e6..73eee3bccea 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -20,7 +20,6 @@ extern crate gfx_traits; extern crate heapsize; extern crate hyper_serde; extern crate ipc_channel; -extern crate layers; extern crate libc; extern crate msg; extern crate net_traits; @@ -33,7 +32,6 @@ extern crate serde_derive; extern crate style_traits; extern crate time; extern crate url; -extern crate util; mod script_msg; pub mod webdriver_msg; @@ -46,12 +44,12 @@ use euclid::point::Point2D; use euclid::rect::Rect; use euclid::scale_factor::ScaleFactor; use euclid::size::TypedSize2D; +use gfx_traits::DevicePixel; use gfx_traits::Epoch; use gfx_traits::LayerId; use gfx_traits::StackingContextId; use heapsize::HeapSizeOf; use ipc_channel::ipc::{IpcReceiver, IpcSender}; -use layers::geometry::DevicePixel; use libc::c_void; use msg::constellation_msg::{FrameId, FrameType, Image, Key, KeyModifiers, KeyState, LoadData}; use msg::constellation_msg::{PipelineId, PipelineNamespaceId, ReferrerPolicy}; @@ -68,7 +66,6 @@ use std::fmt; use std::sync::mpsc::{Receiver, Sender}; use style_traits::{PagePx, UnsafeNode, ViewportPx}; use url::Url; -use util::ipc::OptionalOpaqueIpcSender; use webdriver_msg::{LoadStatus, WebDriverScriptCommand}; pub use script_msg::{LayoutMsg, ScriptMsg, EventResult, LogEntry}; @@ -138,9 +135,6 @@ pub struct NewLayoutInfo { pub frame_type: FrameType, /// Network request data which will be initiated by the script thread. pub load_data: LoadData, - /// The paint channel, cast to `OptionalOpaqueIpcSender`. This is really an - /// `Sender<LayoutToPaintMsg>`. - pub paint_chan: OptionalOpaqueIpcSender, /// A port on which layout can receive messages from the pipeline. pub pipeline_port: IpcReceiver<LayoutControlMsg>, /// A sender for the layout thread to communicate to the constellation. |