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

QML image mipmap should check if the opengl driver supports it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.3.1
    • Quick: SceneGraph
    • None
    • embedded linux
    • 0a6323c2de23bd7a23e44ff3a534b06f7be994c6

    Description

      If a QML image is using an image whats size is not power of two and the image is shrinked, it is displayed incorectly. Qt should check if the opengl driver supports mipmaps.

      Image{
          anchors.centerIn: parent
          source: "./some-test-image.png";
          mipmap: true
          width: sourceSize.width / 2
          height: sourceSize.height / 2
      }
      

      Attachments

        1. clock_bad.png
          clock_bad.png
          6 kB
        2. clock_good.png
          clock_good.png
          6 kB
        3. Screenshot.png
          Screenshot.png
          4 kB

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes