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

Blitframebuffer source/destinationRect not intuitive when mipLevel is specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8
    • Qt3D
    • None
    • All

    Description

      The source and/or target of a BlitFramebuffer may specify a mipLevel. In that case, the sourceRect/destinationRect are incorrectly interpreted (specifically the y value) as the code at https://codebrowser.dev/qt6/qt3d/src/plugins/renderers/opengl/graphicshelpers/submissioncontext.cpp.html#1576 uses the base mip level 0 height. As an example, given a base texture size of 512, when working with mipLevel 3, I'd expect to be able to specify the rect as Qt.rect(0, 0, 64, 64). Instead I must currently specify it as Qt.rect(0, 512 - 64, 64, 64).

       

       

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes