[PATCH xserver 2/2] randr: Use RRCrtcGetScanoutSize() in ProcRRSetScreenSize()
Michel Dänzer
michel at daenzer.net
Wed Jan 10 10:01:59 UTC 2018
On 2018-01-09 10:21 PM, Keith Packard wrote:
> 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.
Sounds like we only want patch 1 then?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180110/dac13abb/attachment.sig>
More information about the xorg-devel
mailing list