Commit Graph

60 Commits

Author SHA1 Message Date
Matt Borgerson 976319b391 Merge remote-tracking branch 'origin/master' into sync/qemu-7.2.0 2023-06-18 01:19:02 -07:00
Matt Borgerson d557a294fe ui: Move dvd path settings update to lower level for now 2023-06-04 20:24:43 -07:00
Matt Borgerson 0155721cfe ui: Create SnapshotManager, check snapshot disc image path 2023-06-04 20:24:43 -07:00
Antonio Abbatangelo 9c9f1e83eb ui: Add snapshot management UI 2023-06-04 20:24:43 -07:00
Matt Borgerson 93b2a408fb main: Cleanup 2023-01-23 00:30:40 -07:00
Matt Borgerson 426805f0b3 ui/xemu: Specify new force param to qmp_blockdev_change_medium 2023-01-23 00:30:40 -07:00
Matt Borgerson b3fe79bc8a ui/xemu: Drop old display change listener ops 2023-01-23 00:30:40 -07:00
Matt Borgerson bf85019e32 ui/xemu: Specify delay arg to dpy_set_ui_info 2023-01-23 00:30:40 -07:00
Matt Borgerson 8625656510 ui/xemu: Define {ctrl,alt}_grab 2023-01-23 00:30:40 -07:00
Matt Borgerson a198f22981 include: Drop various qemu-common.h imports 2023-01-23 00:30:40 -07:00
wutno 6b0c66c6a1 ui: Add fullscreen exclusive mode 2023-01-17 10:42:06 -07:00
Matt Borgerson 9c06980275 ui: Redesign user interface
Introduces a new user interface that looks much nicer, is easier to
navigate with controllers, provides more context to users, and is
scalable. Some additional features are included.

* Adds 'popup menu' with actions that can be used easily from controller
* Adds 'main menu', unifying other configuration dialogs
* Adds port-forwarding user interface
* Adds screenshot feature
* Adds volume control feature
* Adds gamepad auto-bind option
* Adds vsync configuration option
* Adds auto UI scaling
* Adds preferred window size selection
* Adds AV pack selection
* Exposes some existing config items in GUI
2022-05-07 16:09:34 -07:00
Revix 8a89108a50 ui: Add CPU logging in log 2022-04-29 14:19:24 -07:00
Matt Borgerson 87919cfb13 ui: Improve config error handling 2022-04-24 21:15:57 -07:00
Matt Borgerson d14cdbc7ba config: Migrate to genconfig system 2022-04-24 21:15:57 -07:00
Matt Borgerson 294437a28c input: Move input init to main thread 2022-04-23 14:56:27 -07:00
Matt Borgerson 2d5471c5be vl: Move -config_path handling into main 2022-03-22 17:02:03 -07:00
wutno cd5d3df626 ui: Save screen size on resize
Co-authored-by: 7oxicshadow <7oxicshadow@googlemail.com>
2022-03-16 22:48:20 -07:00
wutno 2b27021eef ui: Start in 1280x960 2022-02-22 22:12:39 -07:00
octopoulos 73813eac74 ui: 4:3 scale option 2021-12-28 15:38:12 -07:00
Mason Thompson b8141bbfdc
ui: Print OS version to log 2021-12-28 15:25:09 -07:00
Matt Borgerson 69ceec4446 nv2a: Support gamma correction 2021-11-23 17:49:44 -07:00
7oxicshadow d7e926fc63 ui: Add option for a fixed 16:9 display ratio 2021-09-16 00:12:47 -07:00
Matt Borgerson 8b373fde9b ui: Set AIO context on UI thread 2021-09-05 14:50:41 -07:00
Matt Borgerson fbff731cc3 ui: Explicitly check platform GL version 2021-07-08 00:33:58 -07:00
Matt Borgerson 2a4f1f92b1 ui: Show error message on context creation failure 2021-07-07 23:56:27 -07:00
Matt Borgerson ccf6049e39 ui: Ensure glFinish before swap 2021-06-17 04:19:24 -07:00
Matt Borgerson a73274794a ui: Release old surface texture on switch 2021-06-17 04:19:24 -07:00
Matt Borgerson 0204a5b7ab ui: Print xemu version and GL info to log 2021-06-17 04:19:24 -07:00
Matt Borgerson fdd7875051 sdl: Print out SDL_GetError message when subsystem init fails 2021-06-15 22:12:34 -07:00
Matt Borgerson 68f7e11978 ui: Log std{out,err} to file, or console if available on Windows 2021-05-23 18:30:38 -07:00
Matt Borgerson 26e43bbcfd ui: Include required interface data files in executable 2021-05-21 13:49:02 -07:00
Matt Borgerson b31abbe1eb ui: Duplicate console_gl_check_format into xemu.c 2021-04-19 23:33:58 -07:00
Matt Borgerson 8ccee0f15e ui: Remove dpy_gl_ctx_get_current method 2021-04-19 23:33:58 -07:00
Matt Borgerson 4f0adf23c1 ui: Update no_shutdown to shutdown_action in shutdown request 2021-04-19 23:33:58 -07:00
Matt Borgerson e06d1c1343 ui: Bump to GL 4.0 2021-03-16 16:00:42 -07:00
Matt Borgerson 6e564854fc xemu: Update copyright 2021-03-03 03:48:11 -07:00
Matt Borgerson aab63105fc ui: Move fullscreen trigger to main thread 2021-01-06 17:59:29 -07:00
Matt Borgerson bccfb6cd98 ui: Fix fullscreen launch 2021-01-06 15:48:46 -07:00
Matt Borgerson a72cc138f4 ui: Request high-performance graphics on Windows platform 2020-12-31 15:30:29 -07:00
Matt Borgerson 263870a7c3 ui: Add build version and debug indicator to window title bar 2020-12-24 17:45:45 -07:00
haxar 02157b0958 ui: Set swap interval after creating GL context 2020-11-20 03:15:19 -07:00
Matt Borgerson 30ed4f5a56 ui: Move non-event handlers out of SDL event loop 2020-11-20 01:18:59 -07:00
Matt Borgerson 8d2ebd6cd8 ui: Disable UI thread RCU registration
This needs more investigation, as it can cause deadlock. Leave code
commented-out for now as a reminder to look into it.
2020-11-16 21:01:04 -07:00
Matt Borgerson 71ee1ca831 ui: Mimic QEMU thread and set thread-local tcg_ctx to tcg_init_ctx
Necessary to handle callbacks (e.g. rom_reset) from UI thread which will
flush TBs and reference thread-local TCG context, which is initialized
for main QEMU thread early on as tcg_init_ctx.
2020-11-16 18:51:37 -07:00
Matt Borgerson d6e52a02c4 nv2a: Lazily synchronize surface data to/from RAM 2020-10-22 21:29:53 -07:00
Matt Borgerson e8386e4e4c vl: Call xemu_input_init before vmload 2020-06-19 05:43:14 -07:00
Matt Borgerson 7d2b038ef6 main-loop: Add an outer lock on QEMU main loop
Ensures monitor commands run from the UI thread are synchronous and not
interfered with by things running on the QEMU main loop. e.g. savevm
which gives up the iothread lock. There's likely a nicer way to do this,
but for now this will do.
2020-06-19 05:43:14 -07:00
Matt Borgerson 89734ca828 ui: Add runtime disc eject & load actions 2020-06-03 04:51:09 -07:00
Matt Borgerson 7e67f18595 ui: Cleanup debug messages 2020-05-22 14:57:58 -07:00