wlroots-hyprland/backend
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
The output backend API is now mostly state-less thanks to the atomic
hooks (commit and test). There is one exception though: attach_render.
This function makes the rendering context current. However sometimes the
compositor might decide not to render after attach_render (e.g. when
there's nothing new to render to the back buffer). Thus
wlr_output_rollback has been introduced to revert the pending state.

Because the output backend API is mostly state-less, the only thing
wlr_output_impl.rollback needs to do is revert the current rendering
context. Rename the function to rollback_render to make this clear. Add
a check in the common wlr_output code to only call rollback_render when
attach_buffer has been previously called.

On the long term, we'll be able to remove attach_render and
rollback_render together.
2020-06-19 11:50:42 -06:00
..
drm output: rename impl->rollback to rollback_render 2020-06-19 11:50:42 -06:00
headless output: rename impl->rollback to rollback_render 2020-06-19 11:50:42 -06:00
libinput Fix -Wreturn-type warnings 2020-05-19 14:54:02 +02:00
multi backend/multi: handle backends depending on each other properly 2020-05-02 19:36:03 +02:00
noop output: re-introduce atomic mode, enabled, scale and transform 2019-12-30 11:21:11 -07:00
session Remove libcap support 2020-04-29 10:39:09 +02:00
wayland output: rename impl->rollback to rollback_render 2020-06-19 11:50:42 -06:00
x11 output: rename impl->rollback to rollback_render 2020-06-19 11:50:42 -06:00
backend.c Drop RDP backend 2020-01-10 19:38:39 +01:00
meson.build Drop RDP backend 2020-01-10 19:38:39 +01:00