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
@@ -3,7 +3,6 @@ package chat.simplex.desktop
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.AnimationVector1D
import androidx.compose.foundation.*
import androidx.compose.foundation.interaction.*
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.runtime.*
import androidx.compose.ui.ExperimentalComposeUiApi
@@ -17,6 +16,8 @@ import kotlinx.coroutines.*
import java.io.File
fun main() {
// Disable hardware acceleration
//System.setProperty("skiko.renderApi", "SOFTWARE")
initHaskell()
runMigrations()
initApp()