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 #3943

Merged
merged 4 commits into from May 9, 2020
Merged

Conversation

@moz-gfx
Copy link

moz-gfx commented May 9, 2020

No description provided.

kvark and others added 4 commits May 9, 2020
The fix for bug 1621390 extended the tile backdrop computation to recognize
images. This patch extends that to consider gradients as potential
backdrops as well.

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

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/c504d0a26475ad7da98bbea3eecfd6298f05588f
When we animate text, we rasterize the glyphs in an arbitrary local
space once, and scale them during the animation. Some glyphs may be
pressed against the edge of the texture, resulting in artifacts due to
how the sampling works in the shader. This patch fixes the sampling
issues by padding glyph textures with an extra transparent pixel border.
This only applies to glyphs that are rasterized in local space.

This patch does not add the extra padding for Mac because it is already
padding its glyphs for Mac-specific reasons, and does not appear to be
as suspectible to the problem.

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

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

moz-gfx commented May 9, 2020

@bors-servo r=auto

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2020

📌 Commit 544af48 has been approved by auto

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2020

Testing commit 544af48 with merge 0ffb21a...

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2020

☀️ Test successful - status-taskcluster
Approved by: auto
Pushing 0ffb21a to master...

@bors-servo bors-servo merged commit 0ffb21a into servo:master May 9, 2020
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.