Skip to content
viz::Display::DrawAndSwap episode artwork

Oct 5, 2025 28 min

viz::Display::DrawAndSwap

from Blink286 Hosted by Free Debreuil

In Chrome’s rendering pipeline, the Viz service in the GPU process owns a viz::Display object. A Display is responsible for taking aggregated CompositorFrames (produced by the SurfaceAggregator), drawing them using the appropriate renderer (Skia or software) and swapping the resulting buffer to the physical output surface. The method Display::DrawAndSwap(const DrawAndSwapParams& params) performs this work. The display scheduler calls DrawAndSwap for every frame it wants to display. On some platforms such as Lacros, DrawAndSwap uses the root surface size as the display’s size; the note on display size explains that display_->Resize sets current_surface_size_, and DrawAndSwap uses this value to determine whether the current frame needs a resize.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

viz::Display::DrawAndSwap

0:00 28:59

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Blink286?

This episode is 28 minutes long.

When was this Blink286 episode published?

This episode was published on October 5, 2025.

Can I download this Blink286 episode?

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