diff options
Diffstat (limited to 'components/canvas')
-rw-r--r-- | components/canvas/canvas_data.rs | 2 | ||||
-rw-r--r-- | components/canvas/canvas_paint_thread.rs | 1 | ||||
-rw-r--r-- | components/canvas/webgl_mode/inprocess.rs | 2 | ||||
-rw-r--r-- | components/canvas/webgl_thread.rs | 3 |
4 files changed, 0 insertions, 8 deletions
diff --git a/components/canvas/canvas_data.rs b/components/canvas/canvas_data.rs index 97e2dee4800..d07ee2cd9cf 100644 --- a/components/canvas/canvas_data.rs +++ b/components/canvas/canvas_data.rs @@ -15,11 +15,9 @@ use cssparser::RGBA; use euclid::{Point2D, Rect, Size2D, Transform2D, Vector2D}; use ipc_channel::ipc::IpcSender; use num_traits::ToPrimitive; -use pixels; use serde_bytes::ByteBuf; use std::mem; use std::sync::Arc; -use webrender_api; pub struct CanvasData<'a> { drawtarget: DrawTarget, diff --git a/components/canvas/canvas_paint_thread.rs b/components/canvas/canvas_paint_thread.rs index 7baef384ae9..d4f00506a3e 100644 --- a/components/canvas/canvas_paint_thread.rs +++ b/components/canvas/canvas_paint_thread.rs @@ -10,7 +10,6 @@ use ipc_channel::ipc::{self, IpcSender}; use std::borrow::ToOwned; use std::collections::HashMap; use std::thread; -use webrender_api; pub struct CanvasPaintThread<'a> { canvases: HashMap<CanvasId, CanvasData<'a>>, diff --git a/components/canvas/webgl_mode/inprocess.rs b/components/canvas/webgl_mode/inprocess.rs index bed3692268f..8200d4dde3e 100644 --- a/components/canvas/webgl_mode/inprocess.rs +++ b/components/canvas/webgl_mode/inprocess.rs @@ -13,8 +13,6 @@ use fnv::FnvHashMap; use gleam::gl; use servo_config::prefs::PREFS; use std::rc::Rc; -use webrender; -use webrender_api; /// WebGL Threading API entry point that lives in the constellation. pub struct WebGLThreads(WebGLSender<WebGLMsg>); diff --git a/components/canvas/webgl_thread.rs b/components/canvas/webgl_thread.rs index c40f4e1b169..dec2ad33263 100644 --- a/components/canvas/webgl_thread.rs +++ b/components/canvas/webgl_thread.rs @@ -8,10 +8,7 @@ use euclid::Size2D; use fnv::FnvHashMap; use gleam::gl; use offscreen_gl_context::{GLContext, GLContextAttributes, GLLimits, NativeGLContextMethods}; -use pixels; use std::thread; -use webrender; -use webrender_api; /// WebGL Threading API entry point that lives in the constellation. /// It allows to get a WebGLThread handle for each script pipeline. |