Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.2.1 QQuickFrameBufferObject: multisampling not working
QtWS25 Last Chance

Qt 5.2.1 QQuickFrameBufferObject: multisampling not working

Scheduled Pinned Locked Moved Mobile and Embedded
qt 5.2.1qquickframebuffmultisampling
3 Posts 2 Posters 1.6k 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.
  • O Offline
    O Offline
    okieh
    wrote on last edited by
    #1

    Hello,

    I'm using a QQuickFramebufferObject and Renderer two draw custom graphics with OpenGL ES 2.0. I'm not able to switch to a newer Version of Qt!

    I have implemented my class based on the this Qt Blog article.

    My problem is, that I want to enable multisampling, but it isn't working. In the article they say multisampling can be enabled by setting the sample counter in QOpenGLFramebufferObjectFormat greater than zero:

    Finally, it is worth noting that QQuickFramebufferObject is also prepared to handle multisampling and screen changes.
    Whenever the QOpenGLFramebufferObject returned from createFramebufferObject() has multisampling enabled (the QOpenGLFramebufferObjectFormat has a sample count greater than 0 and multisampled framebuffers are supported by the OpenGL implementation in use), the samples will be resolved with a glBlitFramebuffer call into a non-multisampled FBO after each invocation of render(). This is done transparently to the applications so they do not have to worry about it."

    Finally I know that multisampling is working, because I also draw some stuff with the QQuickPainter and this graphic is multisampled.
    I have the same result if I run my programm for the embedded linux target or my linux working machine.

    Thanks for your help in advance!

    Best regards
    Heiko

    1 Reply Last reply
    0
    • O Offline
      O Offline
      okieh
      wrote on last edited by
      #2

      Hello,

      no ideas?
      Do you need a minimal project from me?

      Best regards
      Heiko

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Yes, a minimal compilable project would be good. Unless people hit the same problem as you, recreating the same setup is not easy. You should also provide your Qt version and OS

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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