1
0
Fork 0
godot/platform
Matias N. Goldberg aaa0e2fddf Add Swappy & Pre-Transformed Swapchain
- Adds Swappy for Android for stable frame pacing
- Implements pre-transformed Swapchain so that Godot's compositor is in
charge of rotating the screen instead of Android's compositor
(performance optimization for phones that don't have HW rotator)

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

Changes from original PR:

- Removed "display/window/frame_pacing/android/target_frame_rate" option
to use Engine::get_max_fps instead.
- Target framerate can be changed at runtime using Engine::set_max_fps.
- Swappy is enabled by default.
- Added documentation.
- enable_auto_swap setting is replaced with swappy_mode.
2024-10-28 18:55:37 -03:00
..
android Add Swappy & Pre-Transformed Swapchain 2024-10-28 18:55:37 -03:00
ios Merge pull request #97570 from dustdfg/ios_macos/print_warning_instead_of_comments 2024-10-04 22:43:46 +02:00
linuxbsd Fix window_set_current_screen for maximized windows. 2024-10-03 10:38:32 +03:00
macos Merge pull request #97570 from dustdfg/ios_macos/print_warning_instead_of_comments 2024-10-04 22:43:46 +02:00
web [Web] Make audio bus fetching more resilient to errors 2024-10-02 11:24:57 -04:00
windows CI: Add MinGW/GCC build to Windows GHA 2024-10-10 10:10:55 -05:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
register_platform_apis.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00