Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74406 Abstract away the graphics APIs in Qt
  3. QTBUG-78669

Software adapter should be requestable via env.var.

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 5.14
    • Qt RHI, Quick: SceneGraph
    • None

    Description

      As QTBUG-78648 shows, sometimes we will want to use a software-based adapter / physical device. For APIs other than D3D and Vulkan this will not be applicable as we do not have the necessary level of support for enumerating adapters / physical devices.

      To make this simple, QRhi has a flag called PreferSoftwareRenderer which picks the first software / CPU adapter / physical device. This may also be handy for testing (CI) purposes later on. As the public interface to QRhi is currently Qt Quick, we need to have a QSG_ environment variable that corresponds to this flag.

       

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-78669
          # Subject Branch Project Status CR V

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes