• Hixie's avatar
    requestPostFrameCallback() · ed195cfa
    Hixie authored
    Provide a way to schedule a callback for immediately after the current
    frame has been sent to the GPU thread. This is useful for times where
    you want to immediately schedule yourself for another build or layout
    because, for instance, you just displayed frame zero of an animation and
    you want to use the metrics from that layout to set up the actual
    animation to begin immediately, such that the very next frame is frame 1.
    ed195cfa
build_scope_test.dart 3.51 KB