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

Add public API for enabling QT_WIDGETS_HIGHDPI_DOWNSCALE

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • None
    • All

      a.k.a. stabilize QT_WIDGETS_HIGHDPI_DOWNSCALE

      The downscale feature improves support for fractional scale factors by rendering the UI at the next higher integer scale factor, and then downscaling the backing store frame buffer to the target scale factor.

      For instance, a Qt application running on a Windows 175% scale display will render at DPR 2 instead of 1.75 when QT_WIDGETS_HIGHDPI_DOWNSCALE is enabled.

      Tasks:

      • Deduplicate "enable" code (https://codereview.qt-project.org/c/qt/qtbase/+/581269/)
      • Determine type of API
        • Qt::AA_ application attribute
        • Qt::WA_ widget attribute
        • both/other?
      • Determine how the QT_WIDGETS_RHI dependency should be handled (auto enable, or add API for that as well, or ...)
      • Add auto-test to prevent regressions
      • Write Documentation
      • Write Blog

        For Gerrit Dashboard: QTBUG-127790
        # Subject Branch Project Status CR V

            sorvig Morten Sørvig
            sorvig Morten Sørvig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change