Commit Graph

3206 Commits

Author SHA1 Message Date
Tudor Brindus
86793a657e [doc]: usage.rst:: add new keybindings 2022-09-19 10:30:08 +10:00
Geoffrey McRae
0ee45d8a70 [doc] add common ivshmem sizes and additional warnings/notes 2022-09-19 09:59:26 +10:00
Geoffrey McRae
3b16fb1baa [doc] fix typo 2022-09-18 20:43:29 +10:00
Geoffrey McRae
57c2e47cbf [doc] add comment to state that NvFBC reads NVFBC_PRIV_DATA if set 2022-09-18 20:42:46 +10:00
Geoffrey McRae
a5e6065d39 [doc] added host usage documentation for DXGI and NvFBC 2022-09-18 20:27:03 +10:00
Geoffrey McRae
b10d912ab6 [doc] update copyright year 2022-09-18 19:28:19 +10:00
Geoffrey McRae
9a26519e9b [doc] added spencercw to the words list 2022-09-18 18:54:55 +10:00
Geoffrey McRae
5a02e600c3 [doc] added spencercw to the LG docs credits 2022-09-18 18:54:08 +10:00
Geoffrey McRae
6cbbf4a2a0 [resources] adjusted spacing on updated icon 2022-09-18 18:25:28 +10:00
Geoffrey McRae
f42d1e0888 [resources] updated icons to the correct glyph 2022-09-18 18:18:10 +10:00
Geoffrey McRae
def838b883 [doc] update FAQ regarding Audio support 2022-09-18 14:33:17 +10:00
Geoffrey McRae
7e032f67be [doc] reorder and update installation section 2022-09-18 14:17:17 +10:00
Geoffrey McRae
7275f249c9 [doc] fix another typo 2022-09-18 12:22:06 +10:00
Geoffrey McRae
de5030f564 [doc] fix my inabillity to spell :) 2022-09-18 12:21:11 +10:00
Geoffrey McRae
f489006531 [doc] reorder install to before usage and change information re IVSHMEM 2022-09-18 12:17:05 +10:00
Geoffrey McRae
571a5da50f [doc] add requirements page 2022-09-18 12:12:49 +10:00
Geoffrey McRae
5385853f3f [client] x11: set _NET_WM_PID
Fixes #1013
2022-09-18 10:10:13 +10:00
Geoffrey McRae
0149549251 [client] egl: fix usage `destRect, 0x0 is top left
This fixes the letterbox clip being incorrect when rounding is occuring
due to the inverted coordinate space.
2022-09-17 16:02:11 +10:00
Quantum
f5e68711d0 [client] wayland: handle wl_data_source.target action
There is no action to be taken by the Looking Glass client, but a
handler needs to exist as certain other Wayland clients chooses to
send this message for copy-paste operations despite the fact it's
supposed to be used for drag-and-drop negotiation.
2022-08-14 12:05:51 +10:00
esi
28cba2e2b3 [obs] Allow the client to auto-recover
Previously, if the client's subscription to the frame buffer became
invalid for any reason, the video feed in OBS would freeze until the
user goes in and changes any of the settings.  This commit allows the
plugin to automatically attempt to recover.
2022-08-09 15:17:58 +10:00
Geoffrey McRae
d376dc4b5a [client] egl: fix the incorrect mask for dmabuf plane0 modifier 2022-07-30 22:08:47 +10:00
Geoffrey McRae
af51ea6d0b [client] egl: add support for EGL_EXT_image_dma_buf_import_modifiers 2022-07-30 15:55:20 +10:00
Quantum
eb1774f955 [client] keybind: add ScrollLock+C to cycle microphone defaults
This makes it possible to change the default action taken the next time
an application tries to open the microphone without restarting the
client.
2022-07-13 07:06:04 +10:00
Quantum
ae38db4915 [client] main: move micDefaultState into g_state 2022-07-13 07:06:04 +10:00
Quantum
9dee9ed7bb [client] main: better error when no display server is available
This commit makes it show a prettier error message when no display
server is available, including the display servers compiled. This
replaces the old assert.

Example output:

[E] 572277145932              main.c:1167 | lg_run                         | No display servers available, tried:
[E] 572277145934              main.c:1169 | lg_run                         | * Wayland
[E] 572277145935              main.c:1169 | lg_run                         | * X11
2022-07-13 07:05:07 +10:00
Quantum
0dabfdc432 [client] displayservers: add name field 2022-07-13 07:05:07 +10:00
Geoffrey McRae
97c5b8c3a7 [host] fix building under void linux
Closes #1012
2022-07-13 07:02:17 +10:00
Geoffrey McRae
e98913f182 [all] add 0xdc to AUTHORS 2022-07-01 08:37:28 +10:00
Daniel Cordero
4f3682fece Add a setting that hides the mouse cursor
Give OBS plugin users the option of hiding or showing the mouse cursor, since
Looking Glass renders it client-side.
2022-07-01 08:34:19 +10:00
Geoffrey McRae
9a9f9d433e [client] x11: add dependency on xkbcommon 2022-06-30 15:09:24 +10:00
Quantum
d24459b27f [client] wayland: correctly convert scan codes to numbers
Note that xkb scan code = linux scan code + 8.
2022-06-30 08:38:29 +10:00
Geoffrey McRae
da04a6dd54 [client] all: use the defined keyboard mapping for keybinds
Fixes #1007
2022-06-29 18:26:40 +10:00
Kenny.ch
ed0cae84c8 [module] Bump kvmfr module to 0.0.8 after latest fix for Kernel 5.18 2022-06-20 19:12:24 +10:00
Jonathan Rubenstein
681106e5c3 [github] Add initial CODEOWNERS file for docs/
Jonathan Rubenstein added as owner of docs/ directory
2022-06-20 19:11:58 +10:00
Jonathan Rubenstein
8a45a74fb1 [common] appstrings: Amend blurb for jjrcop with fluff
Very cheeky but is self-authored :D
2022-06-20 19:09:16 +10:00
Quantum
8b68a96ee1 [client] wayland: fix infinite resize loop
The intention has been to keep wlWm.needsResize true when skipping
resize, but I accidentally negated the value.
2022-06-01 22:41:20 -04:00
Leo1998
cb29de80f9 update AUTHORS 2022-06-01 06:47:10 +10:00
Leo1998
d20e319ccf [module] fix compile on 5.18 2022-06-01 06:47:10 +10:00
Geoffrey McRae
286e7622b8 [client] main: fix failure to startup when the guest VM has no UUID 2022-05-30 13:43:51 +10:00
Quantum
20d459d113 [client] wayland: deal getting scale before size
Certain window managers give us a scale before it gives us a size.
This commit makes the Wayland backend avoid passing a zero size to
wp_viewport_set_source, which is a protocol error.
2022-05-29 14:52:58 +10:00
Quantum
20b2130596 [ci] switch to checkout v2
With checkout v1, it checks out all the repository history, which takes
~20 seconds to complete with all the submodules that we have. With v2,
takes <10 seconds to complete the checkout by virtue of checking out
only the latest commit.

For some cursed reason, spell check starts failing if docs uses v2
checkout, but doesn't fail if it uses v1.
2022-05-29 11:16:43 +10:00
Quantum
bf9023d6f8 [client] cmake: pass -Wstrict-prototypes for C files only
This avoids the following warning in C++ code:

    cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is
    valid for C/ObjC but not for C++
2022-05-29 11:16:16 +10:00
Quantum
a8521b821e [all] cmake: standardize indentation to 2 spaces 2022-05-29 11:16:16 +10:00
Geoffrey McRae
0799910e70 [client] app: fix segfault when jitRender + spice display is in use 2022-05-28 00:52:03 +10:00
Quantum
8b8b580f63 [client] overlay/status: re-rasterize at high DPI when needed
When the window scale goes above the scale the SVGs were rasterized
at, we re-rasterize them at the necessary scale for a more crisp
appearance.
2022-05-27 18:19:18 +10:00
Quantum
712b1cbc46 [client] overlay/graphs: allow unregistering after shutdown
The Wayland display server has a graph for presentation times, but the
backend shuts down after the overlays, so calling
overlayGraph_unregister causes memory corruption. We can avoid this
problem by making unregister a noop after all graphs have been freed.

This is safe because updating the graph doesn't use the graph handle:
instead you update the ringbuffer which is owned by the user.
2022-05-27 18:18:15 +10:00
Geoffrey McRae
fba7c80b2f [client] interface: remove needsRender from renderers 2022-05-27 14:38:42 +10:00
Geoffrey McRae
a4f5bc7320 [client] render_queue: fix failure to show spice at startup 2022-05-27 14:02:00 +10:00
Geoffrey McRae
48735cd001 [client] main: don't start the overlay tick timer until init is done 2022-05-27 13:42:47 +10:00
Geoffrey McRae
123be552a4 [client] spice: fix duplicate keybind registration 2022-05-27 13:29:28 +10:00