Commit Graph

291 Commits

Author SHA1 Message Date
Henrik Rydgård 0deefb82a9 thin3d: Merge BeginFrame and SetDebugFlags (set them every frame anyway) 2023-08-10 17:15:54 +02:00
Henrik Rydgård bcae36d8cb Merge NativeUpdate and NativeRender, we always call them together. 2023-08-07 22:50:57 +02:00
Henrik Rydgård a32249a3cf Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu 2023-08-03 16:19:18 +02:00
Henrik Rydgård fc6879674e Refactor overlays into an enum 2023-08-02 13:03:04 +02:00
Henrik Rydgård 9bd67df5b2 Achievement savestate fixes 2023-07-08 21:47:16 +02:00
Henrik Rydgård 8fa7cb2122 iOS buildfix, cleanup 2023-06-20 16:10:13 +02:00
Henrik Rydgård 688042c036 Unrelated warning fix 2023-06-04 23:02:34 +02:00
Unknown W. Brackets 00d84695d8 headless: Rename collectEmuLog for clarity.
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Unknown W. Brackets 76ef95a841 headless: Remove printfEmuLog, simplify output. 2023-03-26 10:17:34 -07:00
Unknown W. Brackets 42f64e34e8 headless: Rename StubHost to HeadlessHost.
It's had that weird name forever, get rid of it.
2023-03-25 17:49:05 -07:00
Unknown W. Brackets 0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Unknown W. Brackets 4e3ec384fb headless: Use requests for debug output.
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Henrik Rydgård 9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +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 8804c3c69f Merge pull request #17166 from unknownbrackets/headless-cleanup
headless: Avoid ugly casts
2023-03-23 07:22:32 +01:00
Unknown W. Brackets d8986af367 headless: Avoid ugly casts. 2023-03-22 22:51:00 -07:00
Henrik Rydgård b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård 70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård 47f063550a Remove InitGraphics/ShutdownGraphics from Host, except for headless 2023-03-21 22:47:20 +01:00
Henrik Rydgård 5fae4f36db Move SkipUI function 2023-03-21 13:39:02 +01:00
Henrik Rydgård 06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Unknown W. Brackets 9f04d09fb4 Headless: Use a single method for assets paths.
There were multiple ways and this likely makes more sense.
2023-03-12 16:46:51 -07:00
Unknown W. Brackets 7e910b7d65 Headless: Allow @listfile to run multiple.
Just for easy debugging of a long list of tests.
2023-03-12 13:34:10 -07:00
Henrik Rydgård a43b62537a Buildfixes 2023-03-07 20:22:28 +01:00
Henrik Rydgård a8bdf11fdc Headless buildfix 2023-03-06 16:56:16 +01:00
Henrik Rydgård 53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00
Henrik Rydgård 3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Unknown W. Brackets f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård 7950a00c14 Headless buildfix. Crashfix in shader generator test. 2022-12-01 22:49:00 +01:00
Henrik Rydgård a0f27c7442 Implement depth/stencil resolve. (We probably only need depth resolve since we don't texture from stencil, but whatever). 2022-12-01 22:49:00 +01:00
Henrik Rydgård 75dc856e2c Test fix 2022-11-23 08:52:46 +01:00
Henrik Rydgård c91e7912bf Change "Simulate block transfer" to "Skip GPU Readbacks". Group the speed hacks together 2022-11-06 19:30:38 +01:00
Henrik Rydgård 519db766b6 Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations. 2022-11-06 19:26:56 +01:00
Unknown W. Brackets 21573f4302 headless: Fix crash running some tests on Vulkan.
If there's no frame display, tests were crashing because no backbuffer
present blit happened.  This allows those tests to run.
2022-10-18 21:34:59 -07:00
Henrik Rydgård d30d8bf35c Removes the option, autodetect instead - only enable if the GPU doesn't support bitwise ops. 2022-10-11 16:09:57 +02:00
lainon fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets c65880fa90 headless: Add some new and passing tests. 2022-09-18 06:40:15 -07:00
Unknown W. Brackets 749268c7f7 headless: Benchmark a test or frame dump.
This outputs the average time for comparison.
2022-09-17 14:14:08 -07:00
Unknown W. Brackets 25d92c8a84 headless: Add option for MSE pass threshold.
This makes it easier to allow a certain amount of deviation across
devices.
2022-09-17 14:14:08 -07:00
Unknown W. Brackets d703c934dd Headless: Small cleanup of options handling.
To be able to add additional options.
2022-09-17 14:13:22 -07:00
Unknown W. Brackets fc50860f55 headless: Fix startup on latest Android versions.
Otherwise it tries to use deprecated ashmem and chokes.
2022-09-03 21:06:32 -07:00
Unknown W. Brackets 05ad644c69 Headless: Set softgpu config flag.
This affects dump playback (whether it updates RAM with what's in the
frame dump), so it's confusing when it's not set matching the core.
2022-08-21 15:52:18 -07:00
Unknown W. Brackets 5246d901ce Headless: Cleanup unused/leak warnings. 2022-08-07 12:10:17 -07:00
Unknown W. Brackets 170441313c Net: Ignore SIGPIPE errors on POSIX systems.
This should work on BSD/macOS/Linux/iOS/similar.
2022-04-03 06:57:45 -07:00
Unknown W. Brackets 3df6cb704f Global: Fix some type conversion warnings.
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets 7e814decc7 Headless: Improve total test time on Windows.
This improves it by almost 40%.
2022-01-30 08:27:22 -08:00
Unknown W. Brackets e062c31a82 Headless: Improve test init time. 2022-01-30 08:04:35 -08:00