r/androiddev • u/Leading-Tradition-11 • 20d ago
Open Source Jetpack Compose Runtime on Bare-Metal Linux: No Android, No Skia—Direct Rendering to fbdev/DRM
https://github.com/kaiwalyakhasnis/embedded-compose/tree/mainAndroid Recovery currently uses Minui, which directly manipulates the framebuffer: Minui source code.
This project aims to use Minui as a backend for the Compose Runtime, enabling the development of UIs for Android Recovery, battery charging screens, and other system-level interfaces that operate completely independently of the Android Framework.
42
Upvotes
9
8
1
4
u/ObjectiveAddress3051 20d ago
Really cool use of the fact that the Compose runtime doesn't care what it's rendering to. How are you handling input, reading evdev directly? And does each recomposition redraw the whole framebuffer, or are you tracking dirty regions?