[Wayland-bugs] [Bug 83895] New: Simplify/unify Weston's transformation code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 15 08:26:53 PDT 2014


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

          Priority: medium
            Bug ID: 83895
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Simplify/unify Weston's transformation code
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: derekf at osg.samsung.com
          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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140915/f861d03f/attachment.html>


More information about the wayland-bugs mailing list