DRM database property: rotation
Back to index
Details
- Name
rotation
- Flags
- <none>
- Type
- bitmask
- Attached to
- plane
- Specification
- {"rotate-0", "rotate-90", "rotate-180", "rotate-270", "reflect-x", "reflect-y"}
Documentation
Rotation is set up with drm_plane_create_rotation_property(). It adds a
rotation and reflection step between the source and destination rectangles.
Without this property the rectangle is only scaled, but not rotated or
reflected.
Possbile values:
"rotate-<degrees>":
Signals that a drm plane is rotated <degrees> degrees in counter
clockwise direction.
"reflect-<axis>":
Signals that the contents of a drm plane is reflected along the
<axis> axis, in the same way as mirroring.
reflect-x::
|o | | o|
| | -> | |
| v| |v |
reflect-y::
|o | | ^|
| | -> | |
| v| |o |
Driver support
✗
adp
✗
apple
✗
ast
✗
bochs-drm
✗
drm-rp1-dsi
✗
evdi
✗
exynos
✗
gma500
✗
imx-drm
✗
imx-lcdif
✗
jmgpu
✗
kirin
✗
meson
✗
mga2
✗
mxsfb-drm
✗
nouveau
✗
panel-mipi-dbi
✗
pvr
✗
qxl
✗
radeon
✗
rcar-du
✗
simpledrm
✗
smifb
✗
sun4i-drm
✗
sunxi-drm
✗
tilcdc
✗
vboxvideo
✗
virtio_gpu
✗
vmwgfx
✗
xlnx