Sample App
The ADPF sample app demonstrates the basic use of the ADPF API.
The sample displays the device's thermal status using the ADPF
getThermalHeadroom
API and the thermal status
API. The app also dynamically changes the workload based on the Thermal headroom
and the Performance Hint Manager API
to control render thread performance.
Codelab
The Integrating Adaptability Features Into Your Native Game codelab guides you to integrate ADPF features into your game with simple steps that you can follow at your own pace. At the end of the codelab, you will have integrated the following features and will better understand their functionalities:
- Thermal API: listen to device thermal condition and react before the device falls into thermal throttling state.
- Game Mode API: understand player's optimization preference (maximize performance or preserving battery) and adjust accordingly.
- Game State API: let the system know the state of your game (loading, playing, UI, etc) and the system can adjust resources accordingly (boost I/O, or CPU, GPU, etc).
- Performance Hint API: let the system know your threading model and workload so that the system can allocate resources accordingly.
Developer Stories
Check out how game developers increased their FPS stability and optimize their power consumption using Adaptability APIs in these developer success stories!
- Kakao Games increased FPS stability to 96% through Android Adaptability
- Gameloft reduces device power consumption by 70%, resulting in 35% longer play time with the Game Mode API
- Android Game Development Kit (AGDK) update: Adaptability and performance features
- GDC Vault - Google Developer Summit: Improving Game Performance with Android Dynamic Performance Framework
- MediaTek enhances dynamic performance of Android SoCs
- NCSoft Lineage W improves sustained performance and prevents thermal throttling by using ADPF
- ARM getting started with Android Dynamic Performance Framework (ADPF) in Unreal Engine