Commit Graph

1098 Commits

Author SHA1 Message Date
Henrik Rydgård
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
6f1915110f Remove base/logging from UI and more 2020-08-15 19:08:54 +02:00
Henrik Rydgård
5117ded378 Remove ELOG/ILOG/WLOG from the Android C++ code (mostly) 2020-08-15 19:08:39 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
58ef0c8e80 Texture from framebuffer: Logging improvements 2020-08-04 14:45:14 +02:00
Henrik Rydgård
882cc6295e Rename FramebufferVulkan.cpp/h to FramebufferManagerVulkan.cpp/h 2020-08-03 23:22:11 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Henrik Rydgård
d55a6052fa Fix some lint warnings, and a "toast" on graphics init failure (instead of previous crashes) 2020-07-28 20:18:45 +02:00
Henrik Rydgård
73166def93 Android: Reduce asserts during startup. 2020-07-28 19:06:29 +02:00
Henrik Rydgård
aebbff55f1 Some renaming and cleanup in the Android audio code 2020-07-28 14:24:40 +02:00
Henrik Rydgård
b6f6e954a3 Android: Can't call AlertDialog.Builder.setOnDismissListener before JELLYBEAN_MR1 2020-07-28 14:24:40 +02:00
Henrik Rydgård
06d57b1656 GL: Add some paranoid checks. Remove a useless option. 2020-07-28 14:24:36 +02:00
parport0
fd62d30773 Debugger: Add memory.read_*, memory write_* 2020-07-26 01:18:16 +03:00
Henrik Rydgård
31e861132b Implement ANR2ME's solution for miniupnpcstring.h 2020-07-22 10:26:21 +02:00
Henrik Rydgård
597647a2eb Create an Android.mk for miniupnp 2020-07-22 01:19:40 +02:00
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