You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix frames not rendered when user sets refresh rate (#5802)
Fixes https://mapbox.atlassian.net/browse/MAPSAND-2287
The issue was visible in the following scenario:
1. User calls set user refresh rate to 60 (and display refresh rate is
also 60)
2. A few frames are rendered, for example 30
3. User calls set user refresh rate to 30
Observed:
- The `performPacing` method was returning false due to `drawFrameIndex`
having lower values (due to the new refresh ratio) than
`previousDrawnFrameIndex`.
The fix is to reset the values every time the user or display refresh
rate changes.
cc @mapbox/maps-android
GitOrigin-RevId: bdb1556e2603f34bc6ff88c706997a07e46e17e2
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Mapbox welcomes participation and contributions from everyone.
8
8
9
9
## Bug fixes 🐞
10
10
* Fix potential ANR (Application Not Responding) issue when retrieving display refresh rate during map initialization by offloading the system call to a background thread with proper timeout and fallback handling.
11
+
* Fix frames skipped when calling `mapView.setMaximumFps(..)` multiple times.
11
12
12
13
## Dependencies
13
14
* Update Mapbox GeoJSON library to [v7.5.0](https://github.com/mapbox/mapbox-java/releases/tag/v7.5.0).
0 commit comments