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

Bug/stencil tiles #1871

Merged
merged 5 commits into from
Nov 16, 2023
Merged

Bug/stencil tiles #1871

merged 5 commits into from
Nov 16, 2023

Conversation

TimSylvester
Copy link
Collaborator

@TimSylvester TimSylvester commented Nov 15, 2023

Fixes incorrect ordering of tiles rendered to the stencil buffer, causing low-zoom tiles to be rendered over high-zoom tiles in some cases, particularly between the completion of loading prefetch tiles (see setPrefetchZoomDelta) and their removal.

This seems to be the root cause of #1845. ... and #1846

Also fixes incorrect use of renderTiles in the background layer and depth write options on fill drawables.

https://osmus.slack.com/archives/C04SSR0S78B/p1700070024256889?thread_ts=1699920382.735459&cid=C04SSR0S78B

@TimSylvester TimSylvester added bug Something isn't working metal OpenGL Issues related to the OpenGL renderer backend labels Nov 15, 2023
@TimSylvester TimSylvester self-assigned this Nov 15, 2023
Copy link

github-actions bot commented Nov 15, 2023

Bloaty Results 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  -0.0% -54.1Ki  -0.0% -6.89Ki    TOTAL

Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1871-compared-to-main.txt

Compared to d387090 (legacy)

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +19% +22.4Mi  +402% +24.0Mi    TOTAL

Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1871-compared-to-legacy.txt

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (127506c) 85.82% compared to head (cfe1815) 85.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1871      +/-   ##
==========================================
+ Coverage   85.82%   85.84%   +0.01%     
==========================================
  Files         568      568              
  Lines       27979    27973       -6     
==========================================
  Hits        24013    24013              
+ Misses       3966     3960       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@mwilsnd mwilsnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Not seeing either issue with this PR.

@TimSylvester TimSylvester merged commit 3df14ab into main Nov 16, 2023
36 checks passed
@TimSylvester TimSylvester deleted the bug/stencil-tiles branch November 16, 2023 17:33
louwers pushed a commit to louwers/maplibre-native that referenced this pull request Nov 30, 2023
This was referenced Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working metal OpenGL Issues related to the OpenGL renderer backend
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants