pub fn request_retained_repaint()Expand description
Record that a frame was just refused for drawing a retained page the renderer no longer held (the store was cleared and the empty ledger published): the refused frame presented nothing, so the UI thread owes one more paint against that empty ledger. Called by the render side — which cannot reach the UI thread’s state — right after it published; an atomic store, never blocks.
For the shells whose frame clock ticks on regardless of dirtiness (the
Android Choreographer, the iOS CADisplayLink) and whose frame gate would
otherwise skip every tick of an idle screen. The desktop and web shells
turn the refusal into a Redraw follow-up of the frame itself instead.