Hello,
I spent a couple of days porting Dolphin to QNX, and I'm at the point of a game rendering properly inside a window. However, I am quite confused as to how input should be handled. Dolphin uses Qt and SDL, each of which has its own notion of a window and of handling input. But for rendering the game I had to create a new native window to host the EGL context. That window is not associated with any event loop.
How is it all supposed to come together? Is there a reason why Dolphin does not use a Qt window for the game? Or an SDL window? Perhaps I got it wrong when creating a new native window, but I don't see which existing window is supposed to be used for rendering. The default `GLContextEGL::GetEGLNativeWindow()` code returns a display cast to a window, which seems odd.
--Elad
I spent a couple of days porting Dolphin to QNX, and I'm at the point of a game rendering properly inside a window. However, I am quite confused as to how input should be handled. Dolphin uses Qt and SDL, each of which has its own notion of a window and of handling input. But for rendering the game I had to create a new native window to host the EGL context. That window is not associated with any event loop.
How is it all supposed to come together? Is there a reason why Dolphin does not use a Qt window for the game? Or an SDL window? Perhaps I got it wrong when creating a new native window, but I don't see which existing window is supposed to be used for rendering. The default `GLContextEGL::GetEGLNativeWindow()` code returns a display cast to a window, which seems odd.
--Elad