eden-miror/src/android
PavelBARABANOV 8f770618d2
Some checks failed
tx-src / sources (push) Has been cancelled
Check Strings / check-strings (push) Has been cancelled
[android] Rework of frame pacing mode + Surface mode detection per API level. (#3735)
This Pr is a reply to certain issues found on Android due to the new artificial waits inside Vulkan (Frame Pacing Mode); which caused GPU/CPU desync's even if TimelineSemaphore (Adreno's drivers) does a constant check to retain synchronization with each frame-data, removes the yield() for all platforms (remains the same on PC) and aligns a new way to handle the output of video by using native Android tools, such as AGP, which makes a bridge inside Vulkan to Android's Surface (screen) and reduces not only the latency, but also improves the smoothness of each frame processed; currently we quantize the amount of frame processed by hinting the surface on Android space and adjust the heuristics of the old handling (yuzu) and we link it to screen refresh rate; this way we ensure that even if the game moves below the screen's HZ, we can always pick up the cadence by clamping the duration of each frame and using a chrono function to work as internal fernce if performance goes below the game speed requirment or game's frame rate requirements.

Co-authored-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3735
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Co-authored-by: PavelBARABANOV <pavelbarabanov94@gmail.com>
Co-committed-by: PavelBARABANOV <pavelbarabanov94@gmail.com>
2026-03-24 01:25:44 +01:00
..
app [android] Rework of frame pacing mode + Surface mode detection per API level. (#3735) 2026-03-24 01:25:44 +01:00
gradle/wrapper android: Update various deps 2025-04-01 18:30:57 +02:00
.gitignore android: Ignore validation layers library in git 2023-09-19 00:31:43 -04:00
build.gradle.kts Revert "[gradle] fix warnings & update deps (#189)" 2025-06-15 21:46:24 -04:00
gradle.properties [chore] Fixed a couple memory leaks using up ~15 MB each iteration (#398) 2025-12-26 02:55:52 +01:00
gradlew android: Various fixes for CI. 2023-06-03 00:06:05 -07:00
gradlew.bat android: Various fixes for CI. 2023-06-03 00:06:05 -07:00
settings.gradle.kts [android] Properly set Root of the Project (#3177) 2025-12-23 22:23:56 +01:00