Skip to content
blink::GraphicsContext episode artwork

Oct 10, 2025 44 min

blink::GraphicsContext

from Blink286 Hosted by Free Debreuil

immediate drawing API that records to a display list. Painters for layout objects use GraphicsContext to “draw”—but in modern Blink those calls get recorded into a display list (PaintRecord) backed by Skia commands. This recording is scoped and batched between BeginRecording(...)/EndRecording(). (Chromium Git Repositories) Key methods (how display items get their pixels) Recording: BeginRecording(const FloatRect&) → sk_sp<PaintRecord> EndRecording() — wraps a run of drawing commands for later replay. (Chromium Git Repositories) Draw ops (representative): DrawRect, DrawImage(...), DrawText(...), BeginLayer/EndLayer — the stuff that becomes Skia ops inside display items. (Chromium Git Repositories) Important fields cc::PaintCanvas* canvas_ (owned by recorder), PaintRecorder paint_recorder_ — actual recording guts; float device_scale_factor_, state stacks/flags — needed for correct pixel snapping/appearance. (Chromium Git Repositories) Hands off to: PaintController, which packages these recorded ops into chunks/items.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

blink::GraphicsContext

0:00 44:28

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Blink286?

This episode is 44 minutes long.

When was this Blink286 episode published?

This episode was published on October 10, 2025.

Can I download this Blink286 episode?

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