Details
-
Suggestion
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
5.11.1
-
None
-
Windows 10 build environment
Description
I'm working with an unreleased VR dev kit that's based on Android. The SDK for presenting VR images requires access to the native window surface: `ANativeWIndow*`. There doesn't appear to be any way to access the underlying window surface from Qt C++ code. I believe it might be possible to work with the EGLSurface instead, but again, there's no way of accessing this, either through the QPlatformNativeInterface or the QOpenGLContext::nativeHandle mechanisms. Nor can I find any mechanism of fetching the JNI object for the android Surface object for a given GL window.
I'm currently looking at potentially modifying QtActivityDelegate.java to try to hack something together for a prototype, but with the core Qt libraries, this dev kit is completely unusable.