Commit Graph
44198 Commits
Author SHA1 Message Date
Henrik Rydgård 28790c19af Merge pull request #20912 from hrydgard/ios-portrait-support
iOS portrait mode support
2025-10-22 16:19:37 +02:00
Henrik Rydgård 9cc0f4100b Merge pull request #20910 from hrydgard/upgrade-build-gradle
Convert the Android gradle setup to modern .kts
2025-10-22 16:19:20 +02:00
Henrik Rydgård 67c1e0b8c5 Merge pull request #20911 from fp64/neon-pma
Update NEON PMA to match scalar/SSE2
2025-10-22 16:19:01 +02:00
Henrik Rydgård e2b21d26bf Rotation on iOS fixes: Make sure the setting is saved, etc. 2025-10-22 15:54:00 +02:00
Henrik Rydgård c5dcb0009c Support screen rotation in OpenGL as well. 2025-10-22 15:19:12 +02:00
Henrik Rydgård 1c49ad7b29 Support screen rotation on iOS (unrestricted) 2025-10-22 15:13:21 +02:00
fp64 5c67109862 Update NEON PMA to match scalar/SSE2
See https://github.com/hrydgard/ppsspp/pull/20902#issuecomment-3429764588 for details.

WARNING: not at all tested in actual PPSSPP, only godbolt for relevant snippet. Verification that it works would be good.

Again, this should be slightly slower than the current version, which shouldn't matter. The goal is accuracy/consistency here.
2025-10-22 14:13:07 +03:00
Henrik Rydgård 2ee0b00134 Converting the gradle setup to modern 2025-10-22 12:18:12 +02:00
Henrik Rydgård 9bc28cae3a Merge pull request #20909 from a-blondel/feature/update-infra-dns
Update infra-dns.json
2025-10-22 12:13:01 +02:00
Henrik Rydgård b1ff621483 Merge pull request #20907 from hrydgard/fix-assorted-bugs
Fix minor UI bugs
2025-10-22 12:10:24 +02:00
a-blondel 6e1d4b140c Update infra-dns.json 2025-10-22 12:06:51 +02:00
Henrik Rydgård 353bc9d8bf Fix display of some pinned paths on Android 2025-10-22 00:13:00 +02:00
Henrik Rydgård 630529e25f build.gradle: Don't set platform version for NDK, it's automatic 2025-10-22 00:12:41 +02:00
Henrik Rydgård 74d6b463b2 Merge pull request #20906 from hrydgard/ghost-recon-workaround
Add a compatibility flag to apply sum2012's workaround for Ghost Recon: Predator
2025-10-21 16:57:02 +02:00
Henrik Rydgård f14c4dfb90 Add a compatibility flag to apply sum2012's workaround for Ghost Recon: Predator
I'm not confident in the behavior here, so let's change it only for this
game for now.

Replaces #20892

Fixes #20856
2025-10-21 15:23:12 +02:00
Henrik Rydgård 9467643bd4 Fix formatting string bug in debug overlay 2025-10-21 15:04:15 +02:00
Henrik Rydgård 2bc2d9c6f9 Minor UIAtlas code cleanup 2025-10-21 14:49:55 +02:00
Henrik Rydgård 9b314fff02 Merge pull request #20903 from hrydgard/menu-framerate
Use more accurate sleep functions in menu sleeps
2025-10-21 13:13:57 +02:00
Henrik Rydgård 0770bc6cd6 Parallelize some of the processing of UI atlas images 2025-10-21 12:11:23 +02:00
Henrik Rydgård c29eb5097b Use the more accurate sleep function in the UI throttling 2025-10-21 12:11:23 +02:00
Henrik Rydgård 7cc4a0f3a3 Add more accurate sleep function (well, not more accurate on Windows unfortunately) 2025-10-21 12:11:23 +02:00
Henrik Rydgård 29032f4a70 Merge pull request #20900 from hrydgard/restore-vsync
Rework the VSync setting and related code to make more sense
2025-10-21 12:10:23 +02:00
Henrik Rydgård 6bce0c9ec4 Merge pull request #20901 from cnjhb/patch-1
Add some static for GameSettingsScreen.cpp
2025-10-21 11:27:15 +02:00
Henrik Rydgård d265336912 Warning fix 2025-10-21 11:16:19 +02:00
Henrik Rydgård 3ae0057285 UIAtlas: Fix bug when adding 1px border to images (was a no-op by accident) 2025-10-21 11:08:53 +02:00
Henrik Rydgård 46ab4fd1b9 Merge pull request #20902 from fp64/optimize-pma
Improve accuracy of SSE2 PMA conversion
2025-10-21 11:07:01 +02:00
fp64 9932ad3f85 Improve accuracy of SSE2 PMA conversion
This makes SSE2 version match the (correctly-rounded)
scalar reference (which the current version doesn't:
see https://godbolt.org/z/hK5938jda).

The new implementation uses the same idea as mentioned in
https://github.com/hrydgard/ppsspp/pull/20870#issuecomment-3413134437

It may be a bit slower than current implementation (which
simply truncates?), but correctness/consistency is
probably worth it.

The difference is slight (by 1 in RGB color channels),
but observable in synthetic examples (in particular the
current implementation darkens completely opaque parts,
including `0xFFFFFFFF` -> `0xFFFEFEFE`, and, more
strikingly,`0xFF010101` -> `0xFF000000`).

This doesn't touch NEON part at all (so "vibe-coded" comment
stays for now), but it shouldn't be too hard to port.
2025-10-21 08:04:37 +03:00
蒋慧赟 847b42ac3d Add some static for GameSettingsScreen.cpp 2025-10-21 09:48:13 +08:00
Henrik Rydgård c5b1f2ffb0 OpenGL: Call SwapInterval properly 2025-10-20 22:45:42 +02:00
Henrik Rydgård 042cf87248 Rework the present mode settings, refactor. 2025-10-20 21:28:38 +02:00
Henrik Rydgård 4c0b011b0e Refactor the vsync settings, making VSync=on always good, if combined with Low Latency Present 2025-10-20 19:53:21 +02:00
Henrik Rydgård a656496953 Remove setting for fast-forward mode 2025-10-20 19:53:21 +02:00
Henrik Rydgård 82bba691dd Unexpose the specialized Vulkan presentation modes for now 2025-10-20 19:53:21 +02:00
Henrik Rydgård 7da47995dc Bump langtools deps 2025-10-20 19:53:21 +02:00
Henrik Rydgård b4f7635719 Vulkan: Check the available present modes right after initializing the surface 2025-10-20 19:52:24 +02:00
Henrik Rydgård 65fa765409 Merge pull request #20898 from hrydgard/vulkan-init-refactor
Small Vulkan init refactor
2025-10-20 17:11:20 +02:00
Henrik Rydgård 80bd32325c Move the present mode from the CreateInfo to InitSwapchain 2025-10-20 16:33:34 +02:00
Henrik Rydgård 6338832015 Vulkan: Smoothly recreate the swapchain using oldSwapchain on "resize" on Windows 2025-10-20 15:42:34 +02:00
Henrik Rydgård 84aeec7148 Merge pull request #20897 from hrydgard/remove-strange-frameskip-type
Remove the "Percentage of framerate" frameskip type
2025-10-20 12:18:18 +02:00
Henrik Rydgård 9b5cd7fd3d Remove translation strings 2025-10-20 11:49:44 +02:00
Henrik Rydgård 5aeab28e9b Remove the "Percentage of framerate" frameskip type 2025-10-20 11:49:41 +02:00
Henrik Rydgård 54e6d04f9a Merge pull request #20894 from hrydgard/small-gfx-refactor
Remove unused "interval" concept from presentation mode
2025-10-19 18:52:50 +02:00
Henrik Rydgård 176c55da25 Remove unused "interval" concept from presentation mode 2025-10-19 18:18:06 +02:00
Henrik Rydgård 699391814b Merge pull request #20895 from NABN00B/new-icons
Add Chat, Debugger and DevMenu UI icons
2025-10-19 18:06:30 +02:00
Nab cb7dac27e7 Add Chat, Debugger and DevMenu UI icons 2025-10-19 15:29:55 +02:00
Henrik Rydgård 9bb3e443d4 Merge pull request #20888 from NABN00B/pinned-folder-icons
Draw pin icon for pinned folders in grid style
2025-10-18 21:11:40 +02:00
Nab 001181464e Draw pin icon for pinned folders in grid style 2025-10-18 19:00:38 +02:00
Henrik Rydgård 42be86552f Merge pull request #20885 from hrydgard/ios-scene-ui
iOS: Initial attempt at switching to SceneDelegate (UIScene)
2025-10-18 14:48:43 +02:00
Henrik Rydgård 3cc57b7a2b iOS: Fix restarts after the scene change (for backend change etc) 2025-10-17 21:07:53 +02:00
Henrik Rydgård 34385ea1fd Vulkan: Don't show the present mode setting if there's only one viable value. 2025-10-17 21:07:00 +02:00