Skip to main content

frame_laying_out

Function frame_laying_out 

pub fn frame_laying_out() -> bool
Expand description

Whether a frame is being built, laid out or drawn on this thread. Work an app ran elsewhere that lands meanwhile (a device read on a thread of its own) is taken in by the next frame, which the work’s wake asks for: taken in now, it would compose the frame again partway through, at whatever pass it happened to land in.