When running a Qt Quick application with QSG_RHI=1 QSG_RHI_BACKEND=gl we get rendering via OpenGL, but it will go through QRhi.
Even if Quick 3D is rendering directly via OpenGL, it should still be functional in this setup.
Currently this is not the case since the rhi path of Quick needs a slightly different approach for connecting to the overlay/underlay signals like QQuickWindow::beforeRendering(). Also createTextureFromId() is not something that should be called.
Figure out how to make it work regardless of using or not using the rhi-based rendering path.
|For Gerrit Dashboard: QTBUG-79221|
|277506,7||Make it functional when Quick is running on QRhi with the OpenGL backend||5.14||qt/qtquick3d||Status: MERGED||+2||0|
|277548,5||rhi: gl: Do not let external rendering trash our vao||5.14||qt/qtbase||Status: MERGED||+2||0|
|277560,4||Clarify some rhi related QQuickWindow docs||5.14||qt/qtdeclarative||Status: MERGED||+2||0|