All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.org.jetbrains.skiko.Actuals.jvm.kt Maven / Gradle / Ivy

package org.jetbrains.skiko

internal actual fun makeDefaultSkiaLayerProperties(): SkiaLayerProperties {
    return SkiaLayerProperties(SkikoProperties.vsyncEnabled, SkikoProperties.vsyncFramelimitFallbackEnabled)
}

internal actual inline fun  maybeSynchronized(lock: Any, block: () -> R): R =
    synchronized(lock, block)

actual fun currentNanoTime(): Long = System.nanoTime()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy