LinuxSkiaLayerComponent
Platform host used by the Kotlin/Native Linux SkiaLayer.
Skiko owns the Skia and Ganesh objects while the embedding toolkit owns the native window and its event loop. Implementations must invoke requestRender on the window thread.
Properties
Scale from logical coordinates to physical pixels.
Refresh rate of the display containing this window.
Current drawable size in physical pixels.
Effective number of buffers exposed by the presentation API, or null when it is unknown.
Native GrGLGetProc callback used to assemble Skia's OpenGL function table.
Context passed to openGlResolver.
Whether the host created a window buffer whose alpha channel reaches the window system.
Native window object exposed through SkiaLayer.component.
Functions
Prepares the host to present Skia raster surfaces.
Applies framebuffer configuration before a context is created.
Applies a platform-specific GPU preference before a context is created.
Transfers ownership of a toolkit-backed Vulkan window to this layer's renderer.
Releases resources allocated by beginSoftwareRendering.
Returns true after the platform reports that the current OpenGL context was lost.
Name of the adapter backing the current OpenGL context, when available.
Presents premultiplied native N32 pixels to the window.
Wakes the embedding toolkit's event loop so it can call SkiaLayer.render.
Returns whether the requested presentation interval was accepted.