Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64433

[Reg 5.9.0->5.9.2] Setting anti-aliasing has no effect when rendering to a frame buffer object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.9.2
    • GUI: Painting
    • None

    Description

      Anti-aliasing can be set to QPainter with http://doc.qt.io/qt-5/qpainter.html#setRenderHint or to QQuickPaintedItem with http://doc.qt.io/qt-5/qquickpainteditem.html#setAntialiasing.

      In a test application both seem to work with the default setting when QPainter paints to QImage using the raster engine. But when frame buffer  object is used, setting anti-aliasing does not have an effect.

      From http://doc.qt.io/qt-5/qquickpainteditem.html#RenderTarget-enum  QQuickPaintedItem::FramebufferObject: "Painting can be faster as no texture upload is required, but anti-aliasing quality is not as good as if using an image.

      This regressed between 5.9.0 and 5.9.2

      The behavior is different from 5.5.1

      Attachments

        1. PaintedItem.zip
          4 kB
        2. PaintedItem-tok.zip
          4 kB
        3. qtbug64433_comparison.png
          qtbug64433_comparison.png
          67 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            patmcgowan Pat McGowan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes