mutter/src/backends/x11/nested
Hans de Goede 7917b083cb monitor-manager: Take drm-connector panel-orientation property into account
Some x86 clamshell design devices use portrait tablet LCD panels while
they should use a landscape panel, resoluting in a 90 degree rotated
picture.

Newer kernels detect this and rotate the fb console in software to
compensate. These kernels also export their knowledge of the LCD panel
orientation vs the casing in a "panel orientation" drm_connector property.

This commit adds support to mutter for reading the "panel orientation"
and transparently (from a mutter consumer's pov) fixing this by applying
a (hidden) rotation transform to compensate for the panel orientation.

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

https://bugzilla.gnome.org/show_bug.cgi?id=782294
2017-12-25 17:01:45 +08:00
..
meta-backend-x11-nested.c monitor-manager: Keep pointer to backend 2017-10-05 16:18:43 -04:00
meta-backend-x11-nested.h tests: Make test backend inherit MetaBackendX11Nested 2017-03-09 10:17:30 +08:00
meta-cursor-renderer-x11-nested.c Don't duplicate declarations from G_DEFINE_TYPE 2015-09-24 03:01:51 +02:00
meta-cursor-renderer-x11-nested.h backends/x11: Draw our own cursor sprite when running nested 2015-09-13 21:26:22 +08:00
meta-renderer-x11-nested.c monitor-manager: Take drm-connector panel-orientation property into account 2017-12-25 17:01:45 +08:00
meta-renderer-x11-nested.h x11/nested: Always draw to an offscreen framebuffer 2017-04-07 22:30:49 +08:00