Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 341
    • Issues 341
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • weston
  • Issues
  • #99
Closed
Open
Issue created Dec 26, 2017 by Bugzilla Migration User@bugzilla-migration

Output transforms 90 and 270 are inverted

Submitted by emersion

Assigned to Wayland bug list

Link to original bug (#104389)

Description

The spec [1] says that wl_output::transform's rotation is counter-clockwise.

However, configuring an output with a 90 degree rotation results in a clockwise rotation. The output rotation reported by weston-info is 90.

90 and 270 degree rotations are swapped. Their flipped variants are swapped too.

This isn't a big issue inside weston because weston apps (like weston-terminal) will behave correctly: they'll rotate their surfaces of 90 degrees clockwise and advertize via wl_surface::set_buffer_transform a 90 degree rotation.

This is more of an issue with other compositors. If another compositor wants to follow the spec, weston apps won't work correctly in this compositor.

[1] https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_output-enum-transform

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking