Show PowerVR support through existing driver and component controls

This commit is contained in:
wallentx committed 2026-10-11 04:01:57 -05:00
1 parent 3bb74b70b6
commit 6a615472a3
10 files changed
+161 -33

No files matched your search

@@ -1672,7 +1672,7 @@ class MainActivity : ComponentActivity() {
// The runtime draws with Turnip, an Adreno driver: on Mali, Xclipse or PowerVR the
// compositor gets no usable Vulkan device and a session is sound over a black screen.
// Said before the download, not after it; the user may still go ahead.
if (installed == null && !com.droiddeck.launcher.core.DeviceSupport.adreno()) { showNonAdreno = release; return }
if (installed == null && !com.droiddeck.launcher.core.DeviceSupport.graphicsAvailable()) { showNonAdreno = release; return }
install(release)
}
@@ -1684,7 +1684,7 @@ class MainActivity : ComponentActivity() {
showPhantomGate = true
return false
}
val warn = installed == null && !com.droiddeck.launcher.core.DeviceSupport.adreno()
val warn = installed == null && !com.droiddeck.launcher.core.DeviceSupport.graphicsAvailable()
if (warn && available != null) { showNonAdreno = available; return false }
startActivity(intent)
return true