sna: Apply affine transformations to HW cursors

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 13 March 2015 06:33 UTC

Until now we only applied pixel-exact rotations to the cursors. However, this left the cursors ignoring scaling and so appearing incorrect on outputs with transformations applied. An extra complications comes from making sure that the scaling routine is signal safe.

d867d48 sna: Apply affine transformations to HW cursors
src/sna/blt.c | 238 +++++++++++++++++++++++++++++++++++++++++++++++++
src/sna/sna.h | 10 +++
src/sna/sna_display.c | 197 +++++++++++++++++++++++++++++++---------
3 files changed, 405 insertions(+), 40 deletions(-)

Upstream: cgit.freedesktop.org


  • Share