-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix label clipping by switching to layer-by-layer rendering #1727
Closed
Closed
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
7aeca98
Implement layer by layer rendering
ansis 735bbba
Fixed circle rendering
21e278c
Diff cleanup
a8beee0
Fix Tile#hasLayerData
889e0cd
Fix fill z-index problems
7727552
Fixed test-suite crashes from image_source and video_source
b61fa84
Fix fill draw order
36f339c
Fix symbol rendering order
b7da3a2
Fix debug mode
93cc75f
Fix collision debug mode
06ff436
Fixed background wrapping
3ab839a
Fixed tile wrapping and overzooming
3d11ad3
Fixed circle rendering
b4a7fa9
Fix overzoomed debug mode
295c95b
WIP
ca58225
Fixed line render order
64a5a4a
Fixed debug mode's rendering of underzoomed tiles
06d4593
Fix background rendering order
88e0307
Fix lint errors
5746f0d
Fix fill outline clipping
cc7d527
Fix symbol clipping
34a18ff
Fix fill pattern outline
4aad08a
Fixed image and video source rendering
85c0f80
Fix overzoomed tile rendering
ce34fce
Updated test-suite
e72a756
Refactored painter render methods
f3c8672
Factored out Source#renderedTiles
deeac5a
Remove _drawClippingMasks's dependency on tiles
f3a2d26
Don't pass tiles to draw functions
9c64002
Use instances of TileCoord instead of ids
2addcf5
Rename "calculateMatrix" to "calculatePosMatrix"
4052d6d
Fixed tile rendering order
39a68da
Remove tile#sourceMaxZoom
51e2636
Simplify draw_fill diff
9a090fc
Simplify ImageSource and VideoSource diffs
5479a8f
Remove unnecessary maxzoom parameter in TilePyramid
aa62470
Bike shedding in Painter class
a1c474a
Removed TODO
7625a12
Rerefactoring
29e10be
Refactored to use Coordinate instead of TileCoord in ImageSource and …
0906985
Don't pass infinity to calculatePosMatrix
c9d5dd3
Restored switchShader API
cfc43e9
layer-by-layer-ize draw_circle
392db57
Fix collision debug mode
56af94c
WIP
50e7cad
layer-by-layer-ify draw_fill
df192bc
Added comment about sublayers in Painter
516d9cb
Added comment about earcut migration
82300d4
Draw background in one call WIP
16004ce
Rename painter.setDepthMaskEnabled
1c5a555
Reverted draw_background changes
f1ee84c
Fix lint
7715e51
Make terminology consistent with gl native
e0b3aa5
Don't draw circles during opaque pass
96c85f6
remove unecessary blend func changes
ansis aaa7e63
remove feature and line order reversal
ansis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Native aborts early if it's not the translucent pass. Do we need that here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. Added.