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

Port away from direct OpenGL usage in Multimedia to a reasonable degree

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 6.1
    • Multimedia, Qt RHI
    • None

    Description

      Qt Multimedia features direct OpenGL - and now even Metal - usage in a number of places. Investigate which of these could be removed, or ported over to the QRhi.

      Regardless of the decision, the ability to interoperate with Qt Quick must be ensured, meaning video player items should be functional even when Qt Quick is running with the QRhi and the OpenGL backend, even if multimedia operates by directly using OpenGL.

      Also investigate what the new backends (D3D11, Metal, Vulkan) mean for Multimedia. On Windows for example efficient video playback can now be implemented without going through the ANGLE mess since D3D and D3D textures are first class citizens (when Qt Quick is running with the D3D backend of QRhi, that is)

      For macOS direct Metal usage is being introduced in 5.14 or 5.15. Investigate what this means when Qt Quick is also rendering (or is not rendering) via Metal.

      Consider also the story on Windows and macOS, since will likely not default to using OpenGL anymore, but rather D3D and Metal. How will Multimedia handle this?

       

      Attachments

        Issue Links

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

          Activity

            People

              valentyn.doroshchuk Valentyn Doroshchuk
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes