weston/libweston/backend-drm
Daniel Stone 267f6cc6a1 backend-drm: Move drm_fb reference to state-propose
Currently we take a reference on the underlying client buffer every time
we materialise a drm_fb from a view, and release it when the drm_fb is
destroyed. This means that we need to create and destroy a drm_fb every
time we want to use it, which is pathologically unperformant on some
platforms.

To start working towards being able to cache drm_fb, only take the
reference when we apply it to a plane state.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2021-12-08 13:38:18 +00:00
..
drm-gbm.c backend-drm: add DRM_FORMAT_MOD_INVALID to modifier sets when no modifiers are supported 2021-04-27 19:56:38 +00:00
drm-internal.h backend-drm: add KMS plane's formats to per-surface dma-buf feedback 2021-11-25 11:16:52 -03:00
drm-virtual.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
drm.c backend-drm: Free scanout format table after use 2021-12-08 13:38:18 +00:00
fb.c backend-drm: Move drm_fb reference to state-propose 2021-12-08 13:38:18 +00:00
kms.c Fix TTY switching after failed failed repaint with legacy mode set. 2021-09-29 12:17:58 +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 libweston/backend/drm: might need EGL 2020-10-26 15:44:34 +01:00
modes.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
state-helpers.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
state-propose.c backend-drm: Move drm_fb reference to state-propose 2021-12-08 13:38:18 +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