Diffusion KWin 9d1117022b34

[scene] Port to SurfaceInterface::mapToBuffer()

Authored by zzag on May 23 2020, 6:19 PM.

Description

[scene] Port to SurfaceInterface::mapToBuffer()

SurfaceInterface::mapToBuffer() is a helper method that one could use to
map a QPoint, QSize, QRect or a QRegion from the surface-local coordinates
to the buffer pixel coordinates.

We need this change to properly render cropped or scaled surfaces.

Details

Committed
zzagMay 25 2020, 8:06 AM
Parents
R108:2931404f68f3: [scene] Introduce helpers for mapping between different coordinate spaces
Branches
Unknown
Tags
Unknown