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

Can't display raster or GL in 10-bit color depth on most platforms

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6, 6.7
    • QPA: Windows
    • None
    • Linux/Wayland, macOS, Windows

    Description

      I'm trying to paint 16-bit QImage using QPainter in Qt application using 10-bit deep color monitor, here are my results:

      • Linux/X11 with `DefaultDepth 30` Xorg config - Works (color banding almost not visible)
      • Linux/Wayland - Doesn't work (color banding visible)
      • Windows - Doesn't work (color banding visible)
      • macOS - Doesn't work (color banding visible)

      Any platform:

      • QPainter + QtWidgets OpenGL composition enabled with `GL_RGB10_A2` texture format - Doesn't work (color banding visible) when painted on different widget, works when painted directly on QOpenGLWidget only on Linux/X11 with `DefaultDepth 30` Xorg config
      • Vulkan application using native Vulkan API calls - Works (color banding almost not visible) - it means my monitor / system config is working correctly

       

      Is it any chance to improve 10-bit deep color in Qt for non-X11 platforms and/or QPainter with OpenGL widgets compositing?

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            zaps166 Błażej Szczygieł
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes