Unknown W. Brackets
d496b4da9a
Windows: Allow GL thread on graphics restart.
...
Unfortunately, it no longer works to go Vulkan -> OpenGL, and used to...
2018-02-10 16:55:52 -08:00
Unknown W. Brackets
586e35ad23
Windows: Prevent shutdown lag for non-GL.
...
For Vulkan/D3D, it was taking an extra second to quit.
2018-02-10 16:55:51 -08:00
Unknown W. Brackets
2bec3bf3ac
Windows: Trigger StopThread() on shutdown.
...
Otherwise, we end up hanging in the loop waiting for emuThreadState to
become STOPPED. It actually has, but ThreadFrame() will block until a new
frame is queued... while will never happen, because the emuthread has
stopped.
2018-02-10 16:55:44 -08:00
Henrik Rydgård
081e15d1c8
Windows: Consistently shutdown the main thread after exiting the message loop.
2018-02-10 09:06:43 +01:00
Henrik Rydgård
8ee426ff74
Get rid of an unused codepath (gl rendering is now always threaded)
2018-02-08 00:23:48 +01:00
Henrik Rydgård
ae19c48138
Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet.
2018-02-07 16:00:29 +01:00
Henrik Rydgård
7f30037e45
Android: Fix emuthread management to exit cleanly without hanging. Helps with task switching on Android.
2018-02-07 13:11:43 +01:00
Unknown W. Brackets
9945e011c6
GLES: Avoid a shutdown race condition.
...
Also handle DeviceLost before shutdown better.
2018-01-27 15:10:17 +01:00
Unknown W. Brackets
bdf7fdc7a3
GLES: Actually stop the thread on shutdown.
...
Fixes shutdown.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
fdca06d208
More work on shutdown, still hanging though.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
e5d571c25a
gl-render-manager: Now threaded mode seems to work fine (and fast!). Shutdown doesn't, though, and there are stability issues.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
af6431986d
OpenGL: Now run GL on a secondary thread. Sync issues remain.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
465939e1c8
Minor fixes, indentation and comments
2018-01-27 15:10:17 +01:00
Henrik Rydgård
422b05e51f
Truncate the '\n' from GL debug strings before logging them.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
542f9f9ef1
Assorted cleanup
2018-01-27 15:10:17 +01:00
Henrik Rydgård
42f2312030
Remove the old CPU threading remains, start redesigning interfaces.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
bd6818198a
More GLRenderManager
2018-01-27 15:10:17 +01:00
Henrik Rydgård
133bef575a
Split Android graphics context implementations into their own files.
2018-01-20 21:47:16 +01:00
Akira Miyakoda
8eeee7e1ab
Windows: Fix loading files with a long path.
...
Better handling of a path which exceeds MAX_PATH when converted into UTF-8.
2018-01-19 18:22:06 +09:00
Akira Miyakoda
f8cd9c7e55
Windows: Use sufficient buffer for config file paths.
...
MAX_PATH bytes are insufficient when a very long path is converted into UTF-8.
2018-01-18 00:36:27 +09:00
Akira Miyakoda
3f73cfb835
Windows: Fix a small memory leak.
...
CommandLineToArgvW() allocates a memory block which must be freed by LocalFree().
2018-01-17 19:25:01 +09:00
Henrik Rydgård
2af796009c
Merge pull request #10533 from AkiraMiyakoda/window_size_10x
...
Allow up to 10x window size on Windows.
2018-01-16 22:39:47 +01:00
Akira Miyakoda
5716fce283
Allow up to 10x window size on Windows.
...
4x can be too small for today's high resolution monitors.
2018-01-15 21:18:08 +09:00
Unknown W. Brackets
10c67b99c8
Windows: Fix extracting UMD block data.
...
Sometimes it's useful to extract a filename the game uses, etc., that's
actually an LBN.
2018-01-14 15:52:20 -08:00
Unknown W. Brackets
79a9018aac
Debugger: Fix hang when viewing invalid RAM.
...
If you end up in disassembly near invalid RAM, bad things were happening,
since hitting bad RAM updates the debugger, which hits bad RAM, which...
2017-12-30 11:11:04 -08:00