74 Commits

Author SHA1 Message Date
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
Matt Borgerson
6c009b206d ui: Update cursor
Tracking 86a088e62454995c04a794d43661a549fd293f3b
2020-05-04 07:35:52 -07:00
Matt Borgerson
c02c245e0f ui: Refactor 2020-05-04 07:24:05 -07:00
Matt Borgerson
b52cec8a28 ui: Refactor 2020-05-04 07:23:32 -07:00
Matt Borgerson
0cbbb9c55b ui: Remove displaychangelistener updates on window state change 2020-05-04 07:22:59 -07:00
Matt Borgerson
a764c4e9af ui: Don't minimize when focus is lost in fullscreen 2020-05-04 07:22:59 -07:00
Matt Borgerson
a0e1a7fa40 ui: Prefer immediate swap interval 2020-05-04 07:22:59 -07:00
Matt Borgerson
c2b74a08d3 ui: Move QEMU main loop to a thread 2020-05-04 07:22:56 -07:00
Matt Borgerson
1af8c598c6 ui: Factor out gls field 2020-05-04 07:20:07 -07:00
Matt Borgerson
6bd84c9851 ui: Add header for xemu display 2020-05-04 07:20:07 -07:00
Matt Borgerson
0b738f855e ui: Add new dedicated xemu SDL display 2020-05-04 07:13:15 -07:00