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

Issues with changing mipmap for image elements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.4
    • 6.4
    • Quick: SceneGraph
    • None
    • db4ea7790a4bcf5650a2e745184cae32ca3fee5c

    Description

      Trying to change mipmap property of Image doesn't actually change it, instead the initial value remains used. Attached simple tester app which should every second toggle the mipmap value.

      There are actually 2 issues there:

      1) Getting "QSGPlainTexture: Mipmap settings changed without having image data available. Call setImage() again or enable m_retain_image. Falling back to previous mipmap filtering mode." and the mipmap doesn't change. Doesn't change even when trying to invalidate resources with QQuickWindow releaseResources().

      2) When the mipmap is not its initial value and image size animates, getting a lot of those "QSGPlainTexture: Mipmap settings changed without..." warnings (if disabling m_mipmap_warned). I think we shouldn't constantly hit that code path even when m_mipmap_warned prevents multiple debug prints?

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes