wlroots/backend/drm
David Turner c87ab6465d Support direct scanout with src crop and dst boxes
Enable scene-tree direct scanout of a single buffer with various options
for scaling and source crop. This is intended to support direct scanout
for fullscreen video with/without scaling, letterboxing/pillarboxing
(e.g. 4:3 content on a 16:9 display), and source crop (e.g. when
1920x1088 planes are used for 1920x1080 video).

This works by explicitly specifying the source crop and destination box
for the primary buffer in the output state.  DRM atomic and libliftoff
backends will turn this into a crop and scale of the plane (assuming the
hardware supports that).  For the Wayland/X11/DRM-legacy backends I just
reject this so scanout will be disabled.

The previous behaviour is preserved if buffer_src_box and buffer_dst_box
are unset: the buffer is displayed at native size at the top-left of the
output with no crop.

The change to `struct wlr_output_state` makes this a binary breaking
change (but this works transparently for scene-tree compositors like
labwc after a recompile).
2024-10-22 18:28:09 +01:00
..
atomic.c Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
backend.c backend/drm: fix timeline feature flag on multi-GPU setups 2024-10-12 17:12:29 +02:00
drm.c backend/drm: fix timeline feature flag on multi-GPU setups 2024-10-12 17:12:29 +02:00
fb.c backend/drm: add drm_fb_copy() 2024-03-04 11:25:33 +01:00
gen_pnpids.sh backend/drm: use libdisplay-info to parse EDID 2023-02-28 14:44:02 +00:00
legacy.c Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
libliftoff.c Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
meson.build add an option to enable/disable libliftoff 2024-06-05 22:33:05 -06:00
monitor.c backend/drm: drop wl_display argument 2024-01-25 15:05:36 +00:00
properties.c backend/drm: add support for explicit sync APIs 2024-08-06 17:37:06 +00:00
renderer.c backend/drm: add explicit sync support to multi-GPU blits 2024-08-26 18:09:27 +02:00
util.c backend/drm: improve doc comment for match_connectors_with_crtcs_() 2024-09-02 17:12:32 +00:00