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

Extend the list of formats supported by QRhiTexture

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.1, 6.5.2
    • Qt RHI
    • None
    • All

    Description

      Hello there!

      Just a small request (or so it seems).

      I'm implementing custom RHI texture (QSGTexture subclass) and I would really like to see several more RBG formats available, namely RGBA16 and RGBA32. From what it seems, all RHI backends support them (even if not, that can be checked - QRhi::isTextureFormatSupported), so required changes are minimal. Tested OpenGL and d3d11 source code update myself.

      (current list of RBG formats is: RGBA8, BGRA8, RGBA16F, RGBA32F and RGB10A2)

      Thanks!

       

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              nerodsm nerodsm
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change