1
General / Re: SFML + QML
« on: November 24, 2020, 08:36:50 pm »
Thanks again for your reply !
I still have a small question with Qt, it is possible to share data from opengl contexts.
But I need to "link" my native context to a Qt context.
For that, I need to get the "GLXContext" of my SFML texture render, is it possible ?
Sources :
https://doc.qt.io/qt-5/qopenglcontext.html#setNativeHandle
https://doc.qt.io/qt-5/qglxnativecontext.html -> class I want to instantiate
https://doc.qt.io/qt-5/qopenglcontext.html#setShareContext
I do not despair yet ^^
I still have a small question with Qt, it is possible to share data from opengl contexts.
But I need to "link" my native context to a Qt context.
For that, I need to get the "GLXContext" of my SFML texture render, is it possible ?
Sources :
https://doc.qt.io/qt-5/qopenglcontext.html#setNativeHandle
https://doc.qt.io/qt-5/qglxnativecontext.html -> class I want to instantiate
https://doc.qt.io/qt-5/qopenglcontext.html#setShareContext
I do not despair yet ^^