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. Qt OpenGL poor window resizing experience.

Qt OpenGL poor window resizing experience.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 278 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.
  • B Offline
    B Offline
    BloodWiing
    wrote on last edited by BloodWiing
    #1

    Hello,

    I've recently started playing around with Qt and was working on animations. They didn't run smoothly, so I decided to switch over to OpenGL as the renderer. All was good until I tried to resize the window.

    Googling did not help at all (probably because I don't know what terms to put in the search bar to find more fitting results).

    Thought maybe this had something to do with me running a 32bit compiler. Tried x64 MSVC2019 and MinGW, still the same.

    Opened up the "Qt Hello GL 2 Example", it's the exact same effect:
    https://youtu.be/XOrXbjkHu0M
    (Though YouTube isn't the best to show the stuttering, it's close enough)
    The window itself runs at 60 FPS, but drops to about 10 when resizing.

    Am I doing something wrong, is this just an OpenGL issue? I'm really confused.

    Thank you for taking your time to read this.

    EDIT: I've checked the GPU usage.
    Spinning the Qt model around used about 10%
    Resizing the window used about 15%

    I also use Qt 5.15.2

    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