sna: Handle rotated slaved scanouts

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 17 July 2014 09:20 UTC

As per the usual handling of rotated scanouts with unsupported rotations, we stage the drawing onto a backbuffer then rotate onto the crtc later. The difference here is that we must read the contents from the master pixmap rather than our own screen pixmap.

Spotted was looking at slaved scanouts mistakenly setting the CRTC transformed flag.

a45b2ea sna: Handle rotated slaved scanouts
src/sna/sna_display.c | 155 +++++++++++++++++++++++++++++++++++--------------
src/sna/sna_driver.c | 5 ++
2 files changed, 116 insertions(+), 44 deletions(-)

Upstream: cgit.freedesktop.org


  • Share