weston/libweston/backend-drm
Marius Vlad 26dcce06d7 backend-drm: Check pixel format before constructing the zpos candidate list
We can determine if the pixel format used by the clients buffer is
scan-out capable much sooner, so do it when constructing the zpos
candidate list. It also removes the checks in their respective
prepare_ functions.

Avoids the situation where we'd need to retrieve the DRM framebuffer each time
when checking the pixel format.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2019-11-11 16:51:48 +00:00
..
drm-gbm.c backend-drm: make GBM optional 2019-10-25 15:32:07 +02:00
drm-internal.h backend-drm: Construct a zpos candidate list of planes 2019-11-11 16:51:48 +00:00
drm-virtual.c backend-drm: separate out DRM virtual support 2019-10-25 15:32:07 +02:00
drm.c backend-drm: Hard-code zpos values if HW doesn't exposes them 2019-11-11 16:51:48 +00:00
fb.c backend-drm: make GBM optional 2019-10-25 15:32:07 +02:00
kms.c backend-drm: Add zpos DRM-property 2019-11-11 16:51:48 +00:00
libbacklight.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build backend-drm: make GBM optional 2019-10-25 15:32:07 +02:00
modes.c compositor-drm: Move mode handling to separate file 2019-06-26 23:08:36 +01:00
state-helpers.c backend-drm: Construct a zpos candidate list of planes 2019-11-11 16:51:48 +00:00
state-propose.c backend-drm: Check pixel format before constructing the zpos candidate list 2019-11-11 16:51:48 +00:00
vaapi-recorder.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00