weston/libweston/backend-drm
Michael Olbrich 4cde507be6 backend-drm: fix plane sorting
The planes in the plane_list must be sorted from largest zpos_max to smallest.

Currently the plane order is only correct when the planes are already ordered
and added starting with the smallest zpos_max. This works accidentally in most
cases because the primary plane is usually first and there is often only one
overlay plane or the zpos is sufficiantly configurable.

To fix this, insert a new plane before the first plane with a smaller zpos_max.
And if none is found, insert it at the end of the list.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2022-08-31 08:28:55 +02:00
..
drm-gbm.c libweston: Remove runtime render switching 2022-07-26 13:40:43 +00:00
drm-internal.h backend-drm: delay mode switches until the last commit is completed 2022-08-08 14:37:50 +00:00
drm-virtual.c backend-drm: check that outputs and heads are in fact ours 2022-06-10 09:27:43 +00:00
drm.c backend-drm: fix plane sorting 2022-08-31 08:28:55 +02:00
fb.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
kms-color.c Revert "backend-drm: add HDR_OUTPUT_METADATA definitions" 2022-06-07 09:35:14 +01:00
kms.c backend-drm: check that outputs are in fact ours 2022-06-23 14:00:04 +00: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 Revert "backend-drm: add HDR_OUTPUT_METADATA definitions" 2022-06-07 09:35:14 +01: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: move drm objects from backend to drm device 2022-06-03 09:17:15 +02:00
state-propose.c libweston: Remove runtime render switching 2022-07-26 13:40:43 +00: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