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

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Fix Version/s: 5.14
    • Component/s: Qt RHI, Quick: SceneGraph
    • Labels:
      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

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

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              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