Henrik Rydgård
cb1b4067f7
Small optimizations in app-android.cpp
2026-07-24 15:31:42 +02:00
Henrik Rydgård
02017ad41e
Fix name collision between functions
2026-07-24 15:31:42 +02:00
Henrik Rydgård
8b05f703a4
Clean up unused parameters
2026-07-24 15:31:42 +02:00
Henrik Rydgård
906d877019
Android: Remove some state and a race condition
2026-07-24 15:31:42 +02:00
Henrik Rydgård
53c5f1875c
Minor cleanup of Android vulkan code
2026-01-24 10:54:46 +01:00
Henrik Rydgård
042cf87248
Rework the present mode settings, refactor.
2025-10-20 21:28:38 +02:00
Henrik Rydgård
80bd32325c
Move the present mode from the CreateInfo to InitSwapchain
2025-10-20 16:33:34 +02:00
Henrik Rydgård
6338832015
Vulkan: Smoothly recreate the swapchain using oldSwapchain on "resize" on Windows
2025-10-20 15:42:34 +02:00
Henrik Rydgård
c0b7ecc686
Refactor: Unify the Vulkan init info logic
2025-08-21 01:01:16 +02:00
Henrik Rydgård
5e05a6d0ac
Get rid of some more backward Common/Core dependencies
2025-08-06 00:16:35 +02:00
Henrik Rydgård
67dfbfe97e
Add developer setting to prevent loading overlays (and other 'implicit' Vulkan layers)
2025-04-10 18:56:05 +02:00
Henrik Rydgård
670ff21529
Make the Vulkan init flags a proper enum class
2025-04-10 18:16:05 +02:00
Henrik Rydgård
21c6594961
Fix a bunch of Android Studio lint warnings
2024-10-10 10:24:40 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
fea6727ffd
Add a convenience method to VulkanContext to reduce code duplication
...
Will need the exact same code for iOS.
2024-05-23 02:13:54 +02:00
Henrik Rydgård
0caebbfaa6
Add a way to pass out error messages from VulkanLoad
2024-01-15 11:22:33 +01:00
Henrik Rydgård
d9e9bde596
Vulkan: Fix disabling VSync on SDL platforms that support IMMEDIATE but not MAILBOX
...
Fixes #18084
2023-09-06 18:46:19 +02:00
Henrik Rydgård
aadb700505
Fix turning off VSync on Android, logic fix
2023-08-14 11:02:29 +02:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Henrik Rydgård
96506544b7
Just some random driveby code cleanup
2023-08-10 10:28:25 +02:00
Henrik Rydgård
ffd5e57a20
Vulkan: Don't use multithreaded rendering if frames-in-flight is set to 1
...
It has no benefit, and loses by a few percent in simple benchmarking.
2023-08-01 21:08:07 +02:00
Henrik Rydgård
b118e25b6a
Vulkan: Make multithreaded rendering an option.
...
Multi-threaded rendering is good for smoothing out performance spikes
and increasing performance on low-power devices. However, the way we use
it it doesn't benefit latency (input lag) at all, rather the opposite.
So make it an option.
2023-07-23 22:06:01 +02:00
Henrik Rydgård
4c99712b60
And "immersive", "audio_resetDevice"
2023-03-22 23:52:38 +01:00
Henrik Rydgård
463d703feb
More assorted cleanup
2022-12-29 00:39:59 +01:00
Henrik Rydgård
31d5881c90
Enable support for Android Vulkan validation. Fix a minor validation error.
2022-12-22 11:13:52 +01:00
Henrik Rydgård
242efba6f7
Remove splitSubmit setting. Now we submit init commands before the acquire.
2022-09-17 01:07:30 +02:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +02:00
Henrik Rydgård
5117ded378
Remove ELOG/ILOG/WLOG from the Android C++ code (mostly)
2020-08-15 19:08:39 +02:00
Henrik Rydgård
73166def93
Android: Reduce asserts during startup.
2020-07-28 19:06:29 +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
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
e9e0ea9d05
Vulkan: Cleanup some duplicate code.
2020-05-21 08:55:36 -07:00
Unknown W. Brackets
051a84e9bd
GPU: Restart when changing inflight frames setting.
...
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
Unknown W. Brackets
2a3fd05651
Vulkan: Present using FIFO for vsync.
...
This allows the setting to be changed at runtime in Vulkan too.
Should help #10105 .
2020-02-29 22:48:59 -08:00
Henrik Rydgård
0698944752
Fixes
2019-10-06 00:20:49 +02:00
Henrik Rydgård
309d6562d5
We had an old fallback to the EGL GL loop in the Vulkan init. Remove it.
2019-09-17 10:52:02 +02:00
Henrik Rydgård
57c6ab7206
Android: Remove the popup message when falling back to OpenGL. Fixes #12284 .
2019-09-02 20:02:40 +02:00
Henrik Rydgård
7610220b30
Vulkan: Prepare for adding a second init path for VulkanContext.
...
Will eventually be used for libretro.
2019-09-01 22:21:19 +02:00
Henrik Rydgard
478b0b4278
Further improve VK extension loading. Switch to VK_EXT_debug_utils (but fallback to VK_EXT_debug_report if only that is available).
2019-02-05 21:31:38 +01:00
Henrik Rydgard
3fd216ad3a
Better handling of swap chain size, add PowerVR hack. Fixes #11743
2019-01-25 20:19:55 +01:00