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. QOpenGLWindow::grabFramebuffer() returns flipped imaged *sometimes*
Forum Updated to NodeBB v4.3 + New Features

QOpenGLWindow::grabFramebuffer() returns flipped imaged *sometimes*

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

    I have an application which uses Qt5/Qt6. On some hardware (e.g. Intel) QOpenGLWindow::grabFramebuffer() returns vertically flipped image, while on other (Nvidia) it returns a proper image. On the other hand in when the application core uses GLES then on Intel I have a proper image as well.

    Qt is used for interface only so all matrices are set by the applications and the assume flipped Y axis. We also have other interfaces (e.g. Gtk and WinAPI) and with them everything works fine everywhere.

    How can I make QOpenGLWindow::grabFramebuffer() always return images in the same orientation?

    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