blink::PaintChunk and blink::DisplayItemList
Blink28610 Loka 2025

blink::PaintChunk and blink::DisplayItemList

grouping and content.

  • PaintChunk: groups sequential display items that share the same property‑tree state and cull/visibility; it’s the unit we layerize and invalidate.

  • DisplayItemList: the recorded Skia/paint operations (text, images, paths, etc.). This split lets us reason about “where/how to draw” (chunk) vs. “what to draw” (items). (Chromium Git Repositories)

Hands off to: PaintArtifactCompositor for compositing decisions, then PropertyTreeManager to mirror trees into cc.


Jaksot(396)

Intersection Observer

Intersection Observer

The sources provide an in-depth explanation of the Intersection Observer API within the Blink rendering engine, focusing on its architecture and implementation to improve web performance. The initial ...

16 Loka 202544min

Chrome Compositor Animation Architecture (cc)

Chrome Compositor Animation Architecture (cc)

The sources provide an extensive architectural overview of the Chrome Compositor Animation (cc) subsystem, which is responsible for executing visual animations like transforms and opacity changes effi...

15 Loka 202541min

Blink's Graph Data Structures and Traversals

Blink's Graph Data Structures and Traversals

The text provides an extensive overview of the graph-structured data structures used within Blink, Chromium's rendering engine, detailing how web content is processed from initial input to final displ...

13 Loka 202539min

blink::PropertyTreeManager

blink::PropertyTreeManager

bridges Blink property trees → cc property trees. Given Blink’s Transform/Clip/Effect/Scroll nodes (from paint property trees), this class creates/updates the cc counterparts (cc::TransformNode, cc::C...

10 Loka 202546min

blink::PaintArtifactCompositor

blink::PaintArtifactCompositor

turns chunks into compositor layers & updates cc property trees. Consumes the new PaintArtifact and does the layerization and property‑tree updates required for compositor draw. It supports fast paths...

10 Loka 202529min

blink::PaintArtifact

blink::PaintArtifact

the immutable “what to draw” package for this frame. A PaintArtifact is the product of Blink painting: a DisplayItemList plus an ordered vector of PaintChunks. It is immutable post‑creation and design...

10 Loka 202531min

blink::PaintController

blink::PaintController

builds the display list + paint chunks and manages caching. As painters call into GraphicsContext, they also drive a PaintController which groups drawing into display items and paint chunks (each keye...

10 Loka 202529min