mirror of
https://github.com/servo/servo.git
synced 2025-06-28 19:13:41 +01:00
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.
53 lines
1.4 KiB
Rust
53 lines
1.4 KiB
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#![feature(box_syntax)]
|
|
#![feature(custom_derive)]
|
|
#![feature(mpsc_select)]
|
|
#![feature(plugin)]
|
|
#![feature(proc_macro)]
|
|
#![plugin(plugins)]
|
|
|
|
#![deny(unsafe_code)]
|
|
|
|
extern crate backtrace;
|
|
extern crate canvas;
|
|
extern crate canvas_traits;
|
|
extern crate compositing;
|
|
extern crate devtools_traits;
|
|
extern crate euclid;
|
|
#[cfg(not(target_os = "windows"))]
|
|
extern crate gaol;
|
|
extern crate gfx;
|
|
extern crate gfx_traits;
|
|
extern crate ipc_channel;
|
|
extern crate layout_traits;
|
|
#[macro_use]
|
|
extern crate log;
|
|
extern crate msg;
|
|
extern crate net_traits;
|
|
extern crate offscreen_gl_context;
|
|
#[macro_use]
|
|
extern crate profile_traits;
|
|
extern crate rand;
|
|
extern crate script_traits;
|
|
extern crate serde;
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
extern crate style_traits;
|
|
extern crate url;
|
|
#[macro_use]
|
|
extern crate util;
|
|
extern crate webrender_traits;
|
|
|
|
mod constellation;
|
|
mod pipeline;
|
|
#[cfg(not(target_os = "windows"))]
|
|
mod sandboxing;
|
|
mod timer_scheduler;
|
|
|
|
pub use constellation::{Constellation, FromCompositorLogger, FromScriptLogger, InitialConstellationState};
|
|
pub use pipeline::UnprivilegedPipelineContent;
|
|
#[cfg(not(target_os = "windows"))]
|
|
pub use sandboxing::content_process_sandbox_profile;
|