I was talking to BenWa today, and he asked how the RCU world handles this situation:

1)  DOM update starts at time t=0
2)  DOM update finishes at time t=1, schedules 4ms setTimeout
3)  Layout starts at time t=1
4)  Timer fires at t=5, updates DOM
5)  DOM update finishes at time t=6, schedules 4ms setTimeout
6)  Timer fires at time t=10, updates DOM
7)  Layout from item 3 finishes at time t=11.

It seems to me like in this case the RCU setup would basically skip painting the t=5 frame, right?

We could make it delay the t=10 frame until the layout is done instead.

But we can't make it buffer up all the frames in hopes that the slow layout is transient, afaict. Correct?

-Boris
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to