mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 23:28:05 +02:00
Eliminate inverse matrix from randr transform protocol
It is easier, and potentially more precise, to compute the inverse in the server where everything can eventually be kept in floating point form.
This commit is contained in:
parent
fd7b5e2c28
commit
71267eb380
1 changed files with 0 additions and 2 deletions
|
|
@ -1332,14 +1332,12 @@ ProcRRGetCrtcTransform (ClientPtr client)
|
|||
reply->hasTransforms = crtc->transforms;
|
||||
|
||||
transform_encode (client, &reply->pendingTransform, &pending->transform);
|
||||
transform_encode (client, &reply->pendingInverse, &pending->inverse);
|
||||
extra += transform_filter_encode (client, extra,
|
||||
&reply->pendingNbytesFilter,
|
||||
&reply->pendingNparamsFilter,
|
||||
pending);
|
||||
|
||||
transform_encode (client, &reply->currentTransform, ¤t->transform);
|
||||
transform_encode (client, &reply->currentInverse, ¤t->inverse);
|
||||
extra += transform_filter_encode (client, extra,
|
||||
&reply->currentNbytesFilter,
|
||||
&reply->currentNparamsFilter,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue