Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QOpenGLFrameBufferObject blitting with QOpenGLWidget
Qt 6.11 is out! See what's new in the release blog

QOpenGLFrameBufferObject blitting with QOpenGLWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 620 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    snow45
    wrote on last edited by
    #1

    I am upgrading a Qt4 app to Qt5. On the Qt4 side I have a QGLWidget with a separate thread that does all the rendering. I have updated both of these to follow the mechanism described in the QOpenGLWidget docs and seen in the Qt5 examples. My scfreens updates are a bit jerky on the Qt5 side, so I want to try and use blitting as mentioned in the QOpenGLWidget docs to see if there is any improvement. I tried by creating a QOpenGLFrameBufferObject in the rendering thread and then used the fbo handles to call glBlitNamedFramebuffer but I always had a seg fault.

    How do you properly blit as mentioned in th Qt docs?

    Note: I am very new to opengl and the Qt4 app was written previously. I'm just updating it.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved