Repository navigation
Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 - #30323
Conversation
|
@bors-servo try Ah, there is one more thing I forgot to mention about these changes. The adaptation of Servo to the new API includes a bit more conversion to using ClipChains and ClipChainId consistently rather than CilpId. This isn't strictly necessary, but it will be necessary to deal with future version of WebRender. |
|
🔨 Triggering try run (#6120847838) with platform=all and layout=all |
|
This is a draft because it depends on #30321 and also because I'd like to push it through the CI a bit. |
380c638 to
e7cf87b
Compare
|
@bors-servo try |
|
🔨 Triggering try run (#6121016215) with platform=all and layout=all |
|
Test results for linux-wpt-layout-2013 from try job (#6121016215): Flaky unexpected result (15)
Stable unexpected results that are known to be intermittent (21)
Stable unexpected results (14)
|
|
Test results for linux-wpt-layout-2020 from try job (#6121016215): Flaky unexpected result (18)
Stable unexpected results that are known to be intermittent (14)
Stable unexpected results (1)
|
|
|
e7cf87b to
77657ad
Compare
|
@bors-servo try |
|
🔨 Triggering try run (#6121819560) with platform=all and layout=all |
|
Test results for linux-wpt-layout-2013 from try job (#6121819560): Flaky unexpected result (16)
Stable unexpected results that are known to be intermittent (14)
Stable unexpected results (5)
|
|
Test results for linux-wpt-layout-2020 from try job (#6121819560): Flaky unexpected result (11)
Stable unexpected results that are known to be intermittent (22)
|
77657ad to
109b0ed
Compare
|
|
|
@bors-servo try |
|
🔨 Triggering try run (#6122749740) with platform=all and layout=all |
|
Test results for linux-wpt-layout-2013 from try job (#6122749740): Flaky unexpected result (19)
Stable unexpected results that are known to be intermittent (18)
|
|
Test results for linux-wpt-layout-2020 from try job (#6122749740): Flaky unexpected result (12)
Stable unexpected results that are known to be intermittent (19)
|
|
✨ Try run (#6122749740) succeeded. |
109b0ed to
195df45
Compare
|
Okay. This one is ready for review. |
| use style_traits::DevicePixel; | ||
| use style_traits::SpeculativePainter; | ||
| use webrender_api::{units, ColorF, HitTestFlags, ScrollClamping}; | ||
| use webrender_api::{units, ColorF, HitTestFlags /*, HitTestFlags*/}; |
There was a problem hiding this comment.
Can the commented item be removed?
There was a problem hiding this comment.
Thanks for pointing this out. I have removed the commented out use statement.
This slightly expands text boundaries in order to take into account the fact that layout isn't measuring glyph boundaries.
195df45 to
6e3e430
Compare
This change upgrades WebRender to the upstream version as of May 25, 2021.
Upgrading to even newer versions requires even more adaptation of Servo to
adapt to APIs removed upstream.
I have made one concession in this upgrade which is that I have backported the
hit testing APIs that Servo relies on. In general, these are low impact
WebRender changes and this gives us margin to no longer rely on them.
In addition to the changes required in Servo, some tests start to fail. These
are likely due to timing and pixel alignment changes introduced in WebRender.
It is difficult to observe these failures locally and definitely not when using
Servo interactively. The upgrade also exposes some bad behavior that we have
around sticky frames. Hopefully the implementation of sticky in the new layout
system will fix this.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors