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
    • 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

        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:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes