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. why the refresh frame rate is slow?
Forum Updated to NodeBB v4.3 + New Features

why the refresh frame rate is slow?

Scheduled Pinned Locked Moved Unsolved General and Desktop
glsl frame ratequickitem slow
1 Posts 1 Posters 350 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.
  • B Offline
    B Offline
    boyks
    wrote on last edited by
    #1

    I am doing a image processing project. The image processing is implementing using glsl and rendering to a offscreen frame buffer. And then the 2D texture is using the QuickItem.update() to update to the screen.
    My glsl shader of the image processing algorithm takes about 20ms for each 800*600 frame. My problem is the frame rate of the application is about 20fps. I measure the time from end of the glsl processing to the next start of the processing (which I think is the time for display) and it takes about 30ms to display.

    Can anyone tell me what is the problem? all the processing and update is in the same thread.

    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