weston/libweston/backend-drm
Philipp Zabel 9e070c0840 backend-drm: obtain DRM backend from listener in session_notify()
The session_listener is embedded in the DRM backend structure.
Use this to obtain the DRM backend with container_of().

That way the DRM backend will not have to be found from the compositor.
This is trivial now, but in the multi-backend case would entail
iterating over all backends to find the correct one.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
2023-04-19 13:36:45 +00:00
..
drm-gbm.c backend-drm: import cursors on non gbm outputs 2023-03-03 08:08:46 +00:00
drm-internal.h backend-drm: schedule connector disable for detached head 2023-04-18 11:11:21 +02:00
drm-virtual.c backend-drm/drm-virtual: Hang off the drm_backend 2023-02-20 12:41:03 +02:00
drm.c backend-drm: obtain DRM backend from listener in session_notify() 2023-04-19 13:36:45 +00:00
fb.c backend-drm: Pass view alpha to plane state and commit 2023-03-30 17:29:57 +01:00
kms-color.c Revert "backend-drm: add HDR_OUTPUT_METADATA definitions" 2022-06-07 09:35:14 +01:00
kms.c backend-drm: schedule connector disable for detached head 2023-04-18 11:11:21 +02:00
libbacklight.c libbacklight: Fix backlight never gets initialized 2022-04-11 08:38:00 +03:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build backend-drm: import GBM bo to scanout device if necessary 2023-03-03 08:08:46 +00:00
modes.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
state-helpers.c backend-drm: Pass view alpha to plane state and commit 2023-03-30 17:29:57 +01:00
state-propose.c backend-drm: Pass view alpha to plane state and commit 2023-03-30 17:29:57 +01:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00