Unknown W. Brackets
18c2b04e7a
Build: Update to zstd v1.5.3.
...
Untagged, so using latest as of now. Has perf improvements.
2022-09-04 23:54:14 -07:00
Unknown W. Brackets
fb8268e081
Build: Split ppsspp_common out for Android bins.
...
This gives room for headless/unittest to keep building on Windows even as
we add more files.
2022-09-04 20:07:29 -07:00
Lubos
044d9a416b
OpenXR - Emulate mouse cursor
2022-09-01 18:08:08 +02:00
Lubos
2adc7269a3
Merge branch 'master' into feature_openxr_stereo
2022-08-28 21:55:15 +02:00
Unknown W. Brackets
216fcb228c
riscv: Add a simple unit test.
...
Since I haven't tried running these yet, at least best to validate...
2022-08-28 06:03:31 -07:00
Lubos
c2c0561be2
OpenXR - OPENXR ifdef removal
2022-08-27 17:33:37 +02:00
Luboš Vonásek
11a6318509
Merge branch 'hrydgard:master' into feature_openxr_stereo
2022-08-24 19:50:45 +02:00
Luboš Vonásek
c5cb45b1f7
Merge branch 'hrydgard:master' into feature_openxr_6dof
2022-08-24 06:55:31 +02:00
Henrik Rydgård
82a6c42e17
DepalettizeCommon -> TextureShaderCommon. Simplifications.
2022-08-22 12:21:20 +02:00
Lubos
4603ccdd92
OpenXR - Initialization errors fixed
2022-08-19 15:17:42 +02:00
Lubos
d570a194dd
Merge branch 'feature_openxr_6dof' into feature_openxr_stereo
2022-08-17 17:08:12 +02:00
Lubos
2887671e6f
OpenXR - Refactor display framerate
2022-08-17 16:55:19 +02:00
Lubos
22e7f87e33
OpenXR - Disable multiview for now
2022-08-16 21:32:11 +02:00
Lubos
92d631966f
OpenXR - Resuming renderer fixed, haptics support added
2022-08-16 16:47:31 +02:00
Unknown W. Brackets
2ca696ea36
Build: Remove no-format.
2022-08-07 07:52:13 -07:00
Henrik Rydgård
de10c1fddd
Buildfixes
2022-08-06 18:27:04 +02:00
Henrik Rydgård
37555fd442
Move to Common
2022-08-06 18:27:02 +02:00
ANR2ME
41de63f13c
Moving sceNpMatching2-stuff to sceNp2.cpp/h.
...
PS: Register_sceNpMatching2 not being added to HLETables because currently the callback didn't work properly yet and could crash the game.
2022-08-04 16:12:29 +07:00
ANR2ME
dcf3ece8f4
Implement NP Signin Dialog (faked signin)
2022-08-04 16:12:25 +07:00
Henrik Rydgård
59b3df0643
Draw2D
2022-08-03 14:12:55 +02:00
Henrik Rydgård
41e327a66b
Cleanup and testfixes
2022-08-03 13:34:59 +02:00
Henrik Rydgård
9bead443c3
Unify stencil buffer upload using Draw. Only OpenGL tested yet (shaders need adaptation).
2022-08-03 13:31:13 +02:00
Henrik Rydgård
392d83fb22
Merge pull request #15659 from lvonasek/feature_openxr_quest
...
Oculus Quest native support
2022-07-31 16:34:45 +02:00
Henrik Rydgård
063cd18254
Simplify CPU upscaling code
...
Use the existing expandTo32bit mode in the texture decoder instead of
the backend-specific switches and stuff.
Just gets rid of a bunch of redundant code and makes further changes
easier.
2022-07-30 15:06:25 +02:00
Lubos
ab9a48d750
OpenXR - Static added to global variables
2022-07-26 17:44:38 +02:00
Lubos
b2509ad4dd
OpenXR - Version info refactor
2022-07-26 17:40:10 +02:00
Lubos
19ebbb6a30
OpenXR - Integrate SYSPROP_HAS_FILE_BROWSER
2022-07-26 17:32:03 +02:00
Lubos
c543c8fd52
Merge branch 'master' into feature_openxr_quest
2022-07-26 17:22:04 +02:00
Unknown W. Brackets
8f23025209
irjit: Add tests for IR passes.
2022-07-24 11:35:54 -07:00
Lubos
b1e3d8beb3
OpenXR - Code formatting fixed
2022-07-24 16:44:16 +02:00
Lubos
8f2904ecac
OpenXR - Default device config added
2022-07-24 15:38:30 +02:00
Lubos
28d598b9ba
OpenXR - Button repeating implemented
2022-07-22 22:19:49 +02:00
Lubos
67821ca942
OpenXR - Controller mapping better
2022-07-22 18:47:37 +02:00
Lubos
cc833faa13
OpenXR - Hacky mapping to make the games playable
2022-07-17 20:03:37 +02:00
Lubos
29ff6af7da
OpenXR - UI controls integrated
2022-07-17 19:09:18 +02:00
Lubos
a08325e52f
OpenXR - UI scale/resolution fixed
2022-07-17 14:55:20 +02:00
Lubos
0d41691413
OpenXR - Input class added
2022-07-17 14:45:02 +02:00
Lubos
553363a5b5
OpenXR - Rendering into VR framebuffer works
2022-07-15 15:41:21 +02:00
Lubos
08e01c9a2a
OpenXR - Dummy rendering working
2022-07-15 13:52:15 +02:00
Lubos
d109e7c1d7
Merge branch 'master' into feature_openxr_quest
2022-07-12 18:54:47 +02:00
Lubos
f693850d94
OpenXR - Initial version of VR renderer added
2022-07-12 18:53:46 +02:00
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. ( #15647 )
...
* Remove unmotivated check preventing texture ini creation on mobile.
Fixes #15644
* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.
* Avoid the need to ifdef around calls to SystemToast
* UWP buildfix (and some warning fixes).
And possibly libretro fix
* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Lubos
9893e5c4ab
OpenXR - VR mode initialization added
2022-07-08 14:44:20 +02:00
Henrik Rydgård
3b9ab88b21
Add utility class VulkanBarrier
2022-05-01 10:20:11 +02:00
Henrik Rydgård
a68ddd0a8d
Merge separate NEON functions into the normal functions.
...
We no longer support non-NEON ARM.
It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
iota97
5e1062678f
Allow custom UI themes
2022-02-11 12:42:38 +01:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
3df6cb704f
Global: Fix some type conversion warnings.
...
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
ad2e380987
Display: Move listeners to separate HW file.
...
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Henrik Rydgård
77502db4c4
Merge pull request #15363 from unknownbrackets/softjit-unittest
...
Add unit test to verify compilation of sampler/pixel jits
2022-01-30 10:47:30 +01:00
Unknown W. Brackets
cb0bc8543b
Build: Ignore nullable completeness on Android.
...
Gives a bunch of warning spam with Vulkan Memory Allocator.
2022-01-29 22:36:21 -08:00
Unknown W. Brackets
0d93200faf
softjit: Add tests for compile success.
2022-01-29 18:47:36 -08:00
Unknown W. Brackets
a0a9b1e89b
softgpu: Add class to manage and enqueue for bins.
...
For now, just forwarding.
2022-01-13 09:26:59 -08:00
Henrik Rydgård
55fe21db1e
Add a simple GPU profiler to profile individual events, rather than full passes.
2021-12-12 12:11:54 +01:00
Unknown W. Brackets
3d5bced296
softjit: Rename reg cache so it can be reused.
...
Intentionally just the name changes in this commit.
2021-11-28 08:03:15 -08:00
Unknown W. Brackets
ae3299ea04
softjit: Add stubbed DrawPixel for x64.
2021-11-26 08:21:11 -08:00
Henrik Rydgård
8f29d9542c
Buildfixes
2021-11-22 19:53:00 +01:00
Unknown W. Brackets
09dc38080a
softgpu: Move draw pixel code to separate file.
...
This separates things better anyway. No major perf impact.
2021-11-21 08:23:32 -08:00
Unknown W. Brackets
953200c995
softgpu: Add func to calculate pixel func ID.
...
This normalizes some things, and eventually can be used for a jit key.
2021-11-20 15:27:04 -08:00
Henrik Rydgård
d754f95814
Merge pull request #14884 from unknownbrackets/debugger-gpustats
...
Debugger: Add APIs for GPU stats
2021-10-19 19:54:51 +02:00
Unknown W. Brackets
8e15f755e6
UI: Add a sysprop for if the device has a keyboard.
...
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them. Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
ce3b80dcea
Debugger: Add initial GPU stats shell.
2021-10-19 10:01:40 -07:00
Henrik Rydgård
e6857388c7
Add input device debug info to touchscreen test screen
...
(yeah maybe there's a better place but it's fine).
Also make a slight tweak to the detection order which I don't think
matters much.
2021-10-10 11:50:20 +02:00
Henrik Rydgård
1d08317766
Valiant attempt to fix queryGameName
2021-09-08 23:25:39 +02:00
Henrik Rydgård
8cab56c948
Move keymap defaults to a separate file. Not exactly a clean separation though.
2021-08-28 15:12:10 +02:00
Henrik Rydgård
928bc88b01
Rename Unthrottle to Fast-forward globally
2021-08-18 09:28:13 +02:00
Henrik Rydgård
81b4c3b376
Auto-pause on app switch. Will be made conditional in the next commit.
2021-08-11 23:31:51 +02:00
Henrik Rydgård
ed7053329a
Fix some mis-handling of single file URI. Fixes the Load... button.
2021-08-07 12:17:31 +02:00
Henrik Rydgård
43ba908225
Propagate errors from file identification upwards better.
2021-08-07 11:54:45 +02:00
Henrik Rydgård
a0a5f7a67a
Minor improvements on Android 9/10. Let the user reset to root of storage.
...
This includes handling weird "raw:/" content URIs. These I haven't seen
on newer versions.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
93673cb565
Correct the cutoff for scoped storage. Android 9,10 (API 28,29) shouldn't use it.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
f51b8116a0
Basic flow of setting up and moving the PSP directory works now.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
793e79945f
Enable scoped storage enforcement on Android 11+.
...
This has a number of UX issues and bugs we need to work through, but at least
games are playable, things mostly work. Upgrades are handled smoothly by
keeping existing storage access until you uninstall. After a reinstall, you'll
need to re-select your old PSP directory manually in settings :(
2021-08-04 23:22:43 +02:00
Henrik Rydgård
98372c465f
Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
...
Additionally, break out the analog stick mapping to the same file.
This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +02:00
Yifan Gu
633a6f612b
Refactor and unify analog input settings
2021-07-05 12:38:46 +02:00
Henrik Rydgård
942958c7d8
Store the OpenSL error in a global to avoid "No context"
...
Followup to #14536
2021-06-16 07:28:45 +02:00
Henrik Rydgård
90cb284837
Remove asserts from OpenSL init. Expose error inside audio settings
2021-06-15 23:13:07 +02:00
Henrik Rydgård
03c79ae055
Additional android buildfix
2021-06-12 13:03:54 +02:00
Henrik Rydgård
75fb783433
Android.mk buildfix
2021-06-12 13:03:54 +02:00
Henrik Rydgård
1b0ac23a69
Get rid of Executor.cpp/h.
...
There was only one implementation.
2021-06-12 13:03:53 +02:00
Henrik Rydgård
446c2c027e
Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager.
2021-06-12 13:03:53 +02:00
Henrik Rydgård
73871b9b7e
Implement new thread manager, port stuff to it.
2021-06-12 13:03:53 +02:00
Henrik Rydgård
27dbcd3b34
Revert "Turn on scoped storage, for the purposes of testing on this branch."
...
This reverts commit 4b337303a4b2aa49aac6296609331e7c87e61085.
2021-06-07 00:26:26 +02:00
Henrik Rydgård
9b32ea2f55
Split out AndroidStorage.cpp from android/jni/app-android.cpp, move to Common
2021-06-07 00:26:24 +02:00
Henrik Rydgård
f8b595521d
Simple attempt at libretro buildfix, comment fix
2021-06-07 00:24:52 +02:00
Henrik Rydgård
6c3825bfbd
UWP and Android buildfixes
2021-06-07 00:24:52 +02:00
Henrik Rydgård
1aed8ce7b1
Add content URI support to LocalFileLoader, remove ContentUriFileLoader
2021-06-07 00:24:52 +02:00
Henrik Rydgård
2f31cb12fb
Add support for writing to file. Basics work now (having memstick on a content path)
2021-06-07 00:24:52 +02:00
Henrik Rydgård
dba0a6ba12
Rewrite CreateFullPath to be agnostic of path format.
2021-06-07 00:24:52 +02:00
Henrik Rydgård
468f3d8b3f
wip
...
More work towards moving PSP directory
2021-06-07 00:24:52 +02:00
Henrik Rydgård
825478bbf7
Remove CreateDirIn, not useful enough to keep.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
5e3019073c
Android content URI support in Path.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
1f018d33c5
Start work on supporting Android Content URIs in the FileUtil API.
...
Add tentative Android Content URI support to much of FileUtil.h.
Buildfix
Fix some issues with the file browser in storage URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
b397e5c455
Assorted plumbing.
...
wip
Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
beb0b4e9f3
More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
ef607a5fe2
Implement a "FileSystem" that wraps Android content storage. So far unused.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
e3cf04bb34
Implement file filters for Android in PathBrowser
...
asdf
Move Android file listing parsing logic into app-android.cpp.
Add utility for parsing/writing Android Content Storage URIs.
Fix some bugs. Allow upwards navigation in file browser from directories downstream from tree URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
87a25fd230
Start experimenting with DocumentsContract (the thing DocumentFile wraps)
...
wip
Some progress towards making the file browser work with DOCUMENT_TREE
More directory browsing progress
More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.
Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
88b2552d64
Turn on scoped storage, for the purposes of testing on this branch.
2021-06-07 00:24:50 +02:00
Unknown W. Brackets
64678e0114
Reporting: Move message report interface to Common.
...
This makes it so we can call reporting from Common.
2021-06-06 09:22:03 -07:00
Unknown W. Brackets
64e007c0ce
Debugger: Add stub API for replay functionality.
2021-05-29 14:50:57 -07:00
Unknown W. Brackets
8eb773888f
Update to libpng v1.7.0beta90.
...
Previously at 1.7.0beta35.
2021-05-16 11:32:17 -07:00
Unknown W. Brackets
f6a1ffdd14
Update zstd to 1.5.0.
...
This improves GE frame dump compression speed and ZIM load speed.
2021-05-16 11:15:24 -07:00
Henrik Rydgård
47039b4bcd
Address all the easy feedback. Some is left.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40b1dec5f
Use Path for fullName in dirlisting. Bugfixes.
...
Buildfixes
UWP: Buildfix.
headless: Buildfix.
Common: Buildfix.
iOS: Buildfixes.
libretro: Buildfix.
Qt: Buildfix.
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
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
Henrik Rydgård
d775bf4e4c
Merge pull request #14442 from unknownbrackets/path-extension
...
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Henrik Rydgård
a40bb2eaa1
headless: Avoid empty string compares for mountIso.
2021-05-09 17:24:04 -07: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
1e22966984
http: Separate out net buffer code from formatting.
2021-05-01 11:20:05 -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
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Henrik Rydgård
e6aa841b78
Common: Get rid of Executor.cpp/h.
...
There was only one implementation.
2021-04-30 22:33:34 -07:00
Henrik Rydgård
8314a805f8
Merge pull request #14358 from unknownbrackets/debugger
...
Add basic APIs for managing memory info tagging
2021-04-17 18:35:38 +02:00
Unknown W. Brackets
d3e2aa6d28
Build: Add libzstd to build.
2021-04-11 09:13:10 -07:00
Unknown W. Brackets
7a1398844a
Debugger: Add simple API to control tagging detail.
...
In case a client requires it.
2021-04-04 20:23:51 -07:00
Unknown W. Brackets
ff98d81e33
Build: Simplify by always including FakeCPUDetect.
2021-03-20 17:25:50 -07:00
Henrik Rydgård
dc873bbd42
Add missing -DWITH_UPNP in a couple more places.
2021-03-20 13:46:45 +01:00
Unknown W. Brackets
d9aecffd72
Build: Remove old ARM define.
2021-03-02 21:26:03 -08:00
Unknown W. Brackets
5119d79082
Build: Remove IOS define.
2021-03-02 21:04:03 -08:00
Henrik Rydgård
f36c85d099
Comment cleanup, allow file picker as far back as KitKat.
2021-02-27 22:32:54 +01:00
Henrik Rydgård
e60b38b6cb
Address feedback, remove probably-misleading comment (had already fixed it).
2021-02-27 22:19:03 +01:00
Henrik Rydgård
54c9e28444
Android: Implement opening ISOs through a file picker and Storage Access Framework
...
Has issues with the recent list - fails to open during shutdown due to
no activity, there's a little race to fix.
2021-02-27 13:49:20 +01:00
Henrik Rydgård
26eab06886
Add a Storage tab to System Information.
...
Add a system property that we can later query to see if we should use
scoped storage adaptations or not.
2021-02-27 11:49:38 +01:00
Henrik Rydgård
21511ac7b2
Don't even try the hack on iOS 14.4
2021-02-22 09:31:18 +01:00
Unknown W. Brackets
f7740edc6d
Debugger: Add more metadata for memory usage.
2021-02-15 15:01:21 -08:00
Unknown W. Brackets
fb7e4acb06
Android: Ensure shutdown waits for render.
...
We apparently have a case where render is busy during shutdown, based on
crash reports.
2021-02-13 12:49:48 -08:00
Unknown W. Brackets
17d2a314d5
UI: Correct developer tools test run.
2021-02-03 21:26:25 -08:00
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
Unknown W. Brackets
57fda69e50
Android: Minor cleanup.
2021-01-07 22:41:38 -08: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
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
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