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

Does Qt Quick need gfx api probing logic? (6.x?)

    XMLWordPrintable

Details

    Description

      Consider an improved probing logic in addition to the static QSG_RHI_BACKEND (or setSceneGraphBackend()) setting. What if we want the Qt Quick application to try Vulkan first and then fall back to OpenGL if that fails, for example?

      Note that in some cases it is not trivial to recognize if the graphics API is unsupported: as QTBUG-78648 shows, the fact that D3D11 is not supported only becomes apparent when trying to create an actual ID3D11 resource, such as a vertex shader. Successfully creating an ID3D11Device is not sufficient to decide if we D3D11 is ok or not, apparently. (see also the Remarks section in https://docs.microsoft.com/en-us/windows/win32/api/dxgi/nf-dxgi-idxgiadapter-checkinterfacesupport )

       

       

      Attachments

        Issue Links

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

          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