Repository navigation
Enable anisotropic filtering only beyond 20 degrees pitch - #12577
Merged
Merged
Conversation
mourner
reviewed
Feb 20, 2023
stepankuzmin
force-pushed
the
fix-anisotropic-filtering
branch
from
March 2, 2023 12:05
9d8aacd to
787508a
Compare
mourner
approved these changes
Mar 3, 2023
mourner
left a comment
Member
There was a problem hiding this comment.
Looks good to me! One final thing I'd check just in case is that the filter on draw doesn't incur any performance penalties, but otherwise good to go. Not sure what's going on with the CodeBuild failing but I guess that's a fluke.
Contributor
Author
|
I've run a benchmap, and it seems that the fix doesn't affect the rendering performance https://sites.mapbox.com/benchmap-js-results/runs/1358 |
6 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable anisotropic filtering on tiles beyond 20 degrees pitch to prevent it from compromising image crispness on flat or low-tilted maps. This is a backport from GL Native. Closes #7331
mapbox-gl-js/src/render/draw_raster.js
Lines 81 to 85 in a3ef365
Also:
puppeteer-coreandselenium-webdriverto the latest versionsLaunch Checklist
mapbox-gl-jschangelog:<changelog>Enable anisotropic filtering on tiles beyond 20 degrees pitch to prevent it from compromising image crispness on flat or low-tilted maps.</changelog>