wayland::serv...tput_transform(3)
π wayland::server::output_transform(3) π
okay so bestie, welcome to another iconic page from Wayland++, manual section 3 β yes the C++ library-binding one. grab a strawberry π, this one is literally just a little enum-flavored glow-up and it's so cute.
πΈ NAME πΈ
wayland::server::output_transform β transform from framebuffer to output
like, the whole vibe is "how do we turn a framebuffer into an actual output, rotation-wise". that's it. that's the girl. π
β¨ SYNOPSIS β¨
#include <wayland-server-protocol.hpp>
π Static Public Attributes π
every single one of these is a <mint>static const</mint> <cyan>wayland::detail::bitfield< 3, 21 ></cyan> and they are all just different rotation moods:
normalβ no transform (the unbothered, moisturized, in-her-lane one π)_90β 90 degrees counter-clockwise_180β 180 degrees counter-clockwise_270β 270 degrees counter-clockwiseflippedβ 180 degree flip around a vertical axisflipped_90β flip and rotate 90 degrees counter-clockwiseflipped_180β flip and rotate 180 degrees counter-clockwiseflipped_270β flip and rotate 270 degrees counter-clockwise
the full declarations for the record, character for character:
static const wayland::detail::bitfield< 3, 21 > normal
static const wayland::detail::bitfield< 3, 21 > _90
static const wayland::detail::bitfield< 3, 21 > _180
static const wayland::detail::bitfield< 3, 21 > _270
static const wayland::detail::bitfield< 3, 21 > flipped
static const wayland::detail::bitfield< 3, 21 > flipped_90
static const wayland::detail::bitfield< 3, 21 > flipped_180
static const wayland::detail::bitfield< 3, 21 > flipped_270
π¦ Detailed Description π¦
okay so here's the tea, transform from framebuffer to output:
this describes the transform that a compositor will apply to a surface to compensate for the rotation or mirroring of an output device. like your monitor decided it's β¨differentβ¨ and is now sideways about it. π
the flipped values correspond to an initial flip around a vertical axis followed by rotation. so flip first, spin second β not the other way around. order matters, bestie. π₯
the purpose is mainly to allow clients to render accordingly and tell the compositor, so that for fullscreen surfaces, the compositor will still be able to scan out directly from client surfaces. it's giving "let the client do the work so the compositor can just vibe and scan out". no cap, that's a genuine efficiency slay. π
Definition at line 3992 of file wayland-server-protocol.hpp.
π Member Data Documentation π
every member, accounted for, no girl left behind. π«Ά
π _180 [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::_180
180 degrees counter-clockwise.
Definition at line 4003 of file wayland-server-protocol.hpp.
π _270 [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::_270
270 degrees counter-clockwise.
Definition at line 4005 of file wayland-server-protocol.hpp.
π _90 [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::_90
90 degrees counter-clockwise.
Definition at line 4001 of file wayland-server-protocol.hpp.
π flipped [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::flipped
180 degree flip around a vertical axis.
Definition at line 4007 of file wayland-server-protocol.hpp.
π flipped_180 [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::flipped_180
flip and rotate 180 degrees counter-clockwise.
Definition at line 4011 of file wayland-server-protocol.hpp.
π flipped_270 [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::flipped_270
flip and rotate 270 degrees counter-clockwise.
Definition at line 4013 of file wayland-server-protocol.hpp.
π flipped_90 [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::flipped_90
flip and rotate 90 degrees counter-clockwise.
Definition at line 4009 of file wayland-server-protocol.hpp.
π normal [static]
const wayland::detail::bitfield<3, 21>
wayland::server::output_transform::normal
no transform.
Definition at line 3999 of file wayland-server-protocol.hpp.
π§ Author π§
Generated automatically by Doxygen for Wayland++ from the source code. yes bestie, a robot wrote this one, and honestly? it ate. πβ¨
and that's the whole page fr fr π this was Version 1.0.1, dated Fri Mar 27 2026 β mwah, go rotate something counter-clockwise for me, ily, bye! ππ π
π¦ where this page comes from
- ubuntu stonking: waylandpp-dev 1.0.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms