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

Antialiased renderhint doesn't look correct on first pass, and changes geometry under the OpenGL (ES2) graphicssystem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.7.1
    • None
    • Qt 4.7 running on Nvidia Tegra2 with X11 server 7.6, EGL 1.4, ES 2.0. Qt snapshot from git on 2010/07/07 11 CET.

    Description

      I have noticed two graphics issues while running "examples/effects/fademessage" with the GL graphicssystem. I have attached screenshots.

      1) When running with GL acceleration then the geometry appears to be offset by a pixel (coordinates adjusted). As a result there's a white line on the buttom of the button and also there is a corner-pixel missing in the upper left corner. If this renderhint is only for raster and is not suppose to be used with GL then maybe it should be ignored for the GL paint engine? It looks like there's already a separate value (QPainter::HighQualityAntialiasing) specific to GL in http://doc.qt.nokia.com/4.7-snapshot/qpainter.html#RenderHint-enum).

      2) The first time the blue fademessage screen comes up (just after it's launched) I do not see any antialiasing ("blurring") on the lines of the 3x4 colored squares. Only after pressing the Press me button does the antialiasing take effect. Now the curious thing is that sometimes it will actually disappear again and the lines will be sharp/crisp/non-antialiased! The most consistent way to reproduce this that I found is to 1) click Press me for a few times until you have the blue screen, 2) wait 25-40 seconds, 3) press and keep the Press me button pushed in and while the button is held, it looks like antialiasing has been disabled! When the button is release then the antialiasing comes back again.

      The end result is that the boxes can sometimes "jump" a pixel as you toggle the Press me button.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            ndhb Nicolai de Haan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes