KhronosGroup / KhronosGroup/OpenXR-Docs
GLSurfaceView report EGL_BAD_SURFACE error
- Dominant language
- Python
- Stars
- 181
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I want to integrate OpenXR on Android platform
I use GLSurfaceView in the Java layer, GLSurfaceView have inited EGL environment in GLThread, this all in Java layer.
And I use OpenXR in native code, use eglGetCurrentContext to get EGLContext, use eglGetCurrentDisplay to get EGLDisplay, they all look fine, but when after onDrawFrame, GLSurfaceView report an EGL_BAD_SURFACE error(actually is eglSwapBuffers return this error), GLThread is blocked,draw frame only call once.
can anyone help me?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Android GLSurfaceView flow described in the Java layer and trace the native OpenXR calls around eglGetCurrentContext, eglGetCurrentDisplay, and eglSwapBuffers. The issue does not name files, a failing test, a requested code change, or an acceptance condition; done would require identifying why EGL_BAD_SURFACE occurs and documenting or fixing that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- ar-vr-xr, mobile-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100