Skip to content

platform/drm: Fix clipped HiDPI hardware cursors

Vlad Zahorodnii requested to merge work/hidpi-cursor-rendering into master

If an output is rotated, we will compute a transform matrix for the cursor plane to rotate its contents.

In order to compute that matrix we need the rect of the cursor in the device-independent pixels, the scale factor and the output transform.

The problem is that we provide a rect of the cursor in the native pixels. This may result in the cursor being partially or fully clipped.

CCBUG: 424589

Merge request reports

Loading