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

QRhi: texture strides

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 6.2.0 Alpha
    • 5.15, 6.x
    • Qt RHI
    • None
    • 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

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

        Activity

          People

            lagocs Laszlo Agocs
            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