mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
dependencies: Upgrade to WebRender 0.64 (#31486)
This brings the version of WebRender used in Servo up-to-date with Gecko upstream. The big change here is that HiDPI is no longer handled via WebRender. Instead this happens via a scale applied to the root layer in the compositor. In addition to this change, various changes are made to Servo to adapt to the new WebRender API. Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
4597aeae5f
commit
ad37a54f59
102 changed files with 704 additions and 600 deletions
|
@ -51,7 +51,7 @@ impl MaxRect for Rect<Au> {
|
|||
impl MaxRect for LayoutRect {
|
||||
#[inline]
|
||||
fn max_rect() -> LayoutRect {
|
||||
LayoutRect::new(
|
||||
LayoutRect::from_origin_and_size(
|
||||
LayoutPoint::new(f32::MIN / 2.0, f32::MIN / 2.0),
|
||||
LayoutSize::new(f32::MAX, f32::MAX),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue