[Feat] (Backend selection, configuration, tests): prefer usable hardware Vulkan by default

This commit is contained in:
BZLZHH committed 2026-11-29 09:34:44 +08:00
1 parent adfed91a1e
commit 6ac2bb682a
13 files changed
+183 -78

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ MobileGL supports runtime configuration via environment variables.
| Variable | Description | Allowed Values | Default |
|-------------------------|--------------------------------------------------|--------------------------------------|----------------|
| `MOBILEGL_BACKEND_TYPE` | Select active backend implementation at startup. | `DirectGLES`, `DirectVulkan` | `DirectGLES` |
| `MOBILEGL_BACKEND_TYPE` | Select the active backend at startup. | `DirectGLES`, `DirectVulkan` | Automatic |
| `MOBILEGL_DISABLE_TIMERQUERY` | Disable GPU timer-query exposure and use. | `0`, `1` | `0` |
| `MOBILEGL_ESPRYT_USE_ANGLE` | Load ANGLE EGL/GLES libraries. | `0`, `1` | `0` |
| `MOBILEGL_SUBGROUP_EMULATION` | `GL_KHR_shader_subgroup` emulation (32-lane, compute stage). `Auto` emulates only where the driver has no subgroup operations; `ForceOn` emulates even over native support; `ForceOff` never emulates (native support is still used). | `Auto`, `ForceOn`, `ForceOff` | `Auto` |