Simplify/unify Weston's transformation code
@derek
Submitted by Derek Foreman Assigned to Wayland bug list
Description
Weston's renderers may use different co-ordinate systems and have conceptually different ways of handling image data (pixman moves the pixels, gl moves the rectangle they're drawn on)
We currently represent transformations with a handful of floats(scale, translation) and an enum(monitor orientations).
This makes the pixman renderer easily broken since a lot of cases (all the monitor orientations) have to be considered for every change.
By creating transformation matrices and reducing as many of these special cases as possible to simple matrix multiplication we should be able to make the pixman renderer more maintainable and simplify a lot of other code as well.
Current work in progress at: https://github.com/ManMower/weston/commits/transforms
Based on the work started at: https://github.com/jekstrand/weston/commits/wip/transforms