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

QRhi: texture strides

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15, 6.x
    • Fix Version/s: 6.2.0 Alpha
    • Component/s: Qt RHI
    • Labels:
      None
    • Commits:
      7ccd2d02463f8076631bc45e5bf1386c61037dc7 (qt/qtbase/dev)

      Description

      Hello,
      All graphics API allow to set the stride of uploaded textures.
      For instance:

      This is useful for instance for GPU video playback: some videos are decoded into slightly wider buffers for decoder efficiency reasons; e.g. a 720 * 576 video may be decoded in a 768 * 576 texture with the 48 rightmost pixels of each line to be ignored.

      could this feature be added to the QRhiTextureSubresourceUploadDescription API in some way ? Even at texture construction time would already be very useful

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes