labelle-android v0.4.0 — renderer setting, Vulkan crash guard
- Renderer setting: a
"renderer"provider setting inproviders/android.json:gles/vulkan/auto, defaultgles(#26). The packager writes it into the APK as thelabelle.renderermeta-data. Forvulkan/autoit also adds the optional Vulkan 1.1uses-feature. - Launch-time resolution: the renderer is chosen before bgfx starts (#27). Order: intent override (debuggable builds only), then the crash guard, then the setting, then
auto(Vulkan when the device reports Vulkan ≥ 1.1). The result is exported asLABELLE_BGFX_RENDERER. - Vulkan crash guard (#28). A Vulkan start that never reaches a stable run makes the next launch fall back to GLES. Stable means ≥120 presented frames and ≥10 s. It reads the frame count through labelle-bgfx's
labelle_bgfx_frames_presented, which needs a labelle-bgfx release with #183. Markers live inno_backup/, and the guard fails closed. - Docs (#29): "Android emulator testing" (
docs/emulator-testing.md) and "Choosing a renderer" (docs/renderer.md). - Quit:
game.quit()now finishes the Activity on Android (#35).
Part of labelle-toolkit/labelle-bgfx#172.