viz::Display::DrawAndSwap
Blink2865 Okt 2025

viz::Display::DrawAndSwap

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.

Episoder(395)

Browser to Blink: Chromium Navigation Byte Flow

Browser to Blink: Chromium Navigation Byte Flow

The source provides a highly technical, in-depth examination of the network byte flow during a web page navigation within the Chromium browser architecture. It meticulously details the progression of ...

22 Nov 202541min

Blink's View Transitions: Nesting and Compositing Mechanics

Blink's View Transitions: Nesting and Compositing Mechanics

The sources provide a technical overview and implementation details of the View Transition API within the Blink rendering engine, focusing on achieving smooth animated state changes in web pages. The ...

22 Nov 202533min

CSS Overscroll Behavior in Chrome

CSS Overscroll Behavior in Chrome

The source provides a comprehensive technical guide to the CSS overscroll-behavior properties, which allow web developers to control scroll chaining and boundary effects like pull-to-refresh or elasti...

21 Nov 202530min

Scroll-Driven Animations Architecture in Chromium Compositor

Scroll-Driven Animations Architecture in Chromium Compositor

The source provides an extensive architectural deep dive into the implementation of Scroll-driven Animations (SDA) within the Chromium project, specifically focusing on the Blink rendering engine and ...

20 Nov 202539min

Blink's Stacking Contexts and Rendering Pipeline

Blink's Stacking Contexts and Rendering Pipeline

The source provides a highly technical and comprehensive overview of CSS stacking contexts and their implementation within Blink, Chrome's rendering engine. It explains the conceptual role of a stacki...

20 Nov 202550min

Fragmentation in Blink LayoutNG

Fragmentation in Blink LayoutNG

The source provides a comprehensive overview of content fragmentation within the Blink rendering engine, focusing heavily on the transition from the legacy engine to the modern LayoutNG architecture. ...

19 Nov 202550min

Kitty Clipboard Integration Over SSH and Tmux

Kitty Clipboard Integration Over SSH and Tmux

The sources provide a detailed technical guide focused on achieving seamless copy-paste functionality between a local Kitty terminal on macOS and a remote Linux session, especially over SSH. The text ...

19 Nov 202523min

View Transition Deep Dive: Lifecycle and Implementation

View Transition Deep Dive: Lifecycle and Implementation

The sources provide a detailed technical examination of the lifecycle of a View Transition in the Chromium browser engine, outlining the complex coordination across various subsystems like Blink, the ...

19 Nov 202531min

Populært innen Teknologi

lydartikler-fra-aftenposten
romkapsel
tomprat-med-gunnar-tjomlid
rss-avskiltet
nasjonal-sikkerhetsmyndighet-nsm
smart-forklart
teknisk-sett
energi-og-klima
shifter
rss-impressions-2
elektropodden
rss-alt-vi-kan
teknologi-og-mennesker
pedagogisk-intelligens
hans-petter-og-co
rss-ki-praten
kunstig-intelligens-med-morten-goodwin
rss-fjorsilkebris-podcast
rss-bouvet-bobler
rss-alt-som-gar-pa-strom