mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
wlr_scene: Add support for custom swapchains
This commit is contained in:
parent
239354d644
commit
8da93e5936
2 changed files with 15 additions and 3 deletions
|
|
@ -468,6 +468,13 @@ void wlr_scene_output_set_position(struct wlr_scene_output *scene_output,
|
|||
|
||||
struct wlr_scene_output_state_options {
|
||||
struct wlr_scene_timer *timer;
|
||||
|
||||
/**
|
||||
* Allows use of a custom swapchain. This can be useful when trying out an
|
||||
* output configuration. The swapchain dimensions must match the respective
|
||||
* wlr_output_state or output size if not specified.
|
||||
*/
|
||||
struct wlr_swapchain *swapchain;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue