1900 Commits

Author SHA1 Message Date
Unknown W. Brackets
03edd6129a GLES: Cut down on use of USING_GLES2. 2018-06-17 20:51:34 -07:00
Henrik Rydgård
a9eb786811
Merge pull request #11181 from unknownbrackets/savestate
SaveState: Show warning on old / long use state
2018-06-16 17:45:58 +02:00
Unknown W. Brackets
a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Henrik Rydgård
e03aeba75e
Merge pull request #11171 from unknownbrackets/debugger
Fix some issues with GE dumps
2018-06-14 10:07:21 +02:00
Unknown W. Brackets
0ed2c03350 GE Debugger: Prevent hang on shutdown.
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.

The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Henrik Rydgård
5c5fa8dabc
Merge pull request #11163 from unknownbrackets/qt-screen
Fix some SDL and Qt screen size weirdness
2018-06-10 20:54:36 +02:00
Unknown W. Brackets
4232ef59b4 Debugger: Fix bounds warnings in debug mode.
Technically these were accessing outside the container.
2018-06-09 18:26:09 -07:00
Unknown W. Brackets
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
8598fc9912 Debugger: Add some missing memory locks.
We can restart memory when loading save states, so we need this even while
we've got startup/shutdown locked.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
b2cc4a0965 Debugger: Add memory breakpoint management. 2018-06-08 06:59:18 -07:00
Unknown W. Brackets
eb4b59b530 arm64jit: Enable breakpoints.
Memory breakpoints not yet really tested.
2018-06-06 17:31:56 -07:00
Henrik Rydgård
f9cfb05895
Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Henrik Rydgård
9f1125ae33
Merge pull request #11078 from unknownbrackets/debugger-spline
GE Debugger: Show bezier/spline in preview
2018-06-06 20:40:10 +02:00
Henrik Rydgård
f7d7aee58e
Merge pull request #11130 from unknownbrackets/qt-debugger
Remove Qt debugger
2018-06-06 18:40:48 +02:00
Unknown W. Brackets
88c40442e3
Merge pull request #10920 from hrydgard/opengl-default-gpu-amd
OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance
2018-06-06 09:19:12 -04:00
Unknown W. Brackets
9aad4dc848 GE Debugger: Cleaned repetition in spline preview. 2018-06-06 05:59:14 -07:00
Unknown W. Brackets
1829902171 GE Debugger: Show bezier/spline in preview.
Ignoring some things about normals and colors since they don't matter.
2018-06-06 05:59:14 -07:00
Unknown W. Brackets
e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets
ec398cbb1f Qt Debugger: Remove texture viewer.
No longer worked anyway.  Being replaced by WebSocket debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
cf33e852ef Qt Debugger: Remove memory viewer.
Being replaced by WebSocket based debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
28cabd578a Qt Debugger: Remove display list debugger.
Being replaced with WebSocket based debugger.  Was disabled and not
working anyway, and hardcoded some GL so a barrier to Vulkan.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
c3213ade25 Qt Debugger: Remove disassembly.
Being replaced by WebSocket based debugger which is better maintained.
2018-06-06 05:58:09 -07:00
Henrik Rydgård
238521a297 Rename device choice config options as requested. 2018-06-06 10:24:16 +02:00
Henrik Rydgård
8ee3cd52e8 D3D11: Allow the user to select rendering device. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
3f7602227c Windows: If neither OpenGL nor D3D9 is available, offer an escape route into D3D11.
This does happen on some fresh Win10 installations.

We really should do something much nicer and more automatic, but that's for later.
2018-05-03 22:19:07 +02:00
Henrik Rydgård
2c0c693956 OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance. 2018-04-15 08:41:02 +02:00
Henrik Rydgård
513ea72d5d OpenGL debug log: Filter out some buffer mapping info from the NV driver 2018-04-05 12:29:09 +02:00
Henrik Rydgård
01d81ffa72 OpenGL: Fix texture wrapping of render targets. 2018-03-28 11:23:41 +02:00
Henrik Rydgård
4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård
f9555da05b When listing post-shaders, use the "name" specified in the ini as default, when looking up translations. 2018-03-25 11:53:11 +02:00
Henrik Rydgård
b0a22fb5c7 Redirect the user to download the D3D9 runtime if D3D9 is not available and they don't want to switch to OpenGL.
Maybe should also update the messagebox text somehow...
2018-03-25 00:46:48 +01:00
aliaspider
f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
aliaspider
3fbb340450 fix most write-strings warning. 2018-03-23 04:21:46 +01:00
aliaspider
54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
aliaspider
15c4406df7 add missing inclues. 2018-03-22 22:14:19 +01:00
Henrik Rydgård
2a438d6e03 Fix VSync on Windows. Should fix #10711 2018-03-12 20:07:31 +01:00
Henrik Rydgård
14c93bdc2b Minor code/logging cleanups. 2018-02-27 19:44:11 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Unknown W. Brackets
17bcb080f0 GLES: Fix shutdown while stepping. 2018-02-11 15:19:16 -08:00
Unknown W. Brackets
cdf378d20c GLES: Prevent race condition on shutdown.
emuThreadState might become STOPPED before the last frame has been run,
which can cause WaitUntilQueueIdle to hang.

It's simpler just to wait until StopThread() is called, since it now is.
This will line up properly with run_.
2018-02-11 11:40:11 -08:00
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