Diffusion KWin 2931404f68f3

[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 different coordinates spaces - the window
pixmap coordinates, the window coordinates, and the buffer coordinates.

This change introduces two helper methods for mapping points from the
window pixmap coordinates between the other two.

The main motivation behind this change is too completely break the
direct relationship between the window pixmap coordinates and the buffer
coordinates, which will be needed for wp_viewporter stuff.

Details

Committed
zzagMay 23 2020, 3:07 PM
Parents
R108:6caad6ee2f9a: Merge branch 'Plasma/5.19'
Branches
Unknown
Tags
Unknown