wlroots/include
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
..
backend backend/drm: add explicit sync support to multi-GPU blits 2024-08-26 18:09:27 +02:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render/color: Invert ownership model of color_transform types. 2024-08-24 14:33:22 -04:00
types Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
util xdg-toplevel: check that title provided actually is UTF-8 2023-11-22 22:03:00 +03:00
wlr Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
xcursor Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland xwayland/xwm: implement somewhat asynchronous request flushing 2024-10-07 21:51:15 +03:00
meson.build render/color: add fallback stub when LCMS2 is disabled 2024-06-04 17:45:51 +00:00