mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output: make attach_render and rollback_render optional
If these aren't provided by the backend, allocate a swapchain for the output.
This commit is contained in:
parent
233a2617cf
commit
1a06ea7750
3 changed files with 142 additions and 12 deletions
|
|
@ -17,8 +17,7 @@
|
|||
/**
|
||||
* A backend implementation of wlr_output.
|
||||
*
|
||||
* The functions commit, attach_render and rollback_render are mandatory. Other
|
||||
* functions are optional.
|
||||
* The commit function is mandatory. Other functions are optional.
|
||||
*/
|
||||
struct wlr_output_impl {
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue