-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Performance issues on iOS 14 #46
Comments
I did have a look into the issue and there doesn’t seem to be any related changes in the core library so hopefully the fix could be cherry picked from https://github.com/mapbox/mapbox-gl-native-ios/pull/411/files?file-filters%5B%5D=.h&file-filters%5B%5D=.md&file-filters%5B%5D=.mm |
Hi @petr-pokorny-1 @degtiarev, Yes it seems that relevant parts of https://github.com/mapbox/mapbox-gl-native-ios/pull/411/files can be applied and in my tests seems to fix the performance issue with annotations. Created PR #60 |
Hi, Is it already cherry picked and resolved by Maplibre team? |
Hi @roman-mykitchak, yes the cherry pick PR was merged to master, have you tried the performance with the latest version? However the PR seems to cause some assertion failure in metal-support -branch as noted here. So we'll need to have look what is causing that before closing this issue. |
@juhieta I am experiencing similar lag as @roman-mykitchak, has this change been released yet? AFAIK last official release was in March, and since then there's just this pre-release. Did anyone test using the Metal support yet? |
Hi @ferologics, unfortunately it has not yet been released (the last iOS release was done before the #60 merge). There's this one assertion check fail that needs to be checked on the Metal branch. Btw, if MGLSymbolStyleLayer and MGLShapeSource work for your use case, they are better performing option in general. |
@juhieta thanks for the pointer, unfortunately we have to use custom annotation views. I suppose there won't be a release before Metal support is rolled out @petr-pokorny-1 ? Could anyone instruct me on how to test with this change in a fork? As simple as pointing to master branch? Or do we need to build and point to a custom binary with the change? |
I think there was a release since the last comment. Did you see performance improvements, @ferologics or @degtiarev? |
Hi. There are performance issues that appears when there's any Custom annotation in the current viewpoint on mapview. I guess these issues are critical for anyone who shows Custom annotations on mapview.
They are noticeable even in this simple example from mapbox doc.
Mapbox team fixed them in v6.2.0. These are two issues from mapbox/mapbox-gl-native-ios connected with them:
This commit does not fix the issues I described.
The text was updated successfully, but these errors were encountered: