needRedraw

expect fun needRedraw(throttledToVsync: Boolean = true)

Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.

Parameters

throttledToVsync

Whether to throttle calling renderDelegate's SkikoRenderDelegate.onRender to at most once between vsync signals (if vsync is enabled).

actual fun needRedraw(throttledToVsync: Boolean)
actual fun needRedraw(throttledToVsync: Boolean)

Schedules a frame to an appropriate moment.

actual fun needRedraw(throttledToVsync: Boolean)
actual fun needRedraw(throttledToVsync: Boolean)

Schedules a drawFrame to the appropriate moment.