Commit Graph

23482 Commits

Author SHA1 Message Date
Unknown W. Brackets
d03d2f0b2b UI: Check existance outside of game info lock.
Improves behavior when remote files timeout, at least they won't
block FlushBGs().
2017-12-29 08:56:27 -08:00
Unknown W. Brackets
d00dcb4400 UI: Use atomic flags in game info cache.
Simpler, no need to lock the entire info when checking these.
2017-12-29 08:55:49 -08:00
Henrik Rydgård
c948a3df00
Merge pull request #10439 from unknownbrackets/intel-dualsrc
GLES: Allow dual src blend on newer Intel
2017-12-28 13:37:57 +01:00
Henrik Rydgård
3aba5634d5
Merge pull request #10465 from unknownbrackets/arm64-jit
Allow arm64 jit when memory base is not nicely aligned
2017-12-28 09:14:58 +01:00
Unknown W. Brackets
092f98d313 arm64jit: Fix an integer truncation warning. 2017-12-27 19:39:04 -08:00
Unknown W. Brackets
257a4fdd12 arm64jit: Reprotect fixed code after icache flush. 2017-12-27 19:33:04 -08:00
Unknown W. Brackets
4a27e99ee9 arm64jit: Remove buggy icache invalidate.
This is always of size 0, and crashes on iOS anyway...
2017-12-27 19:30:10 -08:00
Unknown W. Brackets
7c2fc90def arm64jit: Avoid MOVK elsewhere without pointerify. 2017-12-27 17:57:19 -08:00
Unknown W. Brackets
d82efc4b0b arm64jit: Allow static alloc without pointerify. 2017-12-27 17:50:15 -08:00
Unknown W. Brackets
9573a791b4 arm64jit: Skip storing spilled but not dirty.
Unless IMM, we don't need to store non-dirty mapped regs.
2017-12-27 17:15:18 -08:00
Unknown W. Brackets
3fae092ecb arm64jit: Only adjust pointers if pointerified. 2017-12-27 17:02:29 -08:00
Unknown W. Brackets
cccf448ae0 arm64jit: Allow disabling pointerification.
For platforms where we can't get base aligned.
2017-12-27 17:02:19 -08:00
Henrik Rydgård
95c2690416
Merge pull request #10464 from unknownbrackets/savestate
Module: Reload imports later in save state load
2017-12-28 00:17:26 +01:00
Unknown W. Brackets
caf6277db7 Module: Reload imports later in save state load.
We want all the modules to have loaded when we start doing this, so that
itnerlinking can properly be handled.  Otherwise, earlier created modules
won't import later ones, and instead generate kernel object errors.
2017-12-27 13:36:26 -08:00
Henrik Rydgård
d487c75562 Android cmake buildfix 2017-12-27 15:28:17 +01:00
Henrik Rydgård
ea50561c80
Merge pull request #10454 from unknownbrackets/gpu-minor
Vulkan: Use depth clamping, where available
2017-12-27 11:11:18 +01:00
Henrik Rydgård
8ebbb82c0a
Merge pull request #10459 from unknownbrackets/ui-resized
UI: Trigger view recreate on static sized screens
2017-12-27 11:07:35 +01:00
Unknown W. Brackets
6bdf39c232 GPU: Reset context version on init. 2017-12-27 01:54:36 -08:00
Henrik Rydgård
c1a23658d1
Merge pull request #10456 from unknownbrackets/gpu-flips
Display: Avoid limiting FPS without a clear
2017-12-27 10:14:12 +01:00
Unknown W. Brackets
c0f0bc88af UI: Trigger view recreate on static sized screens.
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
Henrik Rydgård
6b6487afc5
Merge pull request #10455 from unknownbrackets/debug-perf
Debugger: Defer active symbol updates
2017-12-27 10:02:41 +01:00
Henrik Rydgård
559d939b9f
Merge pull request #10453 from unknownbrackets/gpu-backend
Reset GPU backend setting on graphics init
2017-12-27 10:01:37 +01:00
Unknown W. Brackets
f9750dd137 Display: Avoid limiting FPS without a clear.
A bit of a dirty heuristic to avoid the slowdown in #8538.
2017-12-26 19:37:40 -08:00
Unknown W. Brackets
89f89ec749 Debugger: Defer active symbol updates.
This makes it faster when loading many modules/functions/etc., for example
when using the freeze debug feature.
2017-12-26 18:11:22 -08:00
Unknown W. Brackets
e8ca467bc9 Vulkan: Allow full depth range with depth clamp. 2017-12-26 16:54:40 -08:00
Unknown W. Brackets
b94ca6e75e Vulkan: Use depth clamping, where available.
This fixes, for example, Shadow of Destiny, even without the hack.
2017-12-26 16:54:39 -08:00
Unknown W. Brackets
f263d207b3 GPU: Match GE saved context better.
Just in case some game stores it somewhere, but also makes it simpler to
write tests against hardware.
2017-12-26 16:20:11 -08:00
Unknown W. Brackets
496b2bff35 Vulkan: Fix fragment depth rounding.
Was slightly off in the accurate depth path.
2017-12-26 16:19:11 -08:00
Unknown W. Brackets
56835fc017 Qt: Fix OpenGL init.
Needs to check extensions before creating thin3d, as others do.
2017-12-26 16:04:19 -08:00
Unknown W. Brackets
766b40aad8 GPU: Reset GPUBackend on graphics init.
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Unknown W. Brackets
d6da758ed3 GPU: Remove duplicate BACKEND constants. 2017-12-26 15:55:24 -08:00
Henrik Rydgård
4657397b57
Merge pull request #10449 from myfreeweb/master
Vulkan + Wayland + FreeBSD
2017-12-27 00:24:44 +01:00
Greg V
bbf2dcdb21 Check for Wayland headers in CMake 2017-12-26 16:09:31 +03:00
Greg V
52234dae91 Remove VULKAN_STATIC 2017-12-26 16:09:31 +03:00
Greg V
f4d76c840c Support Vulkan on any Unix
In particular, it works FreeBSD
2017-12-26 16:09:31 +03:00
Greg V
f3783bdb44 Add support for Vulkan on Wayland 2017-12-26 16:09:27 +03:00
Henrik Rydgård
43166c47e6
Merge pull request #10450 from unknownbrackets/bone-matrix
GPU: Avoid memory corruption on bone matrix > 96
2017-12-26 10:36:16 +01:00
Unknown W. Brackets
93a712660c GPU: Avoid memory corruption on bone matrix > 96.
See #9574.  Seen in Zill O'll Infinite, thanks to Kitsu-neechan for
tracking this down.
2017-12-26 01:09:23 -08:00
Henrik Rydgård
baa4ceadd8
Merge pull request #10446 from unknownbrackets/ir-break
irjit: Allow continuing from mips break
2017-12-25 22:38:35 +01:00
Henrik Rydgård
ffa48cb4fc
Merge pull request #10447 from unknownbrackets/update-vram
Remove "read framebuffers to memory" FBO auto-download
2017-12-25 22:37:48 +01:00
Unknown W. Brackets
ebce6da223 UI: Remove auto-download options.
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Unknown W. Brackets
025a806ab4 GPU: Remove FBO auto-download hack.
See #6261.  This should be replaced now with block transfer detection,
which is faster and doesn't cause crashes.

Games that previously required this setting should use block transfer
instead.  If that doesn't work, it's a bug.
2017-12-25 11:17:59 -08:00
Unknown W. Brackets
8c2edd432b irjit: Allow continuing from mips break.
Some games currently generate break instructions, and can be played
otherwise.  Should be fixed, but let's not hard crash.
2017-12-25 10:21:22 -08:00
Henrik Rydgård
4b04a6db3c
Merge pull request #10443 from unknownbrackets/win-focus
Windows: Track minimize as lost focus
2017-12-25 10:23:20 +01:00
Unknown W. Brackets
a37a8ca4f0 GPU: Add quick method for debugging.
Helps when you want to bail out to the debugger quickly.
2017-12-24 18:05:44 -08:00
Unknown W. Brackets
f5b2a6601e UI: Fix graphics API display on start.
Since it's a std::string return, it's a temporary, so returning it as a
pointer may drop the value.
2017-12-24 18:04:18 -08:00
Unknown W. Brackets
8c1c0e1897 Windows: Track minimize as lost focus.
It makes sense if we have the other feature.  Fixes #9918.
2017-12-24 18:03:28 -08:00
Henrik Rydgård
9b909b4158
Merge pull request #10440 from unknownbrackets/vulkan-leak
Vulkan: Decimate the texture allocator
2017-12-24 22:54:13 +01:00
Henrik Rydgård
1c9e970b37
Merge pull request #10441 from unknownbrackets/softgpu-bbox
Software: Execute bounding box tests
2017-12-24 22:53:04 +01:00
Henrik Rydgård
138cd9e851
Merge pull request #10442 from unknownbrackets/depth-clear
GPU: Reduce depth blits when not updated
2017-12-24 22:52:35 +01:00