Commit Graph

39473 Commits

Author SHA1 Message Date
Henrik Rydgård
457681f15e
Merge pull request #18724 from hrydgard/restart-graphics-windows
Windows: Add "Restart Graphics" to the debug menu.
2024-01-18 18:46:35 +01:00
Henrik Rydgård
b899a178bf Change approach (call from NativeFrame instead). Add Mac support 2024-01-18 18:21:12 +01:00
Henrik Rydgård
d45f95e304 Limit to Windows to fix linker error 2024-01-18 16:08:23 +01:00
Henrik Rydgård
d51da3ca60 Windows: Add "Restart Graphics" to the debug menu. Useful to debug resource lifetime issues. 2024-01-18 15:57:45 +01:00
Henrik Rydgård
7918e49a24
Merge pull request #18723 from hrydgard/requester-tokens
Fix a particular type of race condition in file dialog requests
2024-01-18 14:53:39 +01:00
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
b4122ef1f4
Merge pull request #18722 from hrydgard/neon-conversions
Fix NEON compilation error on strict compilers.
2024-01-18 11:20:35 +01:00
Henrik Rydgård
531f145e0b Fix NEON compilation error on strict compilers. Fixes #18688 2024-01-18 10:38:30 +01:00
Henrik Rydgård
7affb1b8ae
Merge pull request #18721 from hrydgard/fix-pause-screen-old-mali
EmuScreen: Use CLEAR instead of DONT_CARE to help the render pass merger.
2024-01-18 10:33:54 +01:00
Henrik Rydgård
3967d074bf EmuScreen: Use CLEAR instead of DONT_CARE to help the render pass merger.
Should fix #18720

We need to annotate store mode properly too, in order to merge passes
that load with DONT_CARE.

The reason it's a problem that we fail to merge renderpasses is that old
Mali drivers get things in a terribly wrong state if you submit an empty
renderpass.
2024-01-18 09:44:40 +01:00
Henrik Rydgård
7627de4846
Merge pull request #18718 from hrydgard/fix-running-prx-on-scoped-storage
Android: Fix running plain PRXs on scoped storage. Minor cleanup.
2024-01-18 01:06:52 +01:00
Henrik Rydgård
d1fb213750 Cleaner way 2024-01-18 00:54:04 +01:00
Henrik Rydgård
554a89bb9c
Merge pull request #18719 from hrydgard/update-rcheevos-again
Update rcheevos yet again
2024-01-18 00:40:03 +01:00
Henrik Rydgård
4fea6eeaab Try a compromise with the paths 2024-01-18 00:29:27 +01:00
Henrik Rydgård
ffe64c2305 Sneak in catching an Android exception 2024-01-18 00:29:07 +01:00
Henrik Rydgård
ff12ff1345 Android: Fix running plain PRXs on scoped storage. Minor cleanup. 2024-01-18 00:22:51 +01:00
Henrik Rydgård
9555563ad2 Update rcheevos yet again 2024-01-18 00:20:37 +01:00
Henrik Rydgård
8b5f9328fb
Merge pull request #18717 from hrydgard/gradle-deprecations
Fix some gradle deprecation warnings
2024-01-18 00:09:59 +01:00
Henrik Rydgård
01370ab099 Fix some gradle deprecation warnings 2024-01-17 23:43:00 +01:00
Henrik Rydgård
1f3da0583e Upgrade gradle again 2024-01-17 23:38:49 +01:00
Henrik Rydgård
ae4255d463
Merge pull request #18716 from hrydgard/new-validation-fixes
New Vulkan validation fixes
2024-01-17 23:06:07 +01:00
Henrik Rydgård
ce2163eb93 Vulkan MSAA: Avoid creating backbuffer renderpasses with the wrong sample count, oops 2024-01-17 21:41:04 +01:00
Henrik Rydgård
b5496851dc Vulkan: Semaphore-per-frame seems to be the way to go, according to the new validation layers. 2024-01-17 21:34:31 +01:00
Henrik Rydgård
6b20fdfb11
Merge pull request #18715 from hrydgard/more-beta-fixes
More beta fixes
2024-01-17 18:21:45 +01:00
Henrik Rydgård
cbb4236cd8 Vulkan: Attempt to fix some more shutdown race conditions, simplify. 2024-01-17 14:49:49 +01:00
Henrik Rydgård
9333c75e9a
Merge pull request #18714 from lvonasek/compat-openxr-shadow-destiny
OpenXR - Shadow of Destiny VR camera fixed
2024-01-17 13:35:05 +01:00
Lubos
c7267dfbe0 OpenXR - Shadow of Destiny VR camera fixed 2024-01-17 12:36:15 +01:00
Henrik Rydgård
d3da0df219
Merge pull request #18710 from hrydgard/adreno-driver-screen
Adreno driver screen
2024-01-17 11:49:53 +01:00
Henrik Rydgård
2b6bb46a98 Vulkan: Minor descriptor write optimization, add some debug asserts 2024-01-17 11:08:16 +01:00
Henrik Rydgård
cf635fcd1e Add new translation strings 2024-01-17 10:51:12 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård
72c4d346d0
Merge pull request #18711 from hrydgard/fix-analog-speed-crash
Don't crash after mapping analog speed to a stick.
2024-01-17 09:48:05 +01:00
Henrik Rydgård
feaf7cef10 Merge branch 'felipe-master' 2024-01-16 14:43:14 +01:00
Felipe
e094161206 Updated brazilian portuguese translation
Updated translation with the latest strings.
2024-01-16 14:43:06 +01:00
Henrik Rydgård
705230ab9a
Merge pull request #18708 from Saramagrean/patch-3
Update th_TH.ini
2024-01-16 14:33:53 +01:00
Henrik Rydgård
e1b1ae449b Don't crash after mapping analog speed to a stick.
Fixes #18689
2024-01-16 14:32:42 +01:00
Benjamin Benda Gates
20112f2c86
Update th_TH.ini 2024-01-16 19:35:12 +07:00
Henrik Rydgård
7879ebdf6b
Merge pull request #18706 from hrydgard/misc-cleanup
Remove a bunch of dead code from CoreTiming ("threadsafe" events)
2024-01-16 10:39:17 +01:00
Henrik Rydgård
3fd5190271 Add a comment, some additional cleanup 2024-01-16 09:07:09 +01:00
Henrik Rydgård
7e427e41d1 Remove a bunch of dead code from CoreTiming ("threadsafe" events)
We haven't used these "threadsafe" events since we removed our first attempt
at GPU threading, so like 10 years, and maybe some experimentation in the
networking code according to some comments. It's unlikely that any
savestates that used these events would load anyway.
2024-01-16 09:06:03 +01:00
Henrik Rydgård
69a25ba1db
Merge pull request #18707 from hrydgard/more-beta-fixes
More beta fixes
2024-01-16 01:25:16 +01:00
Henrik Rydgård
6066e745db CoreTiming::ProcessEvents : Reject bad event types. Rename function. 2024-01-15 23:57:34 +01:00
Henrik Rydgård
7b738edfc9 Try to eliminate another shutdown deadlock (drain shader compile queue)
See #18705
2024-01-15 23:36:47 +01:00
Henrik Rydgård
3deabaeb04 JitBlockCache: Add a debug assert 2024-01-15 23:28:59 +01:00
Henrik Rydgård
98c061f6ab
Merge pull request #18704 from hrydgard/fix-crop-to-16x9
Revert back to the old way of fitting into 16:9: Crop one line at the top and bottom
2024-01-15 22:40:44 +01:00
Henrik Rydgård
e908034ad3 Revert back to the old way of fitting into 16:9: Crop one line at the top and bottom
I seem to have switched to a stretch at some point, which isn't ideal and can be
achieved anyway with the stretch option. A two-line crop (1 at top, 1 at bottom)
is generally the better option.

There's now also a hidden ini setting to turn it off. I might be
convinced to add it as a real setting once I figure out a good name for
it. The setting:

```ini
[Graphics]
DisplayCrop16x9 = True
```

Fixes #18693
2024-01-15 22:04:42 +01:00
Henrik Rydgård
8b282a5d79
Merge pull request #18701 from hrydgard/more-beta-crash-fixes
More beta crash fixes
2024-01-15 18:16:37 +01:00
Henrik Rydgård
a49073c6cd Remove debug logging 2024-01-15 17:38:17 +01:00
Henrik Rydgård
dc4f22d1a4 GameDB: Add a mutex, and load on demand instead. 2024-01-15 17:17:02 +01:00
Henrik Rydgård
c1a7235767 Fix another shutdown race condition in the Vulkan backend 2024-01-15 17:06:00 +01:00