weston/libweston/backend-drm
Daniel Stone 98d75e1b23 drm: Remove unnecessary condition in drm_output_render reuse
This condition inside drm_output_render() checks if we can reuse the
existing renderer buffer for the primary plane; this occurs in
mixed-mode composition where a client buffer promoted to a plane has
changed, but the primary plane is unchanged.

We accomplish this by checking if there is no damage on the
primary/renderer plane, and then if there is already a renderer buffer
active on the primary plane: in that case, we can reuse the buffer we
already have.

There was a further condition checking if the width and height were
identical. This was designed to prevent against issues on mode changes.
However, runtime mode changes are already quite broken, and a mode
change will also cause damage on the full plane. We can simply remove
this condition.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2020-03-20 15:25:24 +00:00
..
drm-gbm.c backend-drm: Make boolean fields actually bool 2019-12-11 19:33:20 +00:00
drm-internal.h backend-drm: Parse KMS panel orientation property, apply to weston_head 2020-03-06 21:50:38 +00:00
drm-virtual.c backend-drm: separate out DRM virtual support 2019-10-25 15:32:07 +02:00
drm.c drm: Remove unnecessary condition in drm_output_render reuse 2020-03-20 15:25:24 +00:00
fb.c backend-drm: remove unecessary ifdef checks 2019-11-23 09:57:52 +00:00
kms.c backend-drm: Parse KMS panel orientation property, apply to weston_head 2020-03-06 21:50:38 +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: remove unecessary ifdef checks 2019-11-23 09:57:52 +00:00
modes.c backend-drm: Parse KMS panel orientation property, apply to weston_head 2020-03-06 21:50:38 +00: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: Further checks to skip plane assignment to HW planes 2019-11-22 20:25:20 +02: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