Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. QSurfaceFormat::​setSwapInterval with negative parameter
Qt 6.11 is out! See what's new in the release blog

QSurfaceFormat::​setSwapInterval with negative parameter

Scheduled Pinned Locked Moved Game Development
2 Posts 2 Posters 1.6k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Good evening! I'm planning to port my graphic engine to Qt. Currently it is based on FreeGLUT, but Qt is of course a much more powerful toolkit.

    I make use of (GLX/WGL)_swap_control_tear extension through GLEW, it allows to use a negative swap interval. This is very useful to limit CPU usage without the risk of dropping the frame rate.
    Does Qt support it? QSurfaceFormat::setSwapInterval doc says nothing about it.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agocs
      wrote on last edited by
      #2

      It doesn't. Intervals < 0 will be ignored.

      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