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

Switch to wl_surface.damage_buffer for shared memory clients

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 6.0, 6.1.0 RC
    • None
    • QPA: Wayland
    • None
    • Linux/Wayland
    • 314fd6db51277224cdc799b039ef79db1101f5cd (qt/qtwayland/dev)

    Description

      Shared memory clients currently send wl_surface.damage events, which are warned against in the wayland protocol:

      Note! New clients should not use this request. Instead damage can be
      posted with wl_surface.damage_buffer which uses buffer coordinates
      instead of surface coordinates.

      So although technically still supported, support for this request may become spotty in the future, and some compositors may start falling back to non-partial updates in order to simplify their code and circumvent scaling issues with wp_viewporter and buffer scale.

      We should start using the new API if the compositor has wl_compositor 4 or newer.

      Attachments

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              johanhelsing Johan Helsing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes