ladybird/Libraries/LibWeb/HTML/EventLoop
Aliaksandr Kalenik d51611b36f LibWeb: Publish dirty canvas content before painting
Canvas frame publishing was tied to CanvasPaintable::paint(), so cached
paint commands could replay DrawExternalContent without updating the
ExternalContentSource first. That made dynamic canvas content depend on
whether the display list was re-recorded for the frame.

Move canvas presentation to the rendering update step after animation
frame callbacks and layout, immediately before navigables paint. The
canvas paintable now only records the external-content draw command,
which keeps display-list replay from skipping the resource update.

Add a ref test that draws red, lets the display list cache, then draws
green on a later animation frame. The final rendering must come from the
updated external content source while reusing the cached draw command.
2026-05-15 15:08:43 +02:00
..
EventLoop.cpp LibWeb: Publish dirty canvas content before painting 2026-05-15 15:08:43 +02:00
EventLoop.h LibWeb: Remove unused m_skip_event_loop_processing_steps flag 2026-04-27 20:58:54 +02:00
Task.cpp LibWeb: Remove tasks for destroyed documents when filtering on tasks 2026-03-22 14:26:50 -05:00
Task.h LibWeb: Implement makeXRCompatible() enough to work 2026-04-03 13:14:33 +02:00
TaskQueue.cpp LibWeb: Store idle tasks separately from normal tasks 2026-05-13 20:54:10 +02:00
TaskQueue.h LibWeb: Store idle tasks separately from normal tasks 2026-05-13 20:54:10 +02:00