mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 14:06:00 +01:00
23e37e7b1d
This is necessary for direct scan-out and other upcoming features. This patch changes the output API to look like the wl_surface API. Outputs now have some double-buffered state: the frame to be submitted (currently only wlr_renderer frames are supported) and the damaged region. To attach a pending frame, use wlr_output_attach_render. To set the pending damaged region, use wlr_output_set_damage. To submit the pending state, call wlr_output_commit. This will submit the pending frame to the backend. To migrate from the old API to the new one: - Replace wlr_output_make_current calls by wlr_output_attach_render - Replace wlr_output_swap_buffers calls by wlr_output_set_damage and wlr_output_commit |
||
---|---|---|
.. | ||
.gitignore | ||
cat.c | ||
cat.h | ||
dmabuf-capture.c | ||
foreign-toplevel.c | ||
fullscreen-shell.c | ||
gamma-control.c | ||
idle-inhibit.c | ||
idle.c | ||
input-inhibitor.c | ||
input-method.c | ||
layer-shell.c | ||
meson.build | ||
multi-pointer.c | ||
output-layout.c | ||
pointer-constraints.c | ||
pointer.c | ||
relative-pointer-unstable-v1.c | ||
rotation.c | ||
screencopy.c | ||
screenshot.c | ||
simple.c | ||
tablet.c | ||
text-input.c | ||
toplevel-decoration.c | ||
touch.c |