wlroots icon indicating copy to clipboard operation
wlroots copied to clipboard

Atomic output updates

Open emersion opened this issue 5 years ago • 2 comments

This would let us:

  • Enable and disable multiple outputs without the fear of hitting the CRTC limit
  • Test configurations before applying them
  • Rollback if something fails
  • More cool stuff

https://github.com/swaywm/wlr-protocols/pull/38#issuecomment-470472049


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1640

emersion avatar Mar 28 '19 18:03 emersion

API proposal:

  1. Make wlr_output_set_* functions double-buffered
  2. Add wlr_output_commit to apply the pending state
  3. Add wlr_backend_commit to apply the pending state for all outputs. Backends can choose not to implement this, in which case the function will fallback to calling wlr_output_commit on each output
  4. Add wlr_output_test to check if the pending state is valid without applying it
  5. Deprecate non-atomic events (enable, mode, scale, transform)

emersion avatar Mar 31 '19 07:03 emersion

Items 1, 2 and 4 are now done.

emersion avatar Jun 04 '20 08:06 emersion