44 Commits

Author SHA1 Message Date
Henrik Rydgård
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Unknown W. Brackets
0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07: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
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
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
1b72311e7d Headless: Fix comparison for oversized buffers.
At least when not flipping.
2022-08-21 15:51:56 -07:00
Unknown W. Brackets
a45eeb56ed Headless: Fix compare of smaller buffers.
When the buffer is smaller, we need to flip properly to compare the
correct pixels.
2022-01-08 16:06:17 -08: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
Unknown W. Brackets
0875c217c6 Headless: Fix ppdmp compare. 2021-11-07 10:01:16 -08:00
Unknown W. Brackets
ed2ade4e22 headless: Correct tests. 2021-05-14 22:44:05 -07:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
8a0adfde33 headless: Avoid C++ files for Path support.
Not critical for Android paths, but better if they work.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
8a8328c431 Common: Move ColorConv to a more appropriate place. 2021-05-01 11:20:05 -07:00
Henrik Rydgård
a2a0551a83 Buildfix, and more renaming while we're at it. 2021-04-25 22:25:29 +02:00
Henrik Rydgård
1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Unknown W. Brackets
c84cbdda8a Headless: Default to PNG for ppdmp tests. 2021-01-17 18:34:23 -08:00
Unknown W. Brackets
f9ef03b0a1 Headless: Allow PNGs and http:// for screenshot. 2021-01-17 18:33:02 -08:00
Unknown W. Brackets
3306ac115d Headless: Read expected file as a FileLoader.
This makes it possible to run tests from network locations.
2021-01-17 17:44:21 -08:00
Unknown W. Brackets
7014e8997c Build: Reference test as file on failure. 2020-12-31 07:27:27 -08:00
Unknown W. Brackets
c73d8ab1d0 Headless: Add specific GitHub Actions logging. 2020-12-31 00:21:09 -08:00
Unknown W. Brackets
af7c97d624 Headless: Cleanup TeamCity handling in test.py. 2020-12-31 00:21:09 -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
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