desktop: performant drawing of wallpaper (#4249)

* desktop: low quality drawing of wallpaper

* fast drawing

* clean up

* unused
This commit is contained in:
Stanislav Dmitrenko
2024-05-30 23:07:58 +07:00
committed by GitHub
parent 037655e30f
commit 7b5b747b19
5 changed files with 84 additions and 49 deletions
@@ -115,6 +115,7 @@ private fun ApplicationScope.AppWindow(closedByError: MutableState<Boolean>) {
false
}
}, title = "SimpleX") {
// val hardwareAccelerationDisabled = remember { listOf(GraphicsApi.SOFTWARE_FAST, GraphicsApi.SOFTWARE_COMPAT, GraphicsApi.UNKNOWN).contains(window.renderApi) }
simplexWindowState.window = window
AppScreen()
if (simplexWindowState.openDialog.isAwaiting) {