Henrik Rydgård
d6d72db0a9
Unify BlitFramebufferDepth.
2020-09-17 20:53:02 +02:00
Henrik Rydgård
d0f7b1e30f
Make the implementations of CopyFramebufferDepth more similar.
...
Also avoid matching framebuffers with bad z for copies.
2020-09-17 20:52:45 +02:00
Henrik Rydgård
181ddd842a
Unify some GPU_SUPPORT* bits
2020-09-17 20:52:32 +02:00
Henrik Rydgård
608d082e49
FPURegCache: The invariant checking is very slow in debug mode. Let's only turn it on when we need it.
2020-09-17 20:52:32 +02:00
Henrik Rydgård
28b58ca05d
More asserts
2020-09-17 20:52:32 +02:00
Henrik Rydgård
3a38e0dfdf
Merge pull request #13443 from iota97/savestate-date
...
Use system date format on savestates
2020-09-17 09:43:27 +02:00
iota97
6b5de6c27b
Use system date format on savestate as well
2020-09-17 07:52:09 +02:00
Henrik Rydgård
ccea07ab94
Merge pull request #13438 from hrydgard/header-cleanup
...
Some header include cleanup
2020-09-16 13:46:50 +02:00
Henrik Rydgård
bfc88badb8
Buildfix
2020-09-16 13:11:39 +02:00
Henrik Rydgård
78c008ac59
Merge pull request #13434 from shenweip/savadata-1
...
Check whether there may be more than one save file name by mode.
2020-09-16 12:55:44 +02:00
Henrik Rydgård
c1194dcb52
Help the compiler out a little bit in IndexGenerator::AddStrip.
...
The generated code wasn't good - this helps break long register
dependency chains.
Speed boost is measurable but small on x86, but might be bigger on simpler CPUs.
2020-09-16 09:23:12 +02:00
Henrik Rydgård
1b3413945b
Some header include cleanup
2020-09-16 09:20:41 +02:00
Henrik Rydgård
ce46adb7ac
Merge pull request #13436 from hrydgard/texture-invalidation-fixes
...
Texture invalidation fixes
2020-09-16 08:15:23 +02:00
Henrik Rydgård
7f1e35e761
Add missing asserts after some VK resource creation functions
2020-09-16 01:03:56 +02:00
Henrik Rydgård
74bc9785d9
Don't over-invalidate textures when a framebuffer is created or modified.
...
Should help #13431 .
2020-09-16 01:03:56 +02:00
Henrik Rydgård
59098a9a56
Sneak in a fix for a limited memory leak in Vulkan vertex cache
2020-09-16 01:03:56 +02:00
Henrik Rydgård
bf55986a7a
Delete TexCacheEntries that get replaced by a framebuffer
2020-09-16 01:03:56 +02:00
Henrik Rydgård
7630fae4b9
Fix bug in new framebuffer code, reducing unnecessary texture invalidations.
...
Improves the performance issue in #13431
2020-09-16 01:03:56 +02:00
shenweip
290efbc349
Check whether there may be more than one save file names by mode.
2020-09-15 21:48:55 +08:00
iota97
fe86f257b5
Cache 60 FPS requirement
2020-09-15 07:49:01 +02:00
Henrik Rydgård
68735b4e52
Merge pull request #13432 from ANR2ME/adhoc_socket
...
Fix an issue of major performance drops when using accepted PTP Sockets.
2020-09-14 22:08:50 +02:00
ANR2ME
e690dc62dc
Fix an issue of major performance drops when using accepted PTP Sockets.
2020-09-15 01:53:18 +07:00
Henrik Rydgård
6ccb24d54d
Merge pull request #13425 from kivutar/patch-1
...
Fix libretro OSX build
2020-09-14 14:30:09 +02:00
Henrik Rydgård
0b65809fd4
Merge pull request #13429 from hrydgard/more-tex-filtering-cleanups
...
More tex filtering code cleanups
2020-09-14 07:37:48 +02:00
Henrik Rydgård
dce7dde5e6
More moves
2020-09-14 00:04:39 +02:00
Henrik Rydgård
f3ce685b0e
Also move video filtering override.
2020-09-14 00:04:39 +02:00
Henrik Rydgård
0e464a61e0
Move overrides to the end of GetSamplingParams
2020-09-14 00:04:39 +02:00
Henrik Rydgård
a222b2017e
Switch to a returned value and rename these functions.
2020-09-14 00:04:39 +02:00
Henrik Rydgård
5190f85c8e
Unify/centralize SetFramebufferSamplingParams. Some include cleanup.
2020-09-14 00:04:39 +02:00
Henrik Rydgård
d8263d50f4
Make the signature of all the SetFramebufferSamplingParams the same
2020-09-14 00:04:39 +02:00
Henrik Rydgård
46b3fb0821
Workarounds for D3D9's very limited mip level control.
2020-09-14 00:04:39 +02:00
Henrik Rydgård
9ea295093b
TextureCacheGLES: Also share the same sampler calculation for GLES.
2020-09-14 00:04:39 +02:00
Henrik Rydgård
b81e0669e6
TextureCacheDX9: Use the already centralized sampler setup code from D3D11/Vulkan.
2020-09-14 00:04:39 +02:00
Henrik Rydgård
ac93a0a3f7
Merge pull request #13428 from ANR2ME/adhoc_socket
...
Adhoc Socket - Prevent Clients from freezing trying to re-connect to exited Host forever
2020-09-13 23:48:00 +02:00
Henrik Rydgård
a4f208e8c3
Merge pull request #13426 from hrydgard/tex-filtering-cleanups
...
Texture filtering cleanups
2020-09-13 23:28:43 +02:00
Henrik Rydgård
d5717c835f
Comment fix
2020-09-13 22:51:22 +02:00
ANR2ME
2808903663
Making sure the are no compiler warnings on adhoc code on android
2020-09-14 03:38:20 +07:00
ANR2ME
8d68e917b7
Prevent Client side from forever re-trying to connect to Exited Host on Shin Sangoku Musou Multi Raid 2
2020-09-14 03:38:20 +07:00
Henrik Rydgård
854ff7c5f1
Improve readability of the boolean expression mess in GetSamplingParams
2020-09-13 22:20:28 +02:00
iota97
0c885db052
User chain support
2020-09-13 21:48:00 +02:00
Henrik Rydgård
a81991f114
Merge pull request #13427 from hrydgard/map-noreserve
...
Linux: Use MAP_NORESERVE when finding a memory base pointer
2020-09-13 18:34:19 +02:00
Henrik Rydgård
6bcff8cbda
Linux: Use MAP_NORESERVE when finding a memory base pointer. See #13187
2020-09-13 17:13:07 +02:00
Henrik Rydgård
a4c071261b
TextureCacheCommon::UpdateSamplingParams no longer takes a TexCacheEntry
2020-09-13 16:40:37 +02:00
Henrik Rydgård
cea35007ae
Always use a linear filter for video, unless forcing NEAREST filtering.
2020-09-13 16:40:37 +02:00
Henrik Rydgård
c9693ee061
Texfilter: Rewrite some checks in GetSamplingParams to be faster and more understandable.
2020-09-13 16:40:37 +02:00
Henrik Rydgård
a6084f6fee
Merge pull request #13420 from hrydgard/framebuffer-simplify
...
Framebuffer manager refactor: Don't cache framebuffer information in TexCacheEntry
2020-09-13 16:40:17 +02:00
Henrik Rydgård
5d5e5fe6ff
Remove some outdated debugging code (SetDebugTexture)
2020-09-13 12:18:38 +02:00
Jean-André Santoni
6f2310b8ea
Fix libretro OSX build
...
Fixes these errors:
```
../ext/zlib/gzlib.c:492:14: error: implicit declaration of function 'lseek' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
../ext/zlib/gzwrite.c:84:15: error: implicit declaration of function 'write' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
1 /* gzguts.h -- zlib internal header definitions for gz* operations
got = write(state->fd, strm->next_in, strm->avail_in);
```
2020-09-13 15:07:08 +07:00
Unknown W. Brackets
2b49c3e464
MemMap: Check for MAP_FAILED in mmap call.
2020-09-13 00:37:20 -07:00
Henrik Rydgård
3dff9781fc
Fix GetCurrentTextureDebug
2020-09-13 09:33:06 +02:00