wlroots/include/wlr
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/wayland: introduce wlr_wl_output_set_app_id() 2024-06-26 19:43:20 +00:00
interfaces pointer: release pressed buttons on destroy 2024-09-24 19:53:54 +00:00
render render/color: return tranform in wlr_color_transform_ref() 2024-08-24 11:07:58 +02:00
types Support direct scanout with src crop and dst boxes 2024-10-22 18:28:09 +01:00
util util/box: Introduce wlr_box_contains_box 2024-08-06 20:00:01 -04:00
xwayland xwayland: add wlr_xwayland_surface_has_window_type() 2024-08-10 16:10:34 +00:00
backend.h backend: add timeline feature flag 2024-10-11 17:11:35 +00:00
config.h.in render/color: introduce wlr_color_transform 2024-04-26 17:17:36 +00:00
meson.build Version pkgconfig, headers, and library for parallel installation 2024-05-27 22:15:00 +00:00
version.h.in Drop WLR_VERSION_API_* 2021-06-29 12:22:55 +02:00
xcursor.h examples, tinywl: use "default" cursor instead of "left_ptr" 2023-02-01 15:00:42 +01:00
xwayland.h xwayland: split headers 2022-11-02 19:00:23 +01:00