Auto merge of #16398 - glennw:update-wr-elliptical-borders-aa, r=mrobinson

Update WR (new border code path).

This includes the new border code path for simple (solid) borders.
This gives much higher quality border rendering, including proper
support for elliptical border segments.

The quality on https://github.com/servo/servo is noticeably improved.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16398)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-04-14 00:42:49 -05:00 committed by GitHub
commit ff568c0d1a
4 changed files with 11 additions and 3 deletions

4
Cargo.lock generated
View file

@ -3172,7 +3172,7 @@ dependencies = [
[[package]]
name = "webrender"
version = "0.31.0"
source = "git+https://github.com/servo/webrender#2625654b435ebba0815379dc6fba42415e3abc2b"
source = "git+https://github.com/servo/webrender#98d343f2d800bb62a19d7c081a0a6a39dd74607f"
dependencies = [
"app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.0.0-alpha6 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3200,7 +3200,7 @@ dependencies = [
[[package]]
name = "webrender_traits"
version = "0.32.0"
source = "git+https://github.com/servo/webrender#2625654b435ebba0815379dc6fba42415e3abc2b"
source = "git+https://github.com/servo/webrender#98d343f2d800bb62a19d7c081a0a6a39dd74607f"
dependencies = [
"app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -275,7 +275,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
let clip = item.base.clip.to_clip_region(builder);
builder.push_text(item.base.bounds.to_rectf(),
clip,
glyphs,
&glyphs,
item.text_run.font_key,
item.text_color,
item.text_run.actual_pt_size,

View file

@ -0,0 +1,3 @@
[transform-input-018.htm]
type: reftest
expected: FAIL

View file

@ -0,0 +1,5 @@
[transform-input-019.htm]
type: reftest
expected:
if os == "linux": FAIL