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

Extend the list of formats supported by QRhiTexture

XMLWordPrintable

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

      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!

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes