fix(setup): the Steam interface GPU drawing row refreshes when the graphics route changes

This commit is contained in:
Kurt Himebauch committed 2026-11-16 12:32:06 +00:00
1 parent 1d6959a9ec
commit e6bf86f5b2
1 file changed
+6 -1
@@ -1456,15 +1456,20 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
onRuntime = { onRuntimeButton() },
onVkBridge = { on ->
SessionPrefs.setVkBridge(this, on); SessionPrefs.setMaliFallbackByAuto(this, ""); vkBridge = on
steamGpuDrawing = SessionPrefs.steamGpuDrawingShown(this)
if (!on) com.droiddeck.launcher.session.ComponentsManager.settleAutoDxvk(this)
},
onVenus = { on ->
SessionPrefs.setVenus(this, on)
SessionPrefs.setMaliFallbackByAuto(this, "")
venus = on
steamGpuDrawing = SessionPrefs.steamGpuDrawingShown(this)
if (on && !com.droiddeck.launcher.core.DeviceSupport.adreno()) Thread({
com.droiddeck.launcher.gpu.VulkanInfo.query()["api"]?.let { SessionPrefs.setHostVulkanApi(this, it) }
runOnUiThread { venusHostVulkan = com.droiddeck.launcher.session.VenusComponent.hostVulkanTooOld(this) }
runOnUiThread {
venusHostVulkan = com.droiddeck.launcher.session.VenusComponent.hostVulkanTooOld(this)
steamGpuDrawing = SessionPrefs.steamGpuDrawingShown(this)
}
}, "venus-host-vulkan").start()
},
onVkBridgeSafe = { on -> SessionPrefs.setVkBridgeSafe(this, on); vkBridgeSafe = on },