[PATCH wayland v2 0/5] Convert input co-ordinates to fixed-point

Daniel Stone daniel at fooishbar.org
Wed May 2 08:53:29 PDT 2012


Hi,
This series is a v2 for the protocol changes I posted earlier; the
three Weston patches remain the same.

Negative and large values are now handled correctly, and the code now
makes use of more sensible multiplication and division rather than
scary (and incorrect) bitshifting and masking.

I've also changed marshal_demarshal to allow it to expect some tests to
fail, so we can verify that trying to marshal too-large fixed-point
numbers fails.

Cheers,
Daniel


More information about the wayland-devel mailing list