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

qml runtime tool have no option to share opengl context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Alpha
    • 5.15.0
    • QML: Tooling
    • None
    • Raspberry Pi 4 / Raspbian 10 / Xcb
    • Linux/X11
    • 0af76a1c5fe5d2c5ed70154a579175578cee1555 (qt/qtdeclarative/dev)

    Description

      Previously Qt was bundled with `qmlscene` tool considered to be used for testing.

      Later the `qml` tool was introduced intended for production usage scenarios.

       

      However in contrast to `qmlscene` the newer tool have no option to set `AA_ShareOpenGLContext` option resulting into poor performance.

       

      The attached example plays video from YouTube using QtWebEngine component.

      With `qmlscene` on given platform it produces ~25fps whereas with `qml` resulting fps is about ~12-13.

       

      Same poor results could be achieved with `qmlscene` if using `--disable-context-sharing` or `–software` options.

       

      Attachments

        1. context.qml
          0.8 kB
          Roman Valov

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              romanvalov Roman Valov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes