Commit graph

1081 commits

Author SHA1 Message Date
Henrik Rydgård
47f0031f57 Add PortManager.cpp to Android.mk 2020-07-22 00:13:52 +02:00
Henrik Rydgård
fa0b9dc1bc Make the instance counter global and initialized at startup.
Turn off config saving for secondary instances.
2020-07-20 11:40:54 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Henrik Rydgård
e48cb916dd Buildfix 2020-07-18 20:43:47 +02:00
Henrik Rydgård
697c3b8b36 Cleanup log output on swapchain/surface recreation. 2020-07-18 20:35:39 +02:00
Henrik Rydgård
626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Henrik Rydgard
fdcf4f06f2 Add x64Analyzer to Android.mk. Some minor cleanup 2020-07-14 09:25:45 +02:00
Henrik Rydgard
1fce6de8b1 Simple exception handler so we can ignore accesses that happen within the PSP memory space. 2020-07-14 09:25:45 +02:00
Henrik Rydgård
153f00041e
Merge pull request #12979 from unknownbrackets/android-size
Android: Request stable layout and update on focus
2020-07-12 23:25:55 +02:00
Henrik Rydgård
087de849bd Update version for 1.10.3 2020-07-12 13:04:16 +02:00
Henrik Rydgård
9ec2c2baff Update version for 1.10.2 2020-07-06 21:31:26 +02:00
Henrik Rydgård
036191cf34 Remove unnecessary logging of preview formats
See comment in #13094
2020-07-05 22:24:32 +02:00
Henrik Rydgård
ef250e30d7
Merge pull request #13094 from hrydgard/camera-crash-fix
Camera initialization crash fix
2020-07-05 01:52:57 +02:00
Henrik Rydgård
7bb524810d Check that we actually got a preview size. 2020-07-05 01:33:27 +02:00
Henrik Rydgård
b5053b947c CameraHelper: Do a better job of choosing an appropriate preview size.
Add sanity checks so we get a black image instead of crash if we would
still fail.
2020-07-05 01:31:28 +02:00
Henrik Rydgård
7a58c8afbf Add a try/catch to Android camera device listing. Might help #13091 and the issue seen in #13057. 2020-07-04 23:21:05 +02:00
Henrik Rydgård
01eea46455 Update version to 1.10.1 2020-07-02 13:36:33 +02:00
Henrik Rydgård
401df20384 Update version number to 1.10. This required changing the Android version code pattern, but should be ok. 2020-06-27 11:11:04 +02:00
Henrik Rydgård
3d743a5ae7 Buildfixes 2020-06-22 00:01:31 +02:00
Henrik Rydgård
fbc4fa5bca Move the responsibility to register the debugutils callback to the VulkanContext. We only use one anyway. 2020-06-21 23:04:51 +02:00
Henrik Rydgård
6532c345c8 Simplify the validation interface code, bugfixes 2020-06-21 23:04:51 +02:00
Henrik Rydgård
1793b65ec1 Vulkan: Remove support for the old VK_EXT_debug_report extension 2020-06-21 23:04:51 +02:00
Unknown W. Brackets
3cf2e7edca Android: Request stable layout and update on focus.
This seems to keep immersive better when switching apps.
2020-05-25 17:20:59 -07:00
Unknown W. Brackets
e9e0ea9d05 Vulkan: Cleanup some duplicate code. 2020-05-21 08:55:36 -07:00
Unknown W. Brackets
d39b0bdca2 GPU: Split FramebufferCommon into two classes.
Only some things moved over so far.

FramebufferCommon does too much, we want to share it with softgpu without
all the buffer management stuff.
2020-05-13 18:07:22 -07:00
Unknown W. Brackets
54896432df Android: Oops, fix start with space in filename. 2020-05-12 21:21:22 -07:00
Unknown W. Brackets
b1ae90dd03 Global: Add some defs for MSVC highlighting.
Just want this file not to be a sea of errors.  Before it said ifs etc.
were wrong too, because it didn't think things were functions.
2020-05-12 21:20:50 -07:00
Unknown W. Brackets
ccc7ae54af Android: Avoid multiple resizes in a row.
This was sometimes happening when ui callbacks etc. would trigger in
certain patterns of using the app.  Might have been related to sizing
problems.

Delaying the resize by 10ms when the surface is unchanged seems okay.
2020-05-09 14:47:48 -07:00
Unknown W. Brackets
03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
f60d80b24e Android: Move a bit more size handling. 2020-05-09 11:26:06 -07:00
Unknown W. Brackets
040ba2b3ff Android: Reassert sustained perf when going ingame. 2020-05-09 11:10:48 -07:00
Unknown W. Brackets
581a288852 Android: Refactor size maintenance to own class. 2020-05-09 11:10:04 -07:00
Christian Weiske
34d629ff79 Make PPSSPP visible in OUYA launcher
Reference: https://github.com/ouya/docs/blob/master/setup.md
2020-04-27 22:48:27 +02:00
Henrik Rydgård
bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
Florin9doi
4640d3981c Update <Share> dialog on Android 10 2020-04-25 13:19:41 +03:00
Henrik Rydgård
90c1a79b9f android: include path fix 2020-04-02 13:04:38 +02:00
Henrik Rydgård
80ae2846d6 Android: Change the display length for "toast" message to Toast.LENGTH_LONG 2020-04-02 01:04:17 +02:00
Henrik Rydgård
e8d6a605eb
Merge pull request #12748 from orbea/libpng
cmake: Improve building with the system libpng.
2020-04-01 12:57:52 +02:00
Henrik Rydgård
7dfe8959b3 Fix landscape/reverse landscape cutout padding issue, see #12779 2020-03-31 15:52:32 +02:00
Henrik Rydgård
3838a1c94f Support drawing around notches on Android displays. Fixes #12261 2020-03-31 00:47:01 +02:00
Henrik Rydgård
a2da6ceb47 Target Android SDK 29.
Includes a nasty SDK bug workaround.
2020-03-30 22:56:24 +02:00
Unknown W. Brackets
56a1b6d03a Android: Reassert immersive after input dialog.
See #12732.
2020-03-22 18:55:22 -07:00
orbea
c8c7889f0f cmake: Improve building with the system libpng.
This also now requires at least libpng16 instead of libpng17.

v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -07:00
Unknown W. Brackets
7d00cefd35 Android: Fix dismiss of OSK dialog. 2020-03-21 11:06:40 -07:00
Unknown W. Brackets
51b94a9c9c Core: Quiet some warnings. 2020-03-10 22:19:59 -07:00
Henrik Rydgård
4501045224
Merge pull request #12691 from unknownbrackets/inputbox
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Unknown W. Brackets
f46231f2f4 Android: Avoid translation conflict in translation.
Using a magic pattern isn't ideal, but the user input can safely have
these characters without issue.  It only affects the input title.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets
a3e12f4242 Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets
fc8306dde1 Android: Ensure we forget the shortcut on next run.
Prevents an issue where we would use the shortcut param again when
starting the app directly.
2020-03-08 14:58:42 -07:00