Commit Graph
44183 Commits
Author SHA1 Message Date
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
Henrik Rydgård 1d44bf25bd iOS: Default Vulkan presentation mode to Fifo as it's the only mode. 2025-10-17 16:12:07 +02:00
Henrik Rydgård 2f06100b43 iOS: Initial attempt at switching to SceneDelegate (UIScene)
Fixes #20884
2025-10-17 15:58:23 +02:00
Henrik Rydgård 5bb76c3572 Merge pull request #20883 from hrydgard/moltenvk-upgrade
MoltenVK upgrade
2025-10-17 13:33:55 +02:00
Henrik Rydgård c0d1baaae7 Upgrade MoltenVK for MacOS to 1.14 2025-10-17 12:57:51 +02:00
Henrik Rydgård 4c8fb07e68 Upgrade MoltenVK for iOS to 1.4.0 2025-10-17 12:52:00 +02:00
Henrik Rydgård 33050141b4 Merge pull request #20882 from hrydgard/more-ir-opts
More minor IR optimizations
2025-10-17 11:30:40 +02:00
Henrik Rydgård 20e3a0cc70 Use temporaries to improve codegen in more IR vector ops 2025-10-17 09:26:15 +02:00
Henrik Rydgård d23a224e7a Use temporaries to try to improve codegen for IROp::Vec4Blend 2025-10-17 09:26:15 +02:00
Henrik Rydgård 65041f1648 Merge pull request #20881 from hrydgard/draw-text-fallback-fixes
Draw-text RGBA8888 fixes
2025-10-17 09:25:47 +02:00
Henrik Rydgård 5fc6dee1f2 Update comment
See #20877
2025-10-17 08:58:48 +02:00
Henrik Rydgård 2b6b951f78 Fix alpha in drawtext for RGBA8888 format.
Should fix #20879
2025-10-17 08:57:12 +02:00
Henrik Rydgård 4ccf013d3b Merge pull request #20880 from hrydgard/fix-misc-issues
Rename "Credits" to "About PPSSPP", fix minor UI issues
2025-10-17 01:50:03 +02:00
Henrik Rydgård e5f52854d8 Atlas SVG: Add 1px transparent border to images without shadows, to ensure consistent filtering 2025-10-16 16:45:59 +02:00
Henrik Rydgård 4b2255fcd6 Remove unnecessary spacer in portrait mode 2025-10-16 15:44:12 +02:00
Henrik Rydgård 1a01e02efe Replace "Credits" with About PPSSPP on the main screen 2025-10-16 15:42:32 +02:00