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

Add public API for enabling QT_WIDGETS_HIGHDPI_DOWNSCALE

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change