Skip to content

labelle-android v0.5.0 — Vulkan (auto) is the default renderer

Latest

Choose a tag to compare

@apotema apotema released this 01 Oct 02:15
dadab4c

Vulkan is now the default Android renderer.

  • The default renderer setting is auto (was gles): Vulkan when the device reports Vulkan ≥ 1.1, otherwise GLES. Set "renderer": "gles" in providers/android.json to opt out. Devices without Vulkan 1.1, or where Vulkan init fails, use GLES (device check, bgfx init fallback and crash guard). (#30, PR #39)
  • Manifest: the default now carries the optional android.hardware.vulkan.version 1.1 uses-feature (required="false"). An explicit gles produces the old manifest.
  • Missing vs malformed setting: a missing labelle.renderer meta-data means auto. A malformed one (a boolean, integer or resource value, or null) or a read failure always means GLES, with a warning and the source setting; invalid meta-data. A bad value can never enable Vulkan.
  • Crash guard: treats a default auto that picks Vulkan exactly like an explicit vulkan.
  • Log line: a default-packaged APK on a Vulkan device logs renderer: vulkan (source: auto).

Part of labelle-toolkit/labelle-bgfx#172.