xserver/hw
Hans de Goede bcad1b813a xwayland: Add xwlVidModeGetCurrentRRMode helper to the vidmode code
crtc->mode reflects the mode set through the xrandr extension, once we
add support for also changing the mode through the vidmode extension this
will no longer correctly reflect the emulated resolution.

Add a new xwlVidModeGetCurrentRRMode helper which determines the mode by
looking at the emulated_mode instead.

Likewise add a xwlVidModeGetRRMode helper and use that in
xwlVidModeCheckModeForMonitor/xwlVidModeCheckModeForDriver to allow any
mode listed in the randr_output's mode list.

This is a preparation patch for adding emulated mode/resolution change
support to Xwayland's XF86 vidmode extension emulation.

Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2019-10-12 12:19:14 +02:00
..
dmx Fix various spelling errors 2019-10-01 17:05:28 +00:00
kdrive Fix various spelling errors 2019-10-01 17:05:28 +00:00
vfb vfb: add DRI3/glamor support 2019-10-11 12:03:42 +00:00
xfree86 glamor_egl: disable modifiers via glamor_init() 2019-10-11 12:03:42 +00:00
xnest Add ddxInputThread call from os layer into ddx layer 2019-02-25 15:48:03 +00:00
xquartz XQuartz: translate additional mouse buttons 2019-08-24 00:57:02 +00:00
xwayland xwayland: Add xwlVidModeGetCurrentRRMode helper to the vidmode code 2019-10-12 12:19:14 +02:00
xwin hw/xwin: Add -icon option to set the screen window icon in windowed mode 2019-09-18 19:11:45 +00:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00