Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync changes from mozilla-central gfx/wr #4842

Merged
merged 10 commits into from
Mar 1, 2024
Merged

Conversation

moz-gfx
Copy link

@moz-gfx moz-gfx commented Feb 26, 2024

No description provided.

…-reviewers,lsalzman

This allows extending render task indices to 32 bits without
requiring an increase in the vertex / instance size.

Differential Revision: https://phabricator.services.mozilla.com/D202526

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/b9f2c3f5a805a94fdebf367e5e0bdb964074a3e7
@moz-gfx
Copy link
Author

moz-gfx commented Feb 26, 2024

@bors-servo r=auto

- Increase the border of the rectangles rendered for the APZ minimap.
 - Alter the order in which the minimap rectangles are drawn, such that the
   larger rects are drawn first.

Differential Revision: https://phabricator.services.mozilla.com/D198203

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/b393aaa0e4618b62dc5f2d2c1376610beedb39c1
@moz-gfx
Copy link
Author

moz-gfx commented Feb 26, 2024

@bors-servo r=auto

@bors-servo
Copy link
Contributor

📌 Commit 315b45c has been approved by auto

@moz-gfx
Copy link
Author

moz-gfx commented Feb 27, 2024

@bors-servo r=auto

@bors-servo
Copy link
Contributor

📌 Commit 8d8d0ed has been approved by auto

@moz-gfx
Copy link
Author

moz-gfx commented Feb 28, 2024

@bors-servo r=auto

@bors-servo
Copy link
Contributor

📌 Commit f07d5b7 has been approved by auto

Glenn Watson and others added 4 commits February 28, 2024 16:39
…ewers,lsalzman

It's no longer used now that the quad-based image mask code
is stable and used everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D202889

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/a1e06392575fdfdb7677edec1f9e5bf07f3610a9
…ers,gw

See:
 - https://github.com/rust-lang/rfcs/blob/master/text/3373-avoid-nonlocal-definitions-in-fns.md
 - https://doc.rust-lang.org/reference/items/constant-items.html#unnamed-constant

Peek-poke generate code that will likely be rejected by a future version of rust: implementation of traits inside an expression (the const in our case) that is visible outside of the expression. Fortunately there is an exception for unnamed consts (likely because of the existing ecosystem of macros that declare items in anonymous dummy consts to scope thinsg like imports). So this PR replaced the dummy _DERIVE_peek_poke_FOR_??? const with an unnamed one.

Differential Revision: https://phabricator.services.mozilla.com/D202715

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/08141e744d45bfe826834e52bf84fdd8fb921eb9
@moz-gfx
Copy link
Author

moz-gfx commented Feb 28, 2024

@bors-servo r=auto

@bors-servo
Copy link
Contributor

📌 Commit 8ddce6f has been approved by auto

@moz-gfx
Copy link
Author

moz-gfx commented Feb 28, 2024

@bors-servo r=auto

@bors-servo
Copy link
Contributor

📌 Commit 3ef9354 has been approved by auto

@mrobinson mrobinson merged commit a5d6c7d into servo:master Mar 1, 2024
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants