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

Rendering stalls in glyph cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.5.1
    • 5.0.0
    • Quick: SceneGraph
    • None

    Description

      I am observing non-smooth rendering with an AMD Z430 GPU. The long frame times appear to occur due to QSGDefaultDistanceFieldGlyphCache::storeGlyphs() (in particular the call to resizeTexture() appears to be slow).

      Changing QSGDefaultDistanceFieldGlyphCache::useWorkaroundBrokenFBOReadback() to return true greatly improves the situation. However, there are still significant missed frames.

      Adding a QElapsedTimer to storeGlyphs, and flicking a list with text, the following times are initially reported (in ms):
      178, 46, 72, 66, 69
      with the workaround enabled, the times are (in ms):
      21, 22, 30, 22, 21

      Attachments

        Issue Links

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

          Activity

            People

              ylopes Yoann Lopes
              mbrasser Michael Brasser
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes