wlroots-hyprland/backend/drm
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
..
atomic.c backend/drm: make adaptive_sync atomic 2020-06-01 11:45:11 -06:00
backend.c backend/drm: make drm_connector_set_mode take a wlr_drm_connector 2020-05-26 23:34:37 +02:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c output: rename impl->rollback to rollback_render 2020-06-19 11:50:42 -06:00
legacy.c backend/drm: make adaptive_sync atomic 2020-06-01 11:45:11 -06:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: add support for adaptive_sync_enabled 2020-03-06 21:32:58 +01:00
renderer.c backend: drm: Fix dmabuf resource leak 2020-06-13 15:39:49 +02:00
util.c backend/drm: introduce wlr_drm_fb 2020-04-28 09:54:52 +02:00