Blink286

[DBL] Raster-Inducing Scroll and Paint-Command Generation in Chromium


Listen Later

These sources describe the architecture of raster-inducing scroll (RIS) within the Blink and Chromium rendering pipelines. This specialized "middle mode" allows the compositor to handle scrolling asynchronously without a full main-thread repaint, even when the content is not yet fully rasterized. Unlike traditional scrolling, RIS does not generate new paint commands during the initial paint walk; instead, a specific cc::DrawScrollingContentsOp is synthesized during the conversion of Blink paint chunks into compositor display lists. This operation wraps nested content in a scroll-aware container that uses a stable element ID to apply live scroll offsets at the moment of rasterization. By storing scroll offsets as transform-tree state, the system maintains stable command buffers while the cc::TileManager dynamically schedules new raster tasks for newly exposed areas. This framework ensures high-performance scrolling by balancing main-thread correctness with the efficiency of impl-side execution.

...more
View all episodesView all episodes
Download on the App Store

Blink286By Free Debreuil