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.

Avsnitt(395)

Chrome Finch Field Trial Configuration Deep Dive

Chrome Finch Field Trial Configuration Deep Dive

The source provides an extensive explanation of Chrome Finch Field Trials, which is the framework Chrome uses for running experiments and feature rollouts without requiring a full browser update. Spec...

11 Nov 202541min

Advanced Scrolling Scenarios – Fixed Elements, Sticky Positioning, and Lifecycle Coordination

Advanced Scrolling Scenarios – Fixed Elements, Sticky Positioning, and Lifecycle Coordination

The source provides an extensive technical explanation of how the Chrome rendering engine, Blink, and its Compositor implement advanced CSS scrolling features like position: fixed and position: sticky...

11 Nov 202551min

Chrome Compositor Tiling, Raster, and Scroll Optimization

Chrome Compositor Tiling, Raster, and Scroll Optimization

The source provides an extensive explanation of the Chrome Compositor's tiled rendering architecture, detailing how it achieves smooth scrolling and efficient visual updates. It outlines the process o...

11 Nov 202559min

LCD Text Rendering – Algorithm, Heuristics & Scroll Raster Impacts

LCD Text Rendering – Algorithm, Heuristics & Scroll Raster Impacts

The source text provides an extensive technical overview of LCD text rendering (subpixel antialiasing) within the Google Chrome browser's architecture, involving the Blink rendering engine and the Ski...

11 Nov 202542min

Compositor-Thread Scrolling – CC Mechanics and Property Trees

Compositor-Thread Scrolling – CC Mechanics and Property Trees

The source provides an extensive technical overview of Chrome’s Compositor-Thread Scrolling architecture, explaining how modern web rendering achieves smooth, low-latency scrolling by handling most sc...

11 Nov 202545min

Blink Main-Thread Scrolling – DOM, Layout, and Lifecycle

Blink Main-Thread Scrolling – DOM, Layout, and Lifecycle

The source provides an extensive technical overview of how the Blink rendering engine handles scrolling, particularly focusing on the main-thread scrolling lifecycle. It explains that while modern bro...

10 Nov 202545min

Architecture of Scrolling in Chrome (Blink vs. CC Overview)

Architecture of Scrolling in Chrome (Blink vs. CC Overview)

The source provides an extensive overview of the Chrome browser's scrolling architecture, detailing the division of labor between the Blink rendering engine (main thread) and the Chromium Compositor (...

10 Nov 202526min

[ext] Web View Transitions: Technical Deep Dive

[ext] Web View Transitions: Technical Deep Dive

The source provides an exhaustive technical and historical overview of the Web View Transition API, a modern set of web platform features designed to enable fluid, animated transitions between user in...

9 Nov 20251h 16min

Populärt inom Teknik

uppgang-och-fall
elbilsveckan
market-makers
rss-elektrikerpodden
rss-laddstationen-med-elbilen-i-sverige
natets-morka-sida
skogsforum-podcast
gubbar-som-tjotar-om-bilar
rss-uppgang-och-fall
rss-technokratin
bli-saker-podden
bilar-med-sladd
rss-veckans-ai
rss-ai-med-katarina-gospic-och-viggo-cavling
bosse-bildoktorn-och-hasse-p
hej-bruksbil
rss-it-sakerhetspodden
rss-sogeti-sweden-podcasts
rss-fabriken-2
rss-powerboat-sverige-podcast