wlroots-hyprland/backend/drm
Simon Ser d9bbc416a6 backend/drm: re-use FBs
Instead of importing buffers to GBM and KMS at each frame, cache them
and re-use them while the wlr_buffer is alive.

This is the same as [1] and [2] but for the DRM backend.

[1]: https://github.com/swaywm/wlroots/pull/2538
[2]: https://github.com/swaywm/wlroots/pull/2539
2021-01-10 11:24:35 +01:00
..
atomic.c backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers 2021-01-10 11:24:35 +01:00
backend.c backend/drm: re-use FBs 2021-01-10 11:24:35 +01:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend/drm: only keep track of local buffer 2021-01-10 11:24:35 +01:00
legacy.c backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers 2021-01-10 11:24:35 +01:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: "scaling mode" is a connector property 2020-11-30 11:57:08 +01:00
renderer.c backend/drm: re-use FBs 2021-01-10 11:24:35 +01:00
util.c drm: add fallback drmModeAddFB for drivers which do not support drmModeAddFB2 2020-12-28 14:15:04 +01:00