Android OpenGL FBO multisampling (MSAA)



  • 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?



  • 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.



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


Log in to reply