Commit Graph
45601 Commits
Author SHA1 Message Date
Unknown W. Brackets 09c7898cb2 Common: Reduce logging of system requests. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets d621bbd73d Common: Avoid buildup of blank callbacks. 2023-03-25 17:12:44 -07:00
Unknown W. Brackets 089580d09a Windows: Always detach request threads.
No point having a global if it's always detached after use.
2023-03-25 17:12:44 -07:00
Unknown W. Brackets f1834fcdde Replacement: Correct padding w/ threads disabled. 2023-03-25 17:12:43 -07:00
Henrik Rydgård 1298799ba8 Merge pull request #17188 from hrydgard/force-maximum-depth-resolution
Add compat setting to force using maximum depth resolution
2023-03-26 00:46:40 +01:00
Henrik Rydgård 9a6a23110b Fix controller polling when there's no Host. Fixes #17187 2023-03-26 00:33:07 +01:00
Henrik Rydgård b13c5c2d1b Add compat setting to force using maximum depth resolution
Fixes #17014

Even if our depth-testing-equal heuristic believes that the game needs
lower depth resolution.

This removes some depth-fighting artifacts (that are present on the real
PSP, but nice to avoid) in Outrun, Split/Second and Cars: Race-o-Rama -
essentially reverting these to the behavior we had before the heuristic.

(The heuristic is good though - it means less compat.ini hacks going in
the other direction).

In the case of Outrun, this relies on two passes that pass exactly the
same vertex coordinates twice resulting in the exact same final
geometry. This is actually guaranteed by the spec if the vertex math is
exactly the same and "invariant" is set on the position output, though
I guess you never know.. Haven't seen any issues at least.

Also sneak in disabling some validation messages from using extra Vulkan
validation layers other than the default.
2023-03-26 00:27:58 +01:00
Henrik Rydgård afb17119b7 Merge pull request #17185 from hrydgard/request-fixups
Request-related fixups
2023-03-25 21:56:10 +01:00
Henrik Rydgård 77f90c5406 Restore tabs, oops. 2023-03-25 18:51:06 +01:00
Henrik Rydgård 221d2f7eb5 RequestManager: Add a separate callback for failures. Separate because we usually don't need it, except Osk. 2023-03-25 18:49:23 +01:00
Henrik Rydgård 659b51e55a Merge pull request #17184 from hrydgard/additional-host-cleanup
Additional Host cleanup
2023-03-25 11:24:39 +01:00
Henrik Rydgård 9cf7870ffa host nullchecks 2023-03-25 11:06:47 +01:00
Henrik Rydgård d0669d118d Libretro buildfix 2023-03-25 11:04:56 +01:00
Henrik Rydgård d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård 7d0eac730f Remove WindowsHost 2023-03-25 10:43:00 +01:00
Henrik Rydgård 143f499d11 Remove a few of the Host implementations 2023-03-25 10:37:49 +01:00
Henrik Rydgård 9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård 5e36acb9eb Remove Host::UpdateSound 2023-03-25 10:18:29 +01:00
Henrik Rydgård 67353e8f0b Merge pull request #17177 from hrydgard/libretro-avoid-double-resample
libretro: Bypass PPSSPP's resampler, since libretro already has one
2023-03-25 08:10:39 +01:00
Henrik Rydgård 0478780f67 Merge pull request #17181 from hrydgard/tales-narikiri-avoid-readback
Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks.
2023-03-25 08:10:02 +01:00
Henrik Rydgård d7f1ed8576 Merge pull request #17180 from hrydgard/even-more-host-cleanup
Even more "Host" code cleanup
2023-03-25 00:02:16 +01:00
Henrik Rydgård 417f61b366 Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks.
Copies to a framebuffer instead of RAM.

Confirmed through e-mail that is fixes the performance drop from #16714,
but unknown whether there are any regressions in the rest of the game.

I guess we'll find out.
2023-03-24 23:59:33 +01:00
Henrik Rydgård dcfdb30cb8 Buildfix, cleanup 2023-03-24 23:28:30 +01:00
Henrik Rydgård 677cba6e77 buildfix 2023-03-24 23:04:14 +01:00
Henrik Rydgård 7c5cc8cafd And ToggleDebugConsoleVisibility. 2023-03-24 21:43:45 +01:00
Henrik Rydgård adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +01:00
Henrik Rydgård 56c26eef4d Remove the old AsyncFileDialog thingy 2023-03-24 21:32:20 +01:00
Henrik Rydgård a73ac49d59 Move the non-working "Create desktop shortcut" stuff to the request framework 2023-03-24 20:05:48 +01:00
Henrik Rydgård e71be8af2e Remove PollControllers from host. Break out a WindowsInputManager from WindowsHost. 2023-03-24 19:57:24 +01:00
Henrik Rydgård 72ab6cd0bc libretro: Bypass PPSSPP's resampler, since libretro already has one
Hopefully, this will fix the reported bad audio performance and
behavior. Running two speed-compensating resamplers in a row can't be a good thing.
2023-03-24 18:52:41 +01:00
Henrik Rydgård 2f09d29698 Merge pull request #17178 from hrydgard/more-host-cleanup
More Host cleanup
2023-03-24 18:50:38 +01:00
Henrik Rydgård 5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård 5af92cfca0 Cleanup 2023-03-24 17:52:56 +01:00
Henrik Rydgård 1250692657 Convert host->SetWindowTitle to a request 2023-03-24 17:52:01 +01:00
Henrik Rydgård 349b73acec Move the resampler usage to a common file, AudioCommon. (#17176)
* Move the resampler usage to a common file, AudioCommon.

Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.

* Android.mk typo

* libretro makefile fix

* libretro buildfix

* libretro: try a different approach for the temporary solution

* duh

* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård b6b6066ee5 Merge pull request #17175 from hrydgard/more-audio-refactor
Some more audio refactoring
2023-03-24 15:33:09 +01:00
Henrik Rydgård 724f94f8e4 UWP buildfix 2023-03-24 15:32:48 +01:00
Henrik Rydgård e95662cebf Separate out the core interface around the resampler, in order to move it out from __sceAudio. 2023-03-24 14:48:53 +01:00
Henrik Rydgård a5fdf3d05b Add samplerate argument to NativeMix 2023-03-24 14:48:53 +01:00
Henrik Rydgård 8421c1e2a1 Move g_backgroundAudio.Play to NativeUpdate 2023-03-24 14:48:49 +01:00
Henrik Rydgård 91620e38bd Merge pull request #17174 from hrydgard/dsound-remove-update-poll
Remove polling requirement from DSound audio backend
2023-03-24 11:53:04 +01:00
Henrik Rydgård 21bd50dcb0 Remove polling requirement from DSound audio backend
Might as well sleep for a short period instead, same effect really.
2023-03-24 10:40:10 +01:00
Henrik Rydgård a6e5d59d9a Merge pull request #17172 from hrydgard/touch-dialog-close-fix
UI: Fix weird misbehavior dragging outside a popup dialog
2023-03-24 00:29:55 +01:00
Henrik Rydgård 88fe4799a5 UI: Fix weird misbehavior dragging outside a popup dialog
Fixes #17107
2023-03-24 00:11:49 +01:00
Serena ea4e294faa fix openSystemFileBrowser 2023-03-23 23:28:57 +03:00
Serena 84849d9d32 fixes 2023-03-23 22:09:01 +03:00
Henrik Rydgård 949a53e273 Merge pull request #17171 from lvonasek/camera_openxr_uxfix
OpenXR - Camera mode offset
2023-03-23 20:03:20 +01:00
Lubos 61eaae37f7 OpenXR - Camera mode offset 2023-03-23 19:42:08 +01:00
Serena 645407fa74 Merge branch 'master' into serena/macos-bar-menu-items 2023-03-23 21:27:42 +03:00
Henrik Rydgård 677da602fd Merge pull request #17170 from hrydgard/thrillville-depth-fix
Don't forget to call CheckDepthUsage when using imm draws.
2023-03-23 17:55:07 +01:00