Commit Graph

14 Commits

Author SHA1 Message Date
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
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
fb69d56387 Headless: Generate a difference highlighting png.
Only for graphics tests that generate a screenshot, including ppdmp.
2021-11-07 11:05:17 -08:00
Unknown W. Brackets
92f9d3dc46 Headless: Move screenshot compare to class. 2021-11-07 10:03:49 -08:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
f9ef03b0a1 Headless: Allow PNGs and http:// for screenshot. 2021-01-17 18:33:02 -08:00
Unknown W. Brackets
e0b784f123 Headless: Allow screenshot compare without backend.
This makes not just graphics-enabled tests work in headless on softgpu,
but also screenshot comparison ones.
2021-01-17 17:42:07 -08:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Unknown W. Brackets
d573bf9cc9 Headless: Fix compare for 16-bit output.
Most tests have been 32-bit output, so haven't run into this.  Enables
tests with softgpu to generate 16-bit output.
2018-11-30 17:46:47 -08:00
Unknown W. Brackets
6592c6222a http: Check fread() result to avoid warning.
This will cause the length not to match the result if it happens, but the
client should interpret that as a server error.

Also a similar error in headless.
2018-06-17 11:02:26 -07:00
Unknown W. Brackets
7db9dfb50b Headless: Reduce some duplication.
We can share the screenshot code for SDL.
2017-09-20 09:25:28 -07:00