Repository navigation
Revert "Fix fill outline rendering (#10456)" - #10562
Merged
Merged
Conversation
Reverting because of change in behavior with no pitch on mobile. This reverts commit 32ceb58.
Contributor
|
Thanks for reporting this. There's clearly something weird going on mobile devices. I could not reproduce the bug on a macbook pro with retina display but it is present on (at least) iOS devices as you found out. |
mpulkki-mapbox
approved these changes
Apr 14, 2021
Contributor
Author
|
@mpulkki-mapbox Thanks. @rreusser added a nice tool that might be helpful when debugging the issue on mobile: https://observablehq.com/d/815c05cb06b29d81 |
8 tasks done
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.
Reverting because of change in behavior on mobile.
It is important to reintroduce PR#10456 soon - reverting it because it let to unexpected results on mobile and think it is safer to analyze it offline before reintroducing.
After rebasing gl-native to latest gl-js, multiple render tests started to fail on mobile device bots, both with OpenGL and Metal backend. It doesn't mean that then new behavior is incorrect. However, the change was not targeted with PR#10456, which addresses issues with large pitch values. Difference of behavior in render tests when run on mobile vs desktop bots is noticeable with no pitch and it is also noticeable when running e.g. Street style on mapbox-gl-js, when run on iOS and Android, e.g. (http://localhost:9966/debug/debug.html#19.98/37.7773585/-122.469517/0/2) :
Example render test change (original expectation is displayed when mouse hovers). This change fixes failing render tests in gl-native.
Screen.Recording.2021-04-13.at.9.19.05.mov
This reverts commit 32ceb58.
Launch Checklist
@mapbox/map-design-team@mapbox/static-apisif this PR includes style spec API or visual changes@mapbox/gl-nativeif this PR includes shader changes or needs a native portmapbox-gl-jschangelog:<changelog></changelog>