Skip to content
Layer Invalidation to Partial Swap episode artwork

Nov 27, 2025 35 min

Layer Invalidation to Partial Swap

from Blink286 Hosted by Free Debreuil

The source details Chromium's damage tracking architecture, a critical mechanism within the cc compositor that identifies regions of the screen requiring redrawing to ensure rendering efficiency. This system distinguishes between content changes signaled by the renderer, known as paint invalidation, and internal compositor-driven updates, such as tile replacements, which generate damage rects. Changes propagate through the layer hierarchy via DamageTracker objects associated with RenderSurfaces, which carefully map localized layer modifications and property shifts (like transforms) into cumulative damage on the render target. In Chromium’s multi-process environment, the Viz SurfaceAggregator integrates damage rectangles from independently submitted child frames (SurfaceLayers) into a single, cohesive output. The final comprehensive damage rectangle is delivered with the CompositorFrame, enabling the graphics system to perform partial swaps and minimize buffer updates, thereby optimizing performance and power consumption. The architecture achieves efficiency by aggressively reusing unchanged resources, like previously rendered tiles and cached RenderPasses.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Layer Invalidation to Partial Swap

0:00 35:18

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Blink286?

This episode is 35 minutes long.

When was this Blink286 episode published?

This episode was published on November 27, 2025.

Can I download this Blink286 episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.