aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/lib.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2017-09-30 15:50:47 +0200
committerMartin Robinson <mrobinson@igalia.com>2017-10-17 23:33:13 +0200
commitb5d51dd2636935471447fc741ffbb95c62e37f94 (patch)
treed437a0a5114788c529692628729cdc3169ec4b2e /components/compositing/lib.rs
parent00e2a1c62a04ae337f9008dcea8e265edd2d3ef4 (diff)
downloadservo-b5d51dd2636935471447fc741ffbb95c62e37f94.tar.gz
servo-b5d51dd2636935471447fc741ffbb95c62e37f94.zip
Switch to using WebRender hit testing
This trades quite a bit of complicated code in Servo for few more messages and a significant performance improvement. In particular, WebRender can search the entire display list at once instead of ping-ponging down the pipeline tree. This allows us to send mouse events to the correct pipeline immediately.
Diffstat (limited to 'components/compositing/lib.rs')
-rw-r--r--components/compositing/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs
index b2abdcbf94d..82702dfb734 100644
--- a/components/compositing/lib.rs
+++ b/components/compositing/lib.rs
@@ -9,6 +9,7 @@ extern crate gfx_traits;
extern crate gleam;
extern crate image;
extern crate ipc_channel;
+extern crate libc;
#[macro_use]
extern crate log;
extern crate msg;