mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Expand DisplayList layer bounds to whole pixels
Before passing these layers to the paint task, expand them to pixel boundaries. This ensures that subpixel edges of the layer will not be clipped away and helps prevent rounding issues with layer contents. Fixes #8166.
This commit is contained in:
parent
9501564e01
commit
a7a58e47a0
8 changed files with 106 additions and 30 deletions
18
ports/cef/Cargo.lock
generated
18
ports/cef/Cargo.lock
generated
|
@ -64,7 +64,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "app_units"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -239,7 +239,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "compositing"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"canvas 0.0.1",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -580,7 +580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "gfx"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -966,7 +966,7 @@ dependencies = [
|
|||
name = "layout"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas 0.0.1",
|
||||
|
@ -1126,7 +1126,7 @@ dependencies = [
|
|||
name = "msg"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -1454,7 +1454,7 @@ name = "script"
|
|||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"angle 0.1.0 (git+https://github.com/ecoal95/angle?branch=servo)",
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas 0.0.1",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -1499,7 +1499,7 @@ dependencies = [
|
|||
name = "script_traits"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"devtools_traits 0.0.1",
|
||||
"euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ipc-channel 0.1.0 (git+https://github.com/pcwalton/ipc-channel)",
|
||||
|
@ -1696,7 +1696,7 @@ dependencies = [
|
|||
name = "style"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cssparser 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -1856,7 +1856,7 @@ dependencies = [
|
|||
name = "util"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cssparser 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
18
ports/gonk/Cargo.lock
generated
18
ports/gonk/Cargo.lock
generated
|
@ -56,7 +56,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "app_units"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -231,7 +231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "compositing"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"canvas 0.0.1",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -582,7 +582,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "gfx"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -915,7 +915,7 @@ dependencies = [
|
|||
name = "layout"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas 0.0.1",
|
||||
|
@ -1075,7 +1075,7 @@ dependencies = [
|
|||
name = "msg"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -1403,7 +1403,7 @@ name = "script"
|
|||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"angle 0.1.0 (git+https://github.com/ecoal95/angle?branch=servo)",
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas 0.0.1",
|
||||
"canvas_traits 0.0.1",
|
||||
|
@ -1448,7 +1448,7 @@ dependencies = [
|
|||
name = "script_traits"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"devtools_traits 0.0.1",
|
||||
"euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ipc-channel 0.1.0 (git+https://github.com/pcwalton/ipc-channel)",
|
||||
|
@ -1643,7 +1643,7 @@ dependencies = [
|
|||
name = "style"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cssparser 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -1803,7 +1803,7 @@ dependencies = [
|
|||
name = "util"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"app_units 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"app_units 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"azure 0.2.0 (git+https://github.com/servo/rust-azure)",
|
||||
"bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cssparser 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue