Detect and apply graphics runtime hints for external applications. More...
Classes | |
| class | GraphicsRuntime |
| Describe the graphics backend selected for the current platform. More... | |
Functions | |
| GraphicsRuntime | detect_graphics_runtime (*dict[str, str]|None environment=None, str|None hardware=None, str|None platform=None, bool|None kgsl_present=None, bool|None freedreno_icd_present=None) |
| Detect a conservative graphics runtime configuration. | |
| dict[str, str] | graphics_environment (dict[str, str] base_environment, *GraphicsRuntime|None runtime=None) |
| Return a copy of an environment with selected graphics hints applied. | |
Detect and apply graphics runtime hints for external applications.
| GraphicsRuntime apps.launchers.graphics_environment.detect_graphics_runtime | ( | *dict[str, str] | None | environment = None, |
| str | None | hardware = None, |
||
| str | None | platform = None, |
||
| bool | None | kgsl_present = None, |
||
| bool | None | freedreno_icd_present = None |
||
| ) |
Detect a conservative graphics runtime configuration.
The detector currently knows one validated Android/Termux hardware path: Qualcomm/Adreno through Freedreno/Turnip and Zink. Unknown devices are left untouched rather than guessing a vendor-specific driver.