Commit Graph

291 Commits

Author SHA1 Message Date
Henrik Rydgard bfed830f91 Remove the ability to disable rounding mode support. It's time. 2015-10-08 14:54:42 +02:00
Henrik Rydgard 08735b806f Remove silly use of gstate.SetVSyncInterval 2015-09-06 13:36:33 +02:00
Unknown W. Brackets 90093faffc Ensure headless doesn't crash when profiler on.
Obviously, the frame profiler graph isn't very useful in headless (maybe
it could be?) but at least, it's nice to not have to change the .h and
rebuild all kinds of files when using headless for testing.
2015-05-30 12:53:57 -07:00
Henrik Rydgard 001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
Henrik Rydgard d24abb3af0 More GetPointer cleanup. memCardDirectory->memStickDirectory. 2014-10-19 23:20:51 +02:00
Henrik Rydgard dda3ca3d5f D3D9 init error reporting improved. Use "override" properly in Host. 2014-09-20 21:55:58 +02:00
Unknown W. Brackets b68be67d9a Workaround headless help not showing graphics. 2014-08-30 09:57:56 -07:00
Henrik Rydgård 5d836bfa5a Merge pull request #6765 from hrydgard/thin3d
Switch UI drawing from GL to Thin3D. This activates the D3D9 path as well.
2014-08-23 10:52:21 +02:00
Henrik Rydgard 92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Unknown W. Brackets dc91dc1ce8 x86jit: Support fpu rounding modes for mul, etc.
Fixes Gods Eater Burst loading PSP savedata, but can no longer load old
savedata.
2014-08-21 23:59:55 -07:00
Unknown W. Brackets 5c470a1923 Remove bgm and sfx volume settings.
They don't actually work in all games, and this only confuses users.

Also, the default 7 lowers the volume of audio detected as bgm or sfx, but
not other volume.  This means that some audio may have played too loud in
some games by default, which will be fixed by this change.
2014-08-17 14:16:59 -07:00
Henrik Rydgard 39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02:00
Unknown W. Brackets 098e763b82 Enable block transfers in headless for testing.
This allows us to do memory (not just screenshot) tests with GLES, yay.
2014-06-14 08:44:14 -07:00
Unknown W. Brackets 63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Unknown W. Brackets 4c35c1bb13 Attempt to load VFS in headless on Android.
Otherwise we don't get fonts, and savestates fail to load.
2014-03-25 00:49:03 -07:00
Unknown W. Brackets 36c3a0dd68 Make it possible to load a savestate in headless.
This is primarily useful to reproduce crashes or test performance.
2014-03-25 00:46:21 -07:00
Unknown W. Brackets 2e69aa913d Run tests with the max volume set. 2014-02-17 01:39:54 -08:00
Henrik Rydgard c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard 8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Unknown W. Brackets 0c7e9b9849 headless: default to single core.
Was zero before, causing divide by zero issues.
2013-12-15 11:59:24 -08:00
Henrik Rydgard 109decf481 Actually fix headless build, doh 2013-12-08 12:12:45 +01:00
Unknown W. Brackets 83dd3c74d6 Fix a stupid mistake in the headless timeout.
Although, still need to figure out why it gets corrupted.
2013-12-06 21:18:26 -08:00
Henrik Rydgard 32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Unknown W. Brackets f1f87e7b6f Workaround random headless timeouts on Android/etc.
Seems like we have stack corruption, so probably it's not that XMM etc.
need to be saved.  Not sure what exactly is up.
2013-11-23 10:42:28 -08:00
Unknown W. Brackets fa7467f03d Try to find the flash0 directory in headless. 2013-11-17 10:15:49 -08:00
Unknown W. Brackets c1c1b5213e Fix logging missing in headless with --log. 2013-11-17 10:15:13 -08:00
Unknown W. Brackets 712b582d26 Remove coreParam.disableG3Dlog and enableDebugging.
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Unknown W. Brackets 5d523ea06a Add android-ndk-profiler v3.2.
This allows fairly easy profiling on Android without rooting.
2013-11-02 21:54:45 -07:00
Henrik Rydgård f73aec2570 Only disable buffered rendering by default on Galaxy Y instead of all
Armv6 devices.

Would have like to use gpu feature flags but GL isn't necessarily initialized
when we load the config. Will need to find a different solution.

Also a buildfix for headless non-windows.
2013-10-25 11:47:44 +02:00
Unknown W. Brackets 04f1df4415 Set directories in headless on Windows.
Caused some tests to fail.
2013-10-24 21:29:48 -07:00
Unknown W. Brackets c486a09c2c Use a better default font path on Linux/Mac OS X.
This way people don't have to copy to ~/.ppsspp/flash0.
The override in ~/.ppsspp/PSP/flash0 still works.
2013-10-20 23:45:56 -07:00
Unknown W. Brackets b190208aa5 Fix non-Windows headless build. 2013-10-14 02:35:47 -07:00
Unknown W. Brackets af2ccbb9da Rename flashDirectory to flash0Directory. 2013-10-12 16:08:39 -07:00
Unknown W. Brackets 54f2bc8262 Don't frameskip unthrottle in headless.
Could make graphic tests wrong or something.
2013-09-19 00:29:19 -07:00
Henrik Rydgård 198434c6eb Merge pull request #3823 from unknownbrackets/headless
Fix headless on buildbot (command line length), speed up further
2013-09-18 00:48:17 -07:00
Unknown W. Brackets 48eef19538 Optionally read test filenames from stdin.
This way we don't hit command line length limits.
2013-09-18 00:17:30 -07:00
Unknown W. Brackets 7a81b802cc Don't shutdown gl in headless so quickly.
Oops.
2013-09-17 22:50:43 -07:00
Henrik Rydgård 2de4db3e31 Merge pull request #3818 from unknownbrackets/headless
Headless - use auto compare, just build test list in test.py
2013-09-17 09:08:20 -07:00
Unknown W. Brackets 43c3fd9386 Remove compare logic from test.py, use --compare. 2013-09-17 08:40:20 -07:00
Henrik Rydgård db92f26e56 Merge pull request #3806 from thedax/win32UITranslation
Win32 UI: Rewrite most of the menu translation code to be cleaner and simpler.
2013-09-17 06:43:24 -07:00
Unknown W. Brackets 0185825b23 Support the verbose test compare parameter. 2013-09-17 00:15:19 -07:00
Unknown W. Brackets c96ea1d226 List failed tests in autocompare. 2013-09-17 00:02:53 -07:00
Unknown W. Brackets e72a06503e Support running multiple tests in a row. 2013-09-16 23:58:42 -07:00
Unknown W. Brackets 9a2ea4cdc1 Move the actual test run to its own function. 2013-09-16 23:49:41 -07:00
Unknown W. Brackets 3e6df2d7aa Just save XMM0-XMM15 on x64.
Not really sure why but seems like VS2010 expects XMM4 to be preserved.

Fixes headless on x64.
2013-09-16 23:17:34 -07:00
The Dax 426e6630d9 Rewrite most of the translation stuff to be cleaner.
Also fix a bug where in-game only menu items become enabled after selecting a language when we're in various NewUI menus.
Rename Config::ilanguage to Config::iLanguage for consistency with other Config variables.
2013-09-16 18:45:09 -04:00
Unknown W. Brackets 94af2b388b Support a timeout directly in headless.
Obviously, though, if headless infinite loops we're screwed.
2013-09-16 08:36:10 -07:00
Unknown W. Brackets 57b636816b Add an internal comparison algorithm to headless.
This is slightly smarter than the test.py version, and should be
completely compatible.  It doesn't handle timeouts though.
2013-09-16 08:30:02 -07:00
Unknown W. Brackets c2e20e32e7 Buffer test output in headless a bit.
Just to newlines.  Cuts from profile by like 70%.

Seems like the bottleneck is Python, though...
2013-09-16 08:19:53 -07:00
Ced2911 5c4ed26442 Make the dx9 renderer working in headless mode 2013-09-16 09:42:30 +02:00