[PATCH] Eliminate inverse matrix from randr transform protocol

Keith Packard keithp at keithp.com
Fri Nov 14 14:12:47 PST 2008


It is easier, and potentially more precise, to compute the inverse in the
server where everything can eventually be kept in floating point form.
---
 randr/rrcrtc.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 6559d51..e0fafce 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -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,
-- 
1.5.6.5




More information about the xorg mailing list