wlroots-hyprland/include
emersion b877daded1 backend/drm: better hotplug handling
This commit handles better situations in which the number of
connected outputs is greater than the number of available CRTCs.
It'll enable as many outputs as possible, and transfer CRTCs to
outputs that need one on unplug.

This changes CRTC and plane reallocation to happen after scanning
DRM connectors instead of on modeset.

This cleanups CRTCs and planes on unplug to allow them to be
re-used for other outputs.

On modeset, if an output doesn't have a CRTC, the desired mode is
saved and used later when the output gains a CRTC.

Future work includes giving priority to enabled outputs over
disabled ones for CRTC allocation. This requires the compositor to
know about all outputs (even outputs without CRTCs) to properly
modeset outputs enabled in the compositor config file and disable
outputs disabled in the config file.
2018-09-04 15:09:07 +02:00
..
backend backend/drm: better hotplug handling 2018-09-04 15:09:07 +02:00
render gles2: change context when it is not current 2018-08-03 07:43:22 +02:00
rootston Init dmabuf global in renderer 2018-09-02 08:50:43 +02:00
types Merge pull request #1127 from emersion/surface-precommit 2018-07-27 13:21:03 -04:00
util Another round of feedback from acrisci 2018-07-14 09:52:34 +02:00
wlr Merge pull request #1213 from arandomhuman/wlr_log_get_verbosity 2018-09-03 11:15:12 -04:00
xcursor Add xcursor sublibrary 2017-08-07 21:13:04 -04:00
xwayland xwayland: Introduce set_role event 2018-09-03 17:07:14 +10:00
meson.build config: Avoid clash with other config-headers 2017-12-27 17:13:58 +01:00