[PATCH xserver 2/2] randr: Use RRCrtcGetScanoutSize() in ProcRRSetScreenSize()

Keith Packard keithp at keithp.com
Tue Jan 9 21:21:52 UTC 2018


Alex Goins <agoins at nvidia.com> writes:

> RRCrtcGetScanoutSize() adds a significant amount of complexity compared to
> simply checking the rotation and swapping width and height, since it operates by
> applying the transformation matrix crtc->transform to the mode.

There's also an implicit assumption that when a transform is applied,
there will be a shadow buffer and so the scanout buffer need not be
large enough to hold the whole image. I don't know if that's useful in
practice, but that is why there are two different paths here.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180109/5e829d2a/attachment.sig>


More information about the xorg-devel mailing list