From 5bb8097ba075a57474df09d07a8198e575b0dc2f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 21 Feb 2024 20:44:12 +0100 Subject: [PATCH] Updated Debugging flags (markdown) --- Debugging-flags.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Debugging-flags.md b/Debugging-flags.md index a408d4f..b26d6b4 100644 --- a/Debugging-flags.md +++ b/Debugging-flags.md @@ -1,11 +1,15 @@ Sway has some debugging options available via the `-D` command-line flag. -- `-D damage=highlight`: paints regions that haven't been updated in yellow -- `-D damage=rerender`: disables damage tracking by forcing the whole output to be repainted each frame - `-D noatomic`: disables atomic transactions - `-D txn-wait`: forces all atomic transactions to time out - `-D txn-timings`: logs addition information about transaction timings - `-D txn-timeout=`: overrides the default atomic transaction timeout -- `-D noscanout`: disables direct scan-out +- `-D legacy-wl-drm`: enables the legacy `wl_drm` protocol extension (Sway 1.10 and later) -Also see `enable_debug_flag()`. \ No newline at end of file +Also see `enable_debug_flag()`. + +On Sway ≤ 1.9, the following flags are also supported: + +- `-D damage=highlight`: paints regions that haven't been updated in yellow (replaced by `WLR_SCENE_DEBUG_DAMAGE=highlight` on Sway 1.10) +- `-D damage=rerender`: disables damage tracking by forcing the whole output to be repainted each frame (replaced by `WLR_SCENE_DEBUG_DAMAGE=rerender` on Sway 1.10) +- `-D noscanout`: disables direct scan-out (replaced by `WLR_SCENE_DISABLE_DIRECT_SCANOUT=1` on Sway 1.10) \ No newline at end of file