Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QOpenGLTexture and Shared QOpenGLContext glitches



  • Hi,

    I'm trying to generate QOpenGLTextures into a separated thread to avoid waisting time uploading textures into the main thread. However I see a lot of glitches, sometimes the "texture" shown is my desktop or any other image stored in the framebuffer.

    As a result, I'm not sure I have the right to do that. Do I need to use a QOpenGLFramebufferObject? If yes, how to create a texture into a QOpenGLFramebufferObject from a QImage

    Thank you.