Skip to content

Revert "Fix fill outline rendering (#10456)" - #10562

Merged
astojilj merged 1 commit into
mainfrom
astojilj-r10456
Apr 14, 2021
Merged

astojilj merged 1 commit into
mainfrom
astojilj-r10456

Conversation

@astojilj

Copy link
Copy Markdown
Contributor

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) :

Screen Shot 2021-04-13 at 13 24 59

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

  • briefly describe the changes in this PR
  • include before/after visuals or gifs if this PR includes visual changes
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores
  • manually test the debug page
  • tagged @mapbox/map-design-team @mapbox/static-apis if this PR includes style spec API or visual changes
  • tagged @mapbox/gl-native if this PR includes shader changes or needs a native port
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
  • add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog></changelog>

Reverting because of change in behavior with no pitch on mobile.

This reverts commit 32ceb58.
@mpulkki-mapbox

Copy link
Copy Markdown
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.

@astojilj
astojilj merged commit 438cf20 into main Apr 14, 2021
@astojilj
astojilj deleted the astojilj-r10456 branch April 14, 2021 07:02
@astojilj

Copy link
Copy Markdown
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

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.

2 participants