vulkan/wsi/x11: Implement capture hotkey using the keymap
This way, we can avoid opening another connection. The capture key is
changes to F1 because F12 has issues on Wayland. (After pressing F12,
all keys become unresponsive, refocussing the window fixes it)
Fixes: 291fa05 ("vulkan/wsi/x11: Capture traces using a hotkey")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9578
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24710>
This commit is contained in:
parent
80177e0296
commit
8c98814874
3 changed files with 26 additions and 33 deletions
|
|
@ -346,7 +346,7 @@ Core Mesa environment variables
|
|||
|
||||
A comma-separated list of trace types used for offline analysis. The
|
||||
option names are equal to the file extension. Traces are dumped into ``/tmp``.
|
||||
Captures can be triggered by pressing ``F12`` with the application window
|
||||
Captures can be triggered by pressing ``F1`` with the application window
|
||||
focused (Currently X11 only) or via :envvar:`MESA_VK_TRACE_FRAME` and
|
||||
:envvar:`MESA_VK_TRACE_TRIGGER`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue