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
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
If an activity includes another Surface that also calls eglMakeCurrent() the app shows a number of EGL_BAD_DISPLAY crashes with the following exception on the Java side:
Caused by: java.lang.Error: eglSwapBuffers() failed
at com.mapbox.mapboxsdk.maps.NativeMapView.nativeRender(Native Method)
at com.mapbox.mapboxsdk.maps.NativeMapView.render(SourceFile:177)
This seems to be due to not resetting the firstRender flag in native_map_view.cpp. Resetting it to true on destroySurface() fixes it.
Additionally, we don't have any test activities with another (GL) surface to test this situation. We should add a new one to the Test App.
If an activity includes another Surface that also calls
eglMakeCurrent()
the app shows a number ofEGL_BAD_DISPLAY
crashes with the following exception on the Java side:This seems to be due to not resetting the
firstRender
flag innative_map_view.cpp
. Resetting it totrue
ondestroySurface()
fixes it.Additionally, we don't have any test activities with another (GL) surface to test this situation. We should add a new one to the Test App.
Possibly related: #6647.
cc: @ivovandongen @tobrun
The text was updated successfully, but these errors were encountered: