Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
weston
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 273
    • Issues 273
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 120
    • Merge Requests 120
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Issues
  • #47

Closed
Open
Opened Sep 15, 2014 by Bugzilla Migration User@bugzilla-migration

Simplify/unify Weston's transformation code

Submitted by Derek Foreman @derek

Assigned to Wayland bug list

Link to original bug (#83895)

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

Depends on

  • Bug 83989
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: wayland/weston#47