Diffusion KWin 5b609fc7a74e

[scene] Introduce helpers for mapping between different coordinate spaces

Authored by zzag on May 23 2020, 3:07 PM.

Description

[scene] Introduce helpers for mapping between different coordinate spaces

We currently deal with three distinct coordinate spaces - the window
pixmap coordinate space, the window coordinate space, and the buffer
pixel coordinate space.

This change introduces a couple of helper methods to make it easier
to map points from the window pixmap space to the other two spaces.

The main motivation behind the new helpers is to break the direct
relationship between the surface-local coordinates and buffer pixel
coordinates for wayland surfaces.

Details

Committed
zzagJun 2 2020, 6:21 AM
Parents
R108:e302c3600da6: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown