https://bugs.freedesktop.org/show_bug.cgi?id=83895

          Priority: medium
            Bug ID: 83895
          Assignee: [email protected]
           Summary: Simplify/unify Weston's transformation code
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to