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

Have profiling of renderloop make sense

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.3.1
    • Quick: SceneGraph
    • None

    Description

      The profiler tracking of the render loops is a bit jibberish at the moment. Even though all the render loops go through the exact same stages, the profiler integration is split into a number of render loop specific blocks, none of which make a lot of sense.

      Ideally the profiler should track the following steps in the render loop:

      • polish – The time items spend touching up before rendering
      • sync – The time spent copying QML state into the scene graph
      • animation – The time spent running animations
      • rendering – The time spent in the scene graph renderer
      • swap – The time spent swapping the frame to screen.

      The scene graph renderer has a separate profiling hook which is a breakdown of the 'rendering' step.

      The profiler frames should be changed to reflect these and the UI should be adapted accordingly.

      A few of the other frame tags are also very poorly named:

      • SceneGraphAdaptationLayerFrame -> DistanceField glyph preparation
      • SceneGraphContextFrame -> Shader compilation

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            sletta Gunnar Sletta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: