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

Extend the list of formats supported by QRhiTexture

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.10.0 FF
    • 6.4.1, 6.5.2
    • Qt RHI
    • None
    • All
    • 383ed6267 (dev)

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes