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:
Simon Ser 2020-12-01 16:22:42 +01:00
parent 233a2617cf
commit 1a06ea7750
3 changed files with 142 additions and 12 deletions

View file

@ -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 {
/**