mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
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:
parent
8612a87ed2
commit
8c7c5f6e79
10 changed files with 181 additions and 240 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue