mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
Before both canvas updates and layout had their own `Epoch`. This change makes it so the `Epoch` is shared. This means that display lists might have non-consecutive `Epoch`s, but will also allow for the `Epoch` in the renderer to update even when no new display list is produced. This is important for #38991. In that PR the display list step can be skipped for canvas-only updates, but the `Epoch` in the renderer must still advance. Testing: This shouldn't change the user-observable behavior and is thus covered by existing tests. It should prevent flakiness once #38991 lands. Signed-off-by: Martin Robinson <mrobinson@igalia.com>