Quantum
6a0526fc1e
[idd] driver: report IVSHMEM size
2026-07-26 22:17:28 +10:00
Quantum
d3d1d48e97
[idd] installer: make multiline strings more readable
2026-07-23 10:01:17 +10:00
Quantum
4fa697e165
[host] installer: add new page suggesting IDD usage
2026-07-23 10:01:17 +10:00
Quantum
a3d7e3806b
[host] installer: make multiline strings more readable
2026-07-23 10:01:17 +10:00
Quantum
71ba0bf8f6
[host] installer: offer the option of uninstalling IDD if detected
2026-07-23 10:01:17 +10:00
Quantum
28f18188c4
[idd] helper: use common/array.h instead of custom macros
2026-07-23 09:44:00 +10:00
Quantum
0da56a67bb
[host] delete redundant / sizeof(char)
...
`sizeof(char) == 1` always per standard, so this is redundant.
2026-07-23 09:44:00 +10:00
Quantum
7cb6c9057c
[client] clean up manual versions of ARRAY_LENGTH macro
2026-07-23 09:44:00 +10:00
Quantum
90271b936e
[idd] helper: clean up exclusive monitor timer and respect setting
2026-07-23 09:44:00 +10:00
Quantum
cc6a64c4fc
[idd] helper: hook up exclusive monitor toggle to registry
2026-07-23 09:44:00 +10:00
Quantum
017c2bfa54
[idd] helper: add UI to toggle exclusive monitor setting
2026-07-23 09:44:00 +10:00
Quantum
db1182da43
[idd] helper: add setting for exclusive monitor (default: yes)
2026-07-23 09:44:00 +10:00
Quantum
58e0cf340d
[idd] helper: implement deferred mode save and revert
2026-07-23 09:44:00 +10:00
Quantum
df861e6a15
[idd] helper: add buttons for deferred mode save and revert
2026-07-23 09:44:00 +10:00
Quantum
a23614d371
[idd] helper: rearrange UI in preparation for deferred saves
2026-07-23 09:44:00 +10:00
Quantum
a87dd6f3b6
[client] resources: clean up icon handling
...
This commit turns the icon handling into using a macro so we don't need to do
weird conversions from unsigned long (needed by X11) to uint32_t (needed by
Wayland).
Also simplified the error handling path on Wayland.
2026-07-23 09:43:59 +10:00
Quantum
215f7cb096
[host] windows: report Windows 11 OS name correctly
...
This commit brings bc96319b9486798edc6599841dd67476feea5e43's improved logic
in the IDD to the host application.
2026-07-23 09:43:59 +10:00
Quantum
b5bf5b5b5e
[idd] helper: make WS_CHILD | WS_VISIBLE the default in widgets
...
This avoids literally every widget we load having to declare
`WS_CHILD | WS_VISIBLE` and then just break if you forget.
2026-07-23 09:43:59 +10:00
Quantum
bc96319b94
[idd] driver: report Windows 11 OS name correctly
...
Also refactored the versioning code to be more modular.
The old registry code was turned into a fallback and simplified, since
C++11 and newer guarantees the byte past the end of the std::string is
valid for null-terminator writes.
2026-07-15 17:22:58 +10:00
Quantum
c9845d3453
[client] wayland: improve fractional scale protocol compatibility
...
There is no reason to call a bunch of stuff before the xdg_surface is
configured, so let's not call them and cause early painting to happen
should the compositor decide to send the `preferred_scale` message early.
2026-07-04 14:00:07 +10:00
Quantum
1f3051e81a
[host] d12: handle IDXGIAdapter::EnumOutputs errors
...
Before, the code treated any errors other than DXGI_ERROR_NOT_FOUND as if
they were successes, which is incorrect.
2026-06-17 21:43:19 +10:00
Quantum
4bb2c58fb6
[client] wayland: delete useless enum EGLSwapWithDamageState
2026-06-09 19:31:45 +10:00
Quantum
e203bca480
[client] wayland: set content type to game
2026-06-07 07:04:12 +10:00
Quantum
8d7b45e240
[client] wayland: generate content-type-v1 client protocol
2026-06-07 07:04:12 +10:00
Quantum
66d8a9691e
[idd] helper: update notification icon to reflect GPU availability
2026-06-07 07:04:00 +10:00
Quantum
89ddab9d57
[idd] helper: use Resources.h for icon IDs
2026-06-07 07:04:00 +10:00
Quantum
ffffff0740
[resources] icon: add Looking Glass icon with GPU and no GPU superimposed
...
These will be used as indicators for the IDD helper notification icon to
indicate whether GPU acceleration is available.
2026-06-07 07:04:00 +10:00
Quantum
c8edf1eaf3
[client] wayland: use round half away from zero behaviour
...
In fractional-scale-v1, the scaling is defined as follows:
> For toplevel surfaces, the size is rounded halfway away from zero.
Previously, it is undefined. This commit makes waylandScaleMulInt follow
the round half away from zero behaviour.
2026-06-06 02:32:23 +10:00
Quantum
938a2a6c22
[client] wayland: get scale from wp-fractional-scale-v1 if possible
2026-06-06 02:32:23 +10:00
Quantum
e406b0fee8
[client] wayland: generate fractional-scale-v1 client protocol
2026-06-06 02:32:23 +10:00
Quantum
79784fa44d
[repos] wayland-protocols: bump to latest version
2026-06-06 02:32:23 +10:00
Quantum
a164c02f9a
[client] core: resize guest to actual surface size
...
This ensures that the guest renders with the actual screen size when the
client surface is scaled when using automatic scaling.
2026-06-06 02:31:44 +10:00
Quantum
3aa6492760
[idd] driver: implement reading in pipe server
...
Following the example of CPipeClient in the helper, this switches to using
overlapped I/O for easy interruption and cancellation that doesn't quite
work with CancelSynchronousIO.
2026-06-06 02:30:43 +10:00
Quantum
0664e510a2
[idd] helper: send message over pipe when settings changed
2026-06-06 02:30:43 +10:00
Quantum
e4e211f07a
[doc] build: delete wayland-protocols mentions
...
We now include it as a submodule, so it's pointless to tell people to
install it separately as a dependency.
2026-06-06 02:29:52 +10:00
Quantum
bff890f635
[idd] helper: use per-monitor DPI awareness v2
...
This avoids weird issues when scaling menus and non-client areas
dynamically.
2026-06-06 02:29:33 +10:00
Quantum
2317801411
[idd] helper: update icon tip to reflect GPU state
2026-06-06 02:29:14 +10:00
Quantum
140de3199b
[idd] helper: defer no GPU notification when needed
...
No GPU notifications are not possible before the notification icon is
created. Since the helper could start before explorer.exe (and often does
on reboot), the notification would fail.
This commit adds logic to refer the notification and we send it immediately
when successfully creating the notification icon.
2026-06-06 02:29:14 +10:00
Quantum
c8f4898815
[idd] helper: allow changing preferred mode
2026-06-06 02:28:26 +10:00
Quantum
708ed2cbae
[idd] helper: add mode list reset button
2026-06-03 21:32:35 +10:00
Quantum
415a946e56
[idd] helper: avoid potential empty option deference
2026-06-03 21:32:35 +10:00
Quantum
cb70643fa4
[idd] helper: load default mode list with default refresh rate
...
After 882d531792 , the existing code in the
helper reads past the end of the array for refresh rate, which is broken.
This PR also refactors the default modes into a getDefaultModes method so
that it can be used for a reset feature later.
2026-06-03 17:03:50 +10:00
Quantum
e74f58afb4
[idd] helper: allow no GPU warning to be configured
2026-06-03 03:02:07 -04:00
Quantum
29d02ddbb9
[idd] helper: add checkbox widget
2026-06-03 03:01:47 -04:00
Quantum
fec805fbe2
[idd] helper: show notification when no GPU is detected
2026-06-03 03:01:47 -04:00
Quantum
ebeb9d028e
[idd] helper/registry: load and store no GPU preference
2026-06-03 03:01:47 -04:00
Quantum
1a137f3c08
[idd] helper: detect if system has GPU
2026-06-03 03:01:47 -04:00
Quantum
3ef8344e9f
[idd] helper: set config window minimum size
...
This improves aesthetics and prevents widgets from getting clipped when
the window is too small.
2026-06-03 17:00:31 +10:00
Quantum
976be95177
[idd] driver: add BOM to CEdid.* for non-English systems
...
It wouldn't compile otherwise.
2026-06-03 16:59:58 +10:00
Quantum
53bfb6547f
[idd] config: hook up default refresh configuration
2025-11-28 11:51:28 +11:00
Quantum
06c490ca72
[idd] helper/CEditWidget: support enable/disabling edit controls
2025-11-28 11:51:28 +11:00
Quantum
c8de7b27fd
[idd] helper: implement registry storage for default refresh
2025-11-28 11:51:28 +11:00
Quantum
3efe47ffb2
[idd] helper: fallback to default mode list
2025-11-10 17:12:40 +11:00
Quantum
4269b5598a
[idd] helper: implement keyboard navigation in config window
2025-11-10 14:37:25 +11:00
Quantum
af207a2fe1
[idd] helper: remove compiler warnings
2025-11-10 14:35:02 +11:00
Quantum
3ed08ba56c
[idd] helper: require numeric input for modes
2025-11-10 12:01:13 +11:00
Quantum
70da98c1a1
[idd] helper: implement UI for default refresh rate
...
The UI is not yet hooked up to anything.
2025-11-10 11:58:52 +11:00
Quantum
ed1602fc74
[idd] helper: fix notification icon creation on explorer start
2025-11-10 11:44:47 +11:00
Quantum
f9ecddab98
[idd] helper: implement mode deletion
2025-11-09 03:36:19 +11:00
Quantum
fad7af7740
[idd] helper: fix crash when saving invalid values
2025-11-09 03:34:24 +11:00
Quantum
6c70e36cb1
[idd] helper: allow scrolling when mode list is long
2025-11-09 03:30:07 +11:00
Quantum
dca54a79fd
[idd] helper: implement adding new modes
2025-11-07 00:28:20 +11:00
Quantum
113199b6dd
[idd] helper: prevent saving when no mode is selected
2025-11-07 00:28:20 +11:00
Quantum
7d33b93a50
[idd] helper: save mode changes into registry and update listview
2025-11-07 00:28:20 +11:00
Quantum
bf77128053
[idd] helper: add mode save button
2025-11-07 00:28:20 +11:00
Quantum
124b4742e0
[idd] helper: add mode edit controls
2025-11-07 00:28:20 +11:00
Quantum
569619384c
[idd] helper: add mode edit labels
2025-11-07 00:28:20 +11:00
Quantum
1d7cb35de8
[idd] helper: detect mode listbox selection change
2025-11-07 00:28:20 +11:00
Quantum
e082acbe44
[idd] helper: use common control v6 with styles
2025-11-07 00:28:20 +11:00
Quantum
ab6e2c89d5
[idd] helper: add basic group box around mode config
2025-11-07 00:28:20 +11:00
Quantum
7a3833782c
[idd] helper: display configured modes in listbox
2025-11-07 00:28:20 +11:00
Quantum
96367e83f1
[idd] helper: add CListBox widget
2025-11-07 00:28:20 +11:00
Quantum
c99f516b29
[idd] helper/resize: move logic to .cpp and add error checking
2025-11-07 00:28:20 +11:00
Quantum
2647678b0f
[idd] helper: add parser for mode settings in registry
2025-11-07 00:28:20 +11:00
Quantum
40d606890b
[repos] wayland-protocols: switch to a mirror on GitHub
...
anongit.freedesktop.org has unfortunately been very flaky in our CI
pipelines and causing builds to fail. I am running my own mirror which
syncs from the official FreeDesktop GitLab instance to GitHub, which
should allow CI pipelines to continue working on the last available
release should the GitLab sync fail.
2025-11-07 00:22:24 +11:00
Quantum
fddcb7f2d4
[idd] helper: define WIN32_LEAN_AND_MEAN globally
...
It doesn't really help that much, but since we are defining it in
some headers, we might as well do it everywhere so it actually has
some effect in case the headers were included in a different order.
2025-09-23 02:07:18 +10:00
Quantum
48ab317fa0
[idd] helper/notify: delete icon when exiting
2025-09-23 02:03:06 +10:00
Quantum
08e54fd1b1
[idd] installer: fix ivshmem driver installation
2025-09-17 21:03:27 +10:00
Quantum
b504627145
[idd] helper/notify: correctly handle menu dismissal
2025-09-17 20:47:52 +10:00
Quantum
4585362f54
[idd] helper/config: implement window positioning, fonts, and high DPI support
2025-09-17 18:05:00 +10:00
Quantum
e123e02e15
[idd] helper/CWindow: use sane value for hbrBackground
2025-09-17 18:05:00 +10:00
Quantum
85e728b59e
[idd] helper: add simple static widget implementation
2025-09-17 18:05:00 +10:00
Quantum
042450a708
[idd] helper: implement basic config class
2025-09-17 18:05:00 +10:00
Quantum
9009217366
[idd] helper: stop using MsgWaitForMultipleObjects
...
`MsgWaitForMultipleObjects` doesn't handle inner message loops,
which may happen during `TrackPopupMenu`, causing exits to fail.
2025-09-15 09:22:27 +10:00
Quantum
d006dbb547
[idd] helper/CWindow: add onClose and onDestroy hooks
2025-09-15 09:22:27 +10:00
Quantum
c4f3936d98
[idd] helper: split CWindow into base class and CNotifyWindow
2025-09-15 09:22:27 +10:00
Quantum
19989ce9fb
[idd] helper: add icon context menu with log directory open
2025-09-15 01:38:13 +10:00
Quantum
e1a2fa790d
[idd] debug: use better log path determination algorithm
2025-09-14 06:23:13 -04:00
Quantum
daa78bcf47
[idd] debug: full Unicode handling and log as UTF-8
...
This commit makes `CDebug` use Unicode internally instead of whatever
random code page is in use. It also gets rid of the horrible character
counting and replaces that with `vasprintf` and `vaswprintf` helpers
(partially inspired by Linux) which allocates a buffer.
For HRESULT logging, the error code in both hex and decimal are included.
The output is now guaranteed to be UTF-8.
2025-09-14 20:00:25 +10:00
Quantum
e2bc1856b6
[idd] install: add missing io.h include
2025-09-14 19:44:50 +10:00
Quantum
30869c1c9c
[idd] debug: log to C:\ProgramData\Looking Glass (IDD)
2025-09-14 17:18:44 +10:00
Quantum
9e8cb2f919
[idd] install: allow unicode errors
2025-09-14 17:18:10 +10:00
Quantum
70e0c356fc
[idd] common/debug: add UTC timestamp and raw error code to logs
2025-09-14 17:17:56 +10:00
Quantum
8c3a2d01bc
[idd] helper/PipeClient: use event and async I/O to interrupt read
...
An event, `m_signal`, is created and signalled when either `m_running` or
`m_connected` is changed by another thread, so that the pipe thread knows
to interrupt the read.
The pipe is now opened as async to allow interruption, and the I/O
operations now use overlapped I/O.
Other changes include:
* Changing `m_pipe` to `HandleT<HANDLETraits>` since `CreateFile` returns
`INVALID_HANDLE_VALUE` instead of `NULL` on error.
* Remove the call to `WaitNamedPipeA` because it's useless and returns
immediately without waiting if the pipe doesn't exist.
2025-09-14 17:17:21 +10:00
Quantum
eff8555f9b
[idd] helper: wait on parent process directly
2025-09-14 17:16:23 +10:00
Quantum
c873aa4c4e
[idd] helper: use separate log for child process
2025-09-14 17:16:23 +10:00
Quantum
5c1d604a22
[idd] helper: correctly pump message and destroy window
2025-09-14 17:16:23 +10:00
Quantum
67e1574d20
[idd] helper: add notification icon
2025-09-14 09:49:39 +10:00
Quantum
94550e09b4
[idd] helper: use CWindow helper to avoid global state
2025-09-14 09:49:39 +10:00
Quantum
9d48e70983
[idd] helper: switch to fully Unicode to avoid encoding issues
2025-09-14 09:49:39 +10:00