This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Get GL ES 2.0 working on emulator #573
Labels
Android
Mapbox Maps SDK for Android
Comments
Now I get this on Android 5.0 emulator: 12288 is 0x3000, which is EGL_SUCCESS! That means eglChooseConfig is returning EGL_FALSE to say it failed, but not setting the eglGetError() code to something. Bad... |
OK I got it working in emulator after trying many combos. We can't use EGL_CONFORMANT, EGL_OPENGL_ES2_BIT in eglChooseConfig, despite the fact that later on eglGetConfigAttrib tells us EGL_CONFORMANT = EGL_OPENGL_ES_BIT | EGL_OPENGL_ES2_BIT for every config it returns! Emulator also does not like EGL_COLOR_BUFFER_TYPE, EGL_RGB_BUFFER, setting that causes eglChooseConfig to fail. |
OK done 4854527 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Me and @springmeyer can't get the app to run on the emulator due to it not providing any GL ES 2.0 configs from eglChooseConfig when using EGL_CONFORMANT = EGL_OPENGL_ES2_BIT.
I submitted it to Google to see what they say:
https://code.google.com/p/android/issues/detail?id=78977
The text was updated successfully, but these errors were encountered: