aboutsummaryrefslogtreecommitdiff
path: root/xcursor/wlr_xcursor.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-21 18:12:05 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-02-24 18:22:20 +0000
commitfef8ab22e3bc8e073b63ec2cc612d91d8b81a9f6 (patch)
tree37e7d96fcaf197dae2b62746d5a9a9aa474ec332 /xcursor/wlr_xcursor.c
parent59acc69737488be7c8c68b00a7a7d97027c7e20e (diff)
output: introduce wlr_output_configure_primary_swapchain()
The goal is to simplify wlr_output by moving all of its rendering API into separate helpers. Here is a first step to sunset wlr_output_attach_render(). Instead, compositors call wlr_output_configure_primary_swapchain(), wlr_swapchain_acquire(), wlr_renderer_begin_with_buffer() and wlr_output_attach_buffer(). Note that compositors can supply a base struct wlr_output_state. This is useful to allocate a buffer suitable for submission with a modeset, for instance. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3079 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3197 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3984
Diffstat (limited to 'xcursor/wlr_xcursor.c')
0 files changed, 0 insertions, 0 deletions