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. Anti-aliasing in Qt OpenGL with ANGLE
Forum Updated to NodeBB v4.3 + New Features

Anti-aliasing in Qt OpenGL with ANGLE

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.6k 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.
  • M Offline
    M Offline
    MByte
    wrote on 13 Apr 2013, 07:44 last edited by
    #1

    When using ANGLE with Qt on Windows, lines drawn in a QGLWidget context are not anti-aliased on my Windows 8 64-bit machine (Geforce GTX 260). Setting the usual hints (QGL::SampleBuffers, QPainter::Antialiasing, and QPainter::HighQualityAntialiasing) seem to have no effect. This is odd because WebGL in Chrome's ANGLE works fine, as does anti-aliasing in non-Qt programs. Text anti-aliasing also works. Does anybody have any idea how to get anti-aliasing to work? It used to work with desktop OpenGL in Qt 4.8.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      amund_l
      wrote on 18 Apr 2013, 17:17 last edited by
      #2

      I don't think OpenGL ES 2 supports antialiasing, and since ANGLE use OpenGL ES 2.0 API it is not supported in the default Qt 5.0.0. Qt 5.0.2 lets you choose whether to use OpenGL or ANGLE, so I suppose you should investigate how to run OpenGL instead of ANGLE.

      1 Reply Last reply
      0

      1/2

      13 Apr 2013, 07:44

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved