Skip to main content

take_retained_repaint

Function take_retained_repaint 

Source
pub fn take_retained_repaint() -> bool
Expand description

Take the owed repaint request_retained_repaint recorded: true once per request (however many requests landed since the last take), then false. Read by the UI thread’s frame gate past its surface-ready check, ORed into an input that forces the frame to run. An atomic swap, never blocks.