aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/lib.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-07-22 22:53:52 -0700
committerPatrick Walton <pcwalton@mimiga.net>2015-07-24 16:14:24 -0700
commit626974994a739f27373c93b19830eaa6828cc387 (patch)
tree8393cc22fdb850f3d634b10abf2a9b40e77b964d /components/canvas/lib.rs
parent135ef35f6dee05d7f06caef335bfe726a0a1b55a (diff)
downloadservo-626974994a739f27373c93b19830eaa6828cc387.tar.gz
servo-626974994a739f27373c93b19830eaa6828cc387.zip
canvas: Move to shared memory for images and canvas backing stores.
The idea here is to land this before making images and canvas IPC-safe, because this will shake out bugs relating to the shared memory. There are currently test timeouts that are preventing multiprocess images and canvas from landing, and I believe those are due to the inefficiency of sending large amounts of data in the unoptimized builds we test with. By moving to shared memory, this should drastically reduce the number of copies and `serde` serialization. Under the hood, this uses Mach OOL messages on Mac and temporary memory-mapped files on Linux.
Diffstat (limited to 'components/canvas/lib.rs')
-rw-r--r--components/canvas/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/canvas/lib.rs b/components/canvas/lib.rs
index 99f5881cca1..b78f552f9bb 100644
--- a/components/canvas/lib.rs
+++ b/components/canvas/lib.rs
@@ -18,6 +18,7 @@ extern crate gleam;
extern crate num;
extern crate layers;
extern crate offscreen_gl_context;
+extern crate ipc_channel;
#[macro_use]
extern crate log;