1320 Commits

Author SHA1 Message Date
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
Henrik Rydgård
5083b20636 Update version for 1.13.1 2022-07-28 15:28:47 +02:00
Henrik Rydgård
a92e764c65 Update version for 1.13 release 2022-07-26 15:19:02 +02:00
Unknown W. Brackets
8f23025209 irjit: Add tests for IR passes. 2022-07-24 11:35:54 -07: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
Unknown W. Brackets
536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07: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
Henrik Rydgård
477b1773c2 Bump Android target version to 12L.
(I believe we already handle the one relevant behavior change, which is that
insets can change at any time)
2022-04-05 10:09:52 +02:00
Henrik Rydgård
7f505c0c23 Gradle upgrade again. Remove some redundant version checks
(we don't support Android versions older than Gingerbread anyway)
2022-02-19 18:41:29 +01:00
iota97
e5843160fe Add themes to assets 2022-02-14 07:37:56 +01: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
7e578b31f5 Build: Remove old-style android/assets/.
We now read everything directly from assets/, so there's no need for
outdated duplicates.

Also cleanup some outdated files/instructions.
2021-12-11 09:01:15 -08:00
Henrik Rydgård
d4237fd542 Split the atlas into three, well two, but two different cases for the fonts.
Platforms that can use OS fonts don't need font_atlas.zim but they do
need ascii font for debug, so does use asciifont_atlas.zim.
2021-12-10 23:22:08 +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
1cd520ae31
Merge pull request #15001 from hrydgard/update-android-target
Update target Android version from 11 to 12. (API 30 to 31).
2021-10-19 09:43:59 +02:00
Henrik Rydgård
ce0a45cf0f Update version to 1.12.3 2021-10-18 20:19:42 +02:00
Henrik Rydgård
e91b8af27a Update version to 1.12.2 2021-10-10 13:03:48 +02: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
5995fe8e7d
Merge pull request #15003 from unknownbrackets/android-device-id
Android: Prioritize PAD devices
2021-10-10 08:44:27 +02:00
Unknown W. Brackets
460ceadcc3 Android: Prioritize PAD devices. 2021-10-09 16:12:54 -07:00
Henrik Rydgård
2845f173ea Update target Android version from 11 to 12. (API 30 to 31).
We just updated from 10 to 11 which enabled scoped storage, but now
that 12 is final, we might as well target that. Some new APIs are
available that might be useful, like a crash dump
API and more refresh rate control.
2021-10-09 22:05:41 +02:00
Henrik Rydgård
bbe06ace22 Update version for 1.12.1 2021-10-09 10:19:44 +02:00
Henrik Rydgård
21686a6a93 Android: Catch some exceptions 2021-10-07 21:07:35 +02:00
Henrik Rydgård
076ece8507 Update AndroidManifest.xml for 1.12 2021-10-06 20:15:50 +02:00
Unknown W. Brackets
6814f5e7af Debugger: Add web debugger to build packaging. 2021-09-26 12:27:54 -07:00
iota97
7d8dd7c816 Square shape for combo button. Additional shapes (folder_open, warning) too. 2021-09-18 23:28:03 +02:00
Unknown W. Brackets
dab1a3aa3c Android: Fix UI background on scoped storage. 2021-09-13 10:27:42 -07:00
Unknown W. Brackets
db21d0e7fc Android: Avoid crash without ext dir.
This can return null on some older Androids.  See #14821.
2021-09-11 20:12:17 -07:00
Henrik Rydgård
dc520a59d3 Log the duration of directory size computations too 2021-09-11 18:17:14 +02:00
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00
Henrik Rydgård
e842d395fa Add untested function Android_ComputeRecursiveDirectorySize 2021-09-11 18:11:53 +02:00
Henrik Rydgård
c9bcbf326f More shortcut fixes 2021-09-09 00:00:54 +02:00
Henrik Rydgård
273376ab8d Set a couple flags on the ShortcutIntent 2021-09-08 23:43:35 +02:00
Henrik Rydgård
bad0736fa3 Avoid calling into C++ when creating game shortcuts. Use scoped storage-compatible file chooser when possible. 2021-09-08 23:26:01 +02:00