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. QOpenGLWidget loop and glFinish()
Forum Updated to NodeBB v4.3 + New Features

QOpenGLWidget loop and glFinish()

Scheduled Pinned Locked Moved Unsolved General and Desktop
qopenglwidget
1 Posts 1 Posters 796 Views
  • 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.
  • Y Offline
    Y Offline
    yoavmil
    wrote on last edited by yoavmil
    #1

    I am build a 3D viewer, sometimes rendering heavy stuff. and I want to render it over and over again. Using QOpenGLWidget.
    the problem is that the previous frame isn't fully rendered, and I get just a few triangles, and the frame is re-rendered again.
    in order to render again right after last rendering finished, I tried to use a QTimer, with 0 interval, calling update(), didn't help.
    tried to call update() at the end of paintGL(), didn't help.
    tried to connect to frameSwapped, didn't help.
    and it looks line glFinish() isn't blocking.

    please advise.

    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