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. Android OpenGL FBO multisampling (MSAA)
Forum Updated to NodeBB v4.3 + New Features

Android OpenGL FBO multisampling (MSAA)

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.3k 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.
  • T Offline
    T Offline
    tower120
    wrote on last edited by
    #1

    Is there any way to have frame buffer multisampling (MSAA) on Android qt GLWidget/QtQuick app?
    I read somewhere that android HAVE multisampling (not sure about FBO). But how to enable it?

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

      For QGLWidget, try setting a QGLFormat via setFormat() that has sampleBuffers set to true and samples to 4 (for 4x msaa).
      For QQuickWindow/QQuickView, pass a QSurfaceFormat with samples set to 4.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tower120
        wrote on last edited by
        #3

        It does not work with my android device. It stays non antialiased.

        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