Commit 6f734aec authored by Keith Packard's avatar Keith Packard

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.
parent 197aa784
......@@ -1341,14 +1341,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, &current->transform);
transform_encode (client, &reply->currentInverse, &current->inverse);
extra += transform_filter_encode (client, extra,
&reply->currentNbytesFilter,
&reply->currentNparamsFilter,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment