mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update WR (text-shadow optimizations).
This commit is contained in:
parent
7d95fb8e49
commit
8e979e301a
2 changed files with 3 additions and 3 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -3435,7 +3435,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "webrender"
|
name = "webrender"
|
||||||
version = "0.48.0"
|
version = "0.48.0"
|
||||||
source = "git+https://github.com/servo/webrender#80453c8168a176342801fcbabdcf06a601c07c4d"
|
source = "git+https://github.com/servo/webrender#b83c200c657f6b6fb17d09f329ba77803420b46a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -3464,7 +3464,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "webrender_api"
|
name = "webrender_api"
|
||||||
version = "0.48.0"
|
version = "0.48.0"
|
||||||
source = "git+https://github.com/servo/webrender#80453c8168a176342801fcbabdcf06a601c07c4d"
|
source = "git+https://github.com/servo/webrender#b83c200c657f6b6fb17d09f329ba77803420b46a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -2123,7 +2123,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
||||||
// to back).
|
// to back).
|
||||||
|
|
||||||
// Shadows
|
// Shadows
|
||||||
for shadow in text_shadows.iter() {
|
for shadow in text_shadows.iter().rev() {
|
||||||
state.add_display_item(DisplayItem::PushTextShadow(box PushTextShadowDisplayItem {
|
state.add_display_item(DisplayItem::PushTextShadow(box PushTextShadowDisplayItem {
|
||||||
base: base.clone(),
|
base: base.clone(),
|
||||||
blur_radius: shadow.blur,
|
blur_radius: shadow.blur,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue