Kirill Grouchnikov
07/26/2023, 5:46 PMspierce7
07/26/2023, 6:02 PMKirill Grouchnikov
07/26/2023, 6:27 PMKirill Grouchnikov
07/26/2023, 6:28 PMIgor Demin
07/26/2023, 7:51 PMi’m quite interested to see what https://github.com/JetBrains/compose-multiplatform-core/pull/601 can enableNote, that this feature is under development. Hardware acceleration works only on macOs at the moment. Windows/Linux hardware acceleration is planned.
Adam Brown
07/26/2023, 9:45 PMAlexander Maryanovsky
07/26/2023, 9:45 PMAdam Brown
07/26/2023, 9:46 PMExposedDropdownMenuBox
made it in?Adam Brown
07/26/2023, 9:46 PMAdam Brown
07/26/2023, 9:46 PMAlexander Maryanovsky
07/26/2023, 9:46 PMAdam Brown
07/26/2023, 9:47 PMAdam Brown
07/26/2023, 9:47 PMAdam Brown
07/26/2023, 9:47 PMArkadii Ivanov
07/26/2023, 9:58 PMmovableContentOf
.Stefan Oltmann
07/27/2023, 7:43 AMJohn O'Reilly
07/27/2023, 6:25 PM1.5.0-beta01
...just to confirm....looks like you need to set compose.swing.render.on.graphics
explicitly to enable that change?Alexander Maryanovsky
07/27/2023, 6:26 PMJohn O'Reilly
07/27/2023, 6:27 PMfun main() = singleWindowApplication(
title = "BikeShare",
state = WindowState(size = DpSize(1000.dp, 600.dp))
) {
LaunchedEffect(Unit) {
System.setProperty("compose.swing.render.on.graphics", "true")
}
John O'Reilly
07/27/2023, 6:27 PMJohn O'Reilly
07/27/2023, 6:29 PMsetProperty
yet) https://github.com/joreilly/BikeShare/blob/main/compose-desktop/src/main/kotlin/main.ktAlexander Maryanovsky
07/27/2023, 8:13 PMJohn O'Reilly
07/27/2023, 8:17 PMbuild.gradle.kts
but doesn't seem to take effect for some reason
application {
applicationDefaultJvmArgs = listOf("-Dcompose.swing.render.on.graphics=true")
mainClass.set("MainKt")
}
John O'Reilly
07/27/2023, 8:18 PMSystem.getProperty("compose.swing.render.on.graphics")
is null when I check in start of main
John O'Reilly
07/27/2023, 8:19 PMsetProperty
and then check it then it's returning true
so can just use that I guess