mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-29 15:00:14 +01:00
Currently we have the following situation: we add a scanout tranche because if the client re-allocates with another format/modifier, the chances of being placed in a DRM/KMS plane is higher. But then we run out of overlay planes. So we remove the scanout tranche, because the format/modifier available in the renderer tranche are optimal for rendering. Now Weston detects again that the format/modifier is what may be avoiding the view being place in a plane, re-adding the scanout tranche. And we have an endless loop. To avoid this, let's accumulate the reasons why placing the view in a place failed. So if we detect that we don't have planes available, no matter the format/modifier, we won't add the scanout tranche. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> (cherry picked from commit 2d88b9b03a8f4d32a145ae8e34d90a6a9206d9b0) |
||
|---|---|---|
| .. | ||
| drm-gbm.c | ||
| drm-internal.h | ||
| drm-virtual.c | ||
| drm.c | ||
| fb.c | ||
| kms-color.c | ||
| kms.c | ||
| libbacklight.c | ||
| libbacklight.h | ||
| meson.build | ||
| modes.c | ||
| state-helpers.c | ||
| state-propose.c | ||
| vaapi-recorder.c | ||
| vaapi-recorder.h | ||