Repository navigation
Use more WebRender types in gfx - #19824
Conversation
|
Heads up! This PR modifies the following files:
|
|
@bors-servo try |
Use more WebRender types in gfx Removes ImageBorder details from gfx. Use WebRender BorderRadius in BoxShadow. Stores cursors as integer. Use FilterOp, BorderWidths from WebRender. Store content_rect as LayoutRect. This amends #19782. <!-- 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/19824) <!-- Reviewable:end -->
|
☔ The latest upstream changes (presumably #19798) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
|
Rebased. |
|
r? @glennw |
|
r? @mrobinson As you already reviewed the previous PR (#19782) can you have a look here too? The S-needs-rebase is outdated. |
mrobinson
left a comment
There was a problem hiding this comment.
This looks really great. Feel free to land when the nit is fixed.
| }, | ||
| let details = match border_style_struct.border_image_source { | ||
| Either::First(_) => Some(BorderDetails::Normal(NormalBorder { | ||
| left: webrender_api::BorderSide { |
There was a problem hiding this comment.
I think it would be better to just include BorderSide and use it directly.
|
@bors-servo delegate+ |
|
✌️ @pyfisch can now approve this pull request |
Removes ImageBorder details from gfx. Use WebRender BorderRadius in BoxShadow. Stores cursors as integer. Use FilterOp, BorderWidths from WebRender. Store content_rect as LayoutRect.
|
@bors-servo r+ r=mrobinson |
|
📌 Commit 8bb50ac has been approved by |
|
💡 This pull request was already approved, no need to approve it again. |
|
📌 Commit 8bb50ac has been approved by |
Use more WebRender types in gfx Removes ImageBorder details from gfx. Use WebRender BorderRadius in BoxShadow. Stores cursors as integer. Use FilterOp, BorderWidths from WebRender. Store content_rect as LayoutRect. This amends #19782. <!-- 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/19824) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
Removes ImageBorder details from gfx.
Use WebRender BorderRadius in BoxShadow.
Stores cursors as integer.
Use FilterOp, BorderWidths from WebRender.
Store content_rect as LayoutRect.
This amends #19782.
This change is