Commit Graph

1157 Commits

Author SHA1 Message Date
Unknown W. Brackets
f97df5d153 Debugger: Broadcast ctrl input events.
This can be useful to trigger debugging functionality on button press.
2021-01-18 18:14:48 -08:00
Unknown W. Brackets
de3277c679 Debugger: Add API to trigger buttons. 2021-01-18 16:58:34 -08:00
Henrik Rydgård
90a8038a08
Merge pull request #13907 from unknownbrackets/headless
Fix Headless and UnitTest on Android again
2021-01-10 23:37:11 +01:00
Unknown W. Brackets
3734df347b Android: Add NEON/SSE funcs into Headless/UnitTest. 2021-01-10 12:38:20 -08:00
Unknown W. Brackets
e2efc245db Android: Fix headless and unittest build. 2021-01-10 12:16:02 -08:00
Unknown W. Brackets
eee529c6c9 UI: Cleanup Windows header in MainScreen.cpp.
Better to have this come from System, probably.  It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
Henrik Rydgård
db545ac034 Enable using the folder browser on Android to select SD card through a gross hack.
Should help #13827

Not yet using storage framework properly, just stealing the URI.
2021-01-09 11:20:20 +01:00
Henrik Rydgård
401d9ca469 Add a file picker (WIP) 2021-01-09 01:09:21 +01:00
Henrik Rydgård
75be1e999d Try another method for getting SD card storage paths (env vars).
See #13827
2021-01-08 20:05:33 +01:00
Henrik Rydgård
17f65a251b Add more error checking in SD storage detection
See #13827
2021-01-08 11:23:46 +01:00
Unknown W. Brackets
57fda69e50 Android: Minor cleanup. 2021-01-07 22:41:38 -08:00
Henrik Rydgård
0bdf565fb2 Fixes for SD card detection on slightly older devices. 2021-01-07 22:55:44 +01:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård
3c5cc4c9f2 Add some new icons. 2021-01-07 00:54:50 +01:00
Unknown W. Brackets
3c9ab13672 GPU: Remove NULL GPU.
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00
Unknown W. Brackets
83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Henrik Rydgård
fd4f1ad305 Android: Fix text color in dialogs by just inheriting from the DeviceDefault theme.
Fixes #13731
2020-12-20 13:59:05 +01:00
Henrik Rydgård
572a2e48f6 Fix some wrong asserts (we don't use <cassert>) 2020-11-19 19:38:37 +01:00
Henrik Rydgård
766dbc5a9f Move ShaderTranslation.cpp/h to Common/GPU. 2020-11-09 11:18:43 +01:00
Henrik Rydgård
19b4febbbf More reinterpret shader gen and test work.
More work on reinterpret

Buildsystem fixes
2020-11-08 10:41:20 +01:00
Henrik Rydgård
207b76da6e Show an error on screen if a shader fails to compile.
Part of #1 investigation of #13541
2020-11-05 08:27:13 +01:00
Henrik Rydgård
733a152c54 Move ShaderWriter to Common/GPU, along with some stuff from ShaderCommon.h. 2020-11-04 09:18:35 +01:00
Henrik Rydgård
97e8d5b93b Buildfix the rest of the platforms 2020-11-02 10:37:11 +01:00
Henrik Rydgård
f4ea3ccf22 Move the generic vertex shader generator into GPU/Common and rename it. 2020-11-01 19:58:54 +01:00
Henrik Rydgård
0b1b36921e Move the now-renamed fragment shader generator to GPU/Common. 2020-10-31 19:03:14 +01:00
Henrik Rydgård
f3c05cb81a
Merge pull request #13575 from Florin9doi/android_audio_record2
[Android] Audio record using OpenSL
2020-10-31 10:25:14 +01:00
Henrik Rydgård
2977c56a12 Complete the vertex shader merge, deleting the Vulkan-specific vertex shader generator. 2020-10-25 08:34:35 +01:00
Florin9doi
6531c7f4f8 [Android] Retrieve isMicStarted from AndroidAudio state 2020-10-24 20:16:22 +03:00
Florin9doi
a42f5234c5 [Android] Start recording immediately after asking for permission 2020-10-24 19:51:31 +03:00
Florin9doi
9379fe1399 [Android] Audio record using OpenSL 2020-10-24 19:51:30 +03:00
Henrik Rydgård
020fb55a65 Completes the merge, deleting the Vulkan-specific fragment shader generator. 2020-10-23 10:03:44 +02:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
4310e35714 Windows: Remove the native project. 2020-10-05 06:56:10 +02:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02: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
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +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
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Unknown W. Brackets
af307d05e2 Android: Fix include paths. 2020-09-29 22:51:53 -07:00
Henrik Rydgård
65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00
Henrik Rydgård
d9edc68966 Remove unnecessary use of thread local storage 2020-09-29 15:51:51 +02:00
Henrik Rydgård
311fe431d0 Move buffer.cpp/h from base to Common 2020-09-29 15:51:51 +02:00
Henrik Rydgård
40ec0d8358 Finish getting rid of basictypes.h 2020-09-29 15:51:51 +02:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00