Use more WebRender types in gfx/display_list

This uses floating-point (Layout) coordinates in where possible.
Replace NormalBorder struct with WebRender equivalent.
Remove ToPointF and ToRectF traits.
Convert border RepeatKeyword with ToLayout.
Add some definitions to malloc_size_of for WebRender types.
This commit is contained in:
Pyfisch 2018-01-12 21:24:23 +01:00
parent 8612a87ed2
commit 8c7c5f6e79
10 changed files with 181 additions and 240 deletions

View file

@ -4,7 +4,6 @@
#![cfg(test)]
extern crate euclid;
extern crate gfx;
extern crate gfx_traits;
extern crate ipc_channel;
@ -13,8 +12,8 @@ extern crate msg;
extern crate net_traits;
extern crate profile_traits;
extern crate servo_url;
extern crate style;
extern crate time;
extern crate webrender_api;
mod interactive_time;
mod paint_time;