Commit Graph

409 Commits

Author SHA1 Message Date
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
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
adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +01:00
Henrik Rydgård
5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +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
f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Henrik Rydgård
5fae4f36db Move SkipUI function 2023-03-21 13:39:02 +01:00
Henrik Rydgård
f60f5ccaea Move SetDebugMode notification 2023-03-21 13:39:00 +01:00
Henrik Rydgård
fc1732cc22 Move NotifySwitchUMDUpdated 2023-03-21 13:37:19 +01:00
Henrik Rydgård
c92a4acb40 Move NotifySymbolMapUpdated to System_Notify 2023-03-21 13:37:19 +01:00
Henrik Rydgård
dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +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
c127ff47a3 Headless: Load assets from parent dir on Windows.
This is the default debug setting in our MSVC project, so make it easy.
2023-03-12 13:34:41 -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
Henrik Rydgård
cb16f193ec Fix the problem. Still need to leave the loop with SDL even if we supply a swap function. 2023-01-30 15:45:05 +01:00
Henrik Rydgård
b62572a78f Refactor the framedata/GPU thread management. 2023-01-30 11:49:31 +01:00
Unknown W. Brackets
1480b4eda4 headless: Shutdown SDL at the end. 2023-01-07 06:54:37 -08:00
Unknown W. Brackets
f6c26ecac0 Headless: Prevent crash on errors in graphics init. 2022-12-24 17:43:32 +00: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
Unknown W. Brackets
f009d15078 headless: Allow screenshot to not be 512x272.
Ended up with a cropped screenshot for a frame dump, which just silently
crashed.  Could reject, but easy enough to support.
2022-10-18 21:33:47 -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
1dc1b2c35b headless: Use display buf for compare screenshot.
This is what the test actually uses too.
2022-09-20 14:05:50 -07: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
f32e8e11ab headless: Switch screenshot error to MSE.
This is more useful than 1/0 on whether a pixel doesn't match, when many
are close but not exact.
2022-09-17 14:13:26 -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