Package-level declarations
Types
Link copied to clipboard
interface LinuxSkiaLayerComponent
Platform host used by the Kotlin/Native Linux SkiaLayer.
Link copied to clipboard
data class LinuxSkiaLayerDiagnostics(val renderApi: GraphicsApi, val rendererDescription: String?, val deviceName: String?, val renderedFrameCount: Long, val fallbackCount: Int, val contextRecoveryCount: Int, val lastFailure: String?, val isVsyncEnabled: Boolean, val frameBuffering: FrameBuffering, val effectiveFrameBufferCount: Int?, val transparencyRequested: Boolean, val hasTransparentWindowBuffer: Boolean, val adapterPriority: GpuPriority, val gpuResourceCacheLimit: Long, val pixelGeometry: PixelGeometry, val fpsAverage: Int?, val fpsMinimum: Int?, val fpsMaximum: Int?)
Link copied to clipboard
class LinuxVulkanWindow(instanceExtensions: List<String>, surfaceFactory: NativePointer, userData: NativePointer, properties: SkiaLayerProperties = SkiaLayerProperties(), transparent: Boolean = false)
Owns a Ganesh Vulkan device and swapchain for a toolkit's Linux window.
Link copied to clipboard
interface MacosSkiaLayerComponent
Link copied to clipboard
Generic layer for Skiko rendering.
SkiaLayer implementation for macOS. Supports GraphicsApi.METAL and GraphicsApi.OPENGL.
Kotlin/Native Windows layer backed by a Win32 HWND.
Link copied to clipboard
class SkiaLayerProperties(val isVsyncEnabled: Boolean = SkikoProperties.vsyncEnabled, val isVsyncFramelimitFallbackEnabled: Boolean = SkikoProperties.vsyncFramelimitFallbackEnabled, val frameBuffering: FrameBuffering = SkikoProperties.frameBuffering, val renderApi: GraphicsApi = SkikoProperties.renderApi, val adapterPriority: GpuPriority = SkikoProperties.gpuPriority, val gpuResourceCacheLimit: Long = SkikoProperties.gpuResourceCacheLimit)
Rendering configuration for a Kotlin/Native Linux SkiaLayer.
class SkiaLayerProperties(val isVsyncEnabled: Boolean = SkikoProperties.vsyncEnabled, val isVsyncFramelimitFallbackEnabled: Boolean = SkikoProperties.vsyncFramelimitFallbackEnabled, val frameBuffering: FrameBuffering = SkikoProperties.frameBuffering, val renderApi: GraphicsApi = SkikoProperties.renderApi, val adapterPriority: GpuPriority = SkikoProperties.gpuPriority, val gpuResourceCacheLimit: Long = SkikoProperties.gpuResourceCacheLimit)
Rendering configuration for a Kotlin/Native Windows SkiaLayer.
Link copied to clipboard
object SkikoProperties
Environment-backed rendering defaults for Kotlin/Native Linux.
object SkikoProperties
Environment-backed rendering defaults for Kotlin/Native Windows.
Link copied to clipboard
class WindowsNativeWindow
A Win32 window accepted by SkiaLayer.attachTo.
Link copied to clipboard
data class WindowsSkiaLayerDiagnostics(val renderApi: GraphicsApi, val rendererDescription: String?, val deviceName: String?, val renderedFrameCount: Long, val fallbackCount: Int, val contextRecoveryCount: Int, val lastFailure: String?, val isVsyncEnabled: Boolean, val frameBuffering: FrameBuffering, val effectiveFrameBufferCount: Int?, val transparencyRequested: Boolean, val hasTransparentWindowBuffer: Boolean, val adapterPriority: GpuPriority, val gpuResourceCacheLimit: Long, val pixelGeometry: PixelGeometry, val fpsAverage: Int?, val fpsMinimum: Int?, val fpsMaximum: Int?)