Commit Graph

356 Commits

Author SHA1 Message Date
Gabriel Morazán
051039b696
(UWP) Fix Skipped Asset Files 2023-02-28 00:01:26 -04:00
GABO1423
c538315134 (UWP) Small Build Overhaul 2023-02-27 00:12:20 -04:00
Henrik Rydgård
18999c3687 Create the GPUCommonHW class. 2023-02-25 14:42:10 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
61c5b9e0ca Retarget UWP projects for latest VS build
19061 is the oldest SDK installed by default.

Also disable "SDL" (security development lifecycle) checks in
SPIRV-Cross because it doesn't build with it...
2023-02-24 23:08:41 +01:00
Gabriel Morazán
37ca5d5e95
(UWP) File Tweaks 2023-02-22 18:03:12 -04:00
Henrik Rydgård
fb8aff5a8c Split out the depth stuff from the file, move to GPU/Common 2023-02-03 21:06:43 +01:00
Henrik Rydgård
3b36a1bb66 TiltEventProcessor belongs in Core, not UI. 2023-02-01 15:04:32 +01:00
Henrik Rydgård
a88bafff4d Break out the JoystickHistoryView 2023-02-01 14:58:16 +01:00
Unknown W. Brackets
489411359e Common: Add cpu_features library. 2023-01-29 14:35:58 -08:00
Henrik Rydgård
c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01:00
Henrik Rydgård
650390d146
Merge pull request #16668 from unknownbrackets/glslang
Build: Update to glslang v11.13.0, use upstream
2023-01-04 10:06:49 +01:00
Unknown W. Brackets
87aa4e127c Build: Update to glslang v11.13.0, use upstream.
This switches the submodule origin.
2023-01-01 10:28:53 -08:00
Unknown W. Brackets
77849d3eed riscv: Add disassembler.
From https://github.com/anthony-coulter/riscv-disassembler.
Modified slightly to pull in less headers in the h, prefix funcs.
2023-01-01 10:28:53 -08:00
Henrik Rydgård
182355b258 UWP buildfix 2022-12-08 12:23:28 +01:00
Henrik Rydgård
57864f62ce Rework the display layout editor to ditch the preview thing.
We lose the snapping in the refactor because I ended up rewriting the
whole dragging mechanism, might reintroduce later.
2022-11-22 20:10:20 +01:00
Henrik Rydgård
ddd2c6e343
Merge pull request #16409 from hrydgard/preserve-framebuffers
Preserve framebuffer on pause screen even if render resolution is changed
2022-11-22 10:03:47 +01:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
d73196c7d6 Split up the GPU config change notifications 2022-11-21 15:14:20 +01:00
Henrik Rydgård
162290147f UWP build fix. Had to reshuffle some stuff and compile some Vulkan files. 2022-11-06 15:54:00 +01:00
Unknown W. Brackets
10a356c23b UWP: Avoid some float conversion warnings. 2022-10-29 13:02:10 -07:00
Unknown W. Brackets
79d53552a5 armips: Update to latest. 2022-10-29 09:02:12 -07:00
Henrik Rydgård
0251f33ec3 Don't use PPSSPP-specific stuff in Common/VR for now. 2022-10-17 23:13:43 +02:00
Henrik Rydgård
d4bfe9299d Track min and max GPU time, init time, render CPU time.
Mainly wanted to see if init time is a factor, there are optimizations
we can do there.
2022-10-10 10:53:27 +02:00
Henrik Rydgård
cdee10fe86 Vulkan: Basic geoshader code generation. 2022-10-02 07:42:17 -07:00
Unknown W. Brackets
2b884de585 armips: Use native std::filesystem on Windows/UWP. 2022-10-01 08:13:57 -07:00
Unknown W. Brackets
559fdd167f armips: Also update UWP and ARM64, etc. 2022-09-30 20:16:34 -07:00
GABO1423
212598fc27
(UWP) Remove expandedResources 2022-09-25 10:04:56 -04:00
Unknown W. Brackets
542e7aa555 GE Debugger: Add a table of register metadata.
So far, not used, but indicates info about each GE register.
2022-09-05 12:15:53 -07:00
Henrik Rydgård
ed8c4e8758 Remove the assembly implementation of 4x4 matrix mul, in favor of intrinsics. 2022-09-05 10:33:05 +02:00
Unknown W. Brackets
9fcad83940 riscv: Add initial emitter shell. 2022-08-25 21:17:11 -07:00
Henrik Rydgård
82a6c42e17 DepalettizeCommon -> TextureShaderCommon. Simplifications. 2022-08-22 12:21:20 +02:00
tunip3
b7dc1379c6
add bin and elf to picker as they now work 2022-08-16 11:34:55 +01:00
tunip3
a4cf087116 remove storage fileloader and storage folderbrowser 2022-08-16 11:03:06 +01:00
tunip3
12fa098dab remove unneeded switch case as un broken cases fall through 2022-08-15 23:15:12 +01:00
Henrik Rydgård
de10c1fddd Buildfixes 2022-08-06 18:27:04 +02:00
Henrik Rydgård
e345a6ba3c Works with D3D11, except the depth texturing case 2022-08-06 18:27:03 +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
e7e1bb6079 UWP: Fix missing font file causing missing text fields. Fixes #15771 2022-08-04 10:44:12 +02:00
Henrik Rydgård
8ded766509 UWP buildfix 2022-08-03 14:31:24 +02:00
Henrik Rydgård
41e327a66b Cleanup and testfixes 2022-08-03 13:34:59 +02:00
ANR2ME
d30d652265 Fixes UWP building issue after Retargeting Solution to a different SDK version.
PS: This won't work when selecting the "latest installed version" tho, so a specific version need to be selected when retargeting.
2022-08-01 00:52:54 +07:00
Henrik Rydgård
3496bd52f0 UWP buildfix 2022-07-30 15:18:56 +02:00
GABO1423
33b62047d0
(UWP) Update Dummy Manifest 2022-07-19 20:55:24 -04:00
GABO1423
c321cbce44
(UWP) Remove Reference to Deleted File. 2022-07-19 20:48:42 -04:00
GABO1423
c3baa48cea
(UWP) Delete Old Key 2022-07-19 20:34:18 -04:00
GABO1423
c432af3fcc
(UWP) Building Improvements 2022-07-19 20:33:58 -04:00
GABO1423
bd1eefdda2
Remove redundant file from packages. 2022-07-19 13:24:08 -04:00
GABO1423
d017437fb7
Prevent Dummy file from appearing in packages. 2022-07-19 13:23:09 -04:00
Henrik Rydgård
989d5b8079
Revert "(UWP) Small Building Tweaks." 2022-07-19 17:57:13 +02:00
GABO1423
98727756b4
Remove redundant file from package. 2022-07-18 22:15:54 -04:00
GABO1423
b57a79c9c9
Prevent dummy file from being in the package. 2022-07-18 22:14:17 -04: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
Henrik Rydgård
e1daccddfd Add check that makes PPSSPP work on Xbox through the debugger
Not sure why needed, seems maybe some different event order during
window creation...
2022-07-07 00:08:50 +02:00
tunip3
a83c45fac9
add additional rescaps 2022-06-09 21:00:10 +01:00
tunip3
0e80d7a8f5
fix indentation 2022-06-09 20:58:13 +01:00
tunip3
b4cd068d52
add runFullTrust, broadFileSystemAccess and expandedResources rescaps 2022-06-09 20:48:28 +01:00
Unknown W. Brackets
3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
Henrik Rydgård
2178567ba0 UWP: Fix loading the default theme.
Hopefully takes care of #15496

See also #15464
2022-04-24 14:12:15 +02:00
Henrik Rydgård
93c39f7595 UWP crashfix - serialize accesses to each loader 2022-04-15 20:34:33 +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
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
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
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
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
Tunip3
0decbf055c Add 4k support to uwp version on xbox 2021-10-03 22:44:21 +01: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
ab69b896c3 Add and hook up Android_MoveFile 2021-07-25 17:32:12 +02:00
Henrik Rydgård
cc173acc82 UWP buildfix 2021-07-10 10:59:25 +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
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
6c3825bfbd UWP and Android buildfixes 2021-06-07 00:24:52 +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
Henrik Rydgård
914b4478b6
Merge pull request #14493 from unknownbrackets/replay
Add debugger APIs for replay recording
2021-05-31 11:45:39 +02:00
Henrik Rydgård
239838b6c3 Remove the ability to have multiple search paths for config. 2021-05-30 12:45:12 +02:00
Henrik Rydgård
72915f88c8 Config: Remove the use of multiple search paths. 2021-05-30 12:39:16 +02:00
Unknown W. Brackets
64e007c0ce Debugger: Add stub API for replay functionality. 2021-05-29 14:50:57 -07:00
Henrik Rydgård
6dc602ad40
Merge pull request #14469 from unknownbrackets/dep-update
Update zstd and libpng
2021-05-16 22:58:13 +02: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
Unknown W. Brackets
f2b2f26e8e Common: Use Path for GetExeDirectory(). 2021-05-15 11:12:54 -07:00
Unknown W. Brackets
7b175627b3 VFS: Use Path for DirectoryAssetReader. 2021-05-15 11:12:04 -07:00
Unknown W. Brackets
c03e68c996 Debugger: Simplify symbol map filename build. 2021-05-14 22:48:32 -07:00
Unknown W. Brackets
d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Henrik Rydgård
cbbe458829 UWP iso-loading fix
Having override:// as a fake file name was no good, Path would remove
one slash.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
8727679353 Clean up PathBrowser a bit
Fix UWP build

Fix booting homebrew.

Qt buildfix
2021-05-13 10:39:16 +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
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
Unknown W. Brackets
18a51b8e97 Update libzip to 1.7.3. 2021-05-09 20:45:53 -07:00
Henrik Rydgård
939dd200c3 Loaders: Remove fileLoader->Extension(). 2021-05-09 17:17:13 -07:00