Add fixed-point versions of weston_surface_{to, from}_global
authorDaniel Stone <daniel@fooishbar.org>
Tue, 8 May 2012 16:17:53 +0000 (17:17 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 8 May 2012 18:40:51 +0000 (14:40 -0400)
commitbd3489b6e1657a036327c079abbd7da1c50799dc
tree36c1848b74261cf97db1d0af0a9d616e64058e65
parenteb95d0de7ea5f9a5e23eb6757987dcec4a9add3b
Add fixed-point versions of weston_surface_{to, from}_global

To be used by input code, paralleling the existing integer versions.

Enlarge the surface_{to,from}_global_float input types to GLfloat to
avoid losing precision.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor.c
src/compositor.h