Commit Graph

10 Commits

Author SHA1 Message Date
capitalistspz
8ec325c50b Display camera manager status at bottom of settings window
and various other changes
2026-07-21 16:03:53 +01:00
capitalistspz
529e7d5cbb Switch from openpnp-capture to SDL_Camera and make camera support build optional
Had to change because `openpnp-capture` converts all output to RGB (performance problem) doesn't re-enumerate after initialization (usability problem).
2026-07-21 12:34:08 +01:00
capitalistspz
f9a275406d Use wxComboBox instead of wxChoice
For some reason `wxChoice` on GTK frequently produces
```
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
```
and displays incorrectly
2026-07-20 12:52:42 +01:00
capitalistspz
5bec8fb646 Move camera code to CemuInput
Compiling the precompiled headers for `CemuCamera` took longer than compiling `CemuCamera` itself, so it just ends up being noticeably faster to just add it to one of the existing sublibs. It probably wasn't a problem for MSVC because precompiled header reuse works there, but I'm not using MSVC
2026-07-20 12:52:42 +01:00
capitalistspz
13e0cae2f3 Store camera name to config instead of unique ID
Unique IDs vary across restarts and re-plugs, which isn't really suitable for being saved to config
2026-07-20 12:52:42 +01:00
capitalistspz
d963ac7959 Init CameraManager on open, deinit on close
And buffer allocation and deallocation occur on init and deinit
2026-07-20 12:52:42 +01:00
capitalistspz
062c931f6b Some cleanup 2026-07-20 12:52:42 +01:00
capitalistspz
9abf3de035 Add tooltip 2026-07-20 12:52:42 +01:00
capitalistspz
c2dd05ce2c Fix settings window preview 2026-07-20 12:52:42 +01:00
capitalistspz
3f7ca998f4 Rebased 2026-07-20 12:52:41 +01:00