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

MLNCustomStyleLayer + Metal example #2041

Merged
merged 53 commits into from Feb 15, 2024
Merged

Conversation

stefankarschti
Copy link
Collaborator

@stefankarschti stefankarschti commented Jan 19, 2024

  • Rename MLNOpenGLStyleLayer to MLNCustomStyleLayer
  • implement example Metal Custom Layer

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (17e6e7c) 58.43% compared to head (517c173) 58.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2041      +/-   ##
==========================================
+ Coverage   58.43%   58.46%   +0.03%     
==========================================
  Files         569      569              
  Lines       28059    28047      -12     
  Branches    11209    11197      -12     
==========================================
+ Hits        16396    16399       +3     
+ Misses       4151     4146       -5     
+ Partials     7512     7502      -10     

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

Copy link

github-actions bot commented Jan 19, 2024

Bloaty Results (iOS) 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +41.5Ki  +0.3% +48.0Ki    TOTAL

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

@stefankarschti stefankarschti marked this pull request as ready for review January 19, 2024 15:56
Copy link
Collaborator

@louwers louwers left a comment

Choose a reason for hiding this comment

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

This is great!

There are still some references to OpenGL in MLNCustomStyleLayer.mm (in the comments).

MLNOpenGLLayerHost should also be renamed?

Can LimeGreenStyleLayer.mm be updated to work with Metal?

Could you add an entry to the changelog in platform/ios/CHANGELOG.md? I can take care of this one.

@louwers louwers added the iOS label Jan 21, 2024
Copy link

github-actions bot commented Jan 22, 2024

Bloaty Results 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0% +23.3Ki  +0.0% +1.29Ki    TOTAL

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

Compared to d387090 (legacy)

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +18% +21.2Mi  +398% +23.8Mi    TOTAL

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

@stefankarschti stefankarschti marked this pull request as draft January 22, 2024 18:11
@stefankarschti stefankarschti changed the title Rename MLNOpenGLStyleLayer to MLNCustomStyleLayer MLNCustomStyleLayer + Metal example Feb 1, 2024
@bsudekum
Copy link
Contributor

bsudekum commented Feb 8, 2024

I'm surprised there are no merge conflicts after #1948 merged 🤔 .

@stefankarschti
Copy link
Collaborator Author

stefankarschti commented Feb 8, 2024

Oh but there are plenty... I'm in the process of resolving them. 😄

@stefankarschti stefankarschti merged commit 1d00e5b into main Feb 15, 2024
30 checks passed
@stefankarschti stefankarschti deleted the mlncustomstylelayer-refactor branch February 15, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

6 participants