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(396)

Chromium and W3C TAG: Architectural Standards Review

Chromium and W3C TAG: Architectural Standards Review

The provided guide details the rigorous W3C Technical Architecture Group (TAG) review process that Chromium engineers must follow when proposing new web platform features. The TAG serves as an archite...

26 Nov 202537min

The CSS Z-Axis: Stacking Contexts and Z-Index

The CSS Z-Axis: Stacking Contexts and Z-Index

The source provides an exhaustive technical analysis of CSS stacking contexts, defining this fundamental concept as the hierarchical structure that controls the layering of elements along the z-axis. ...

26 Nov 202534min

Blink's PaintLayerPainter: Flow, Context, and Caching

Blink's PaintLayerPainter: Flow, Context, and Caching

This detailed document explains the central painting method in the Blink rendering engine, PaintLayerPainter::Paint, which is responsible for generating visual output for stacking contexts. Historical...

26 Nov 202539min

Chromium Architecture and Navigation Flow

Chromium Architecture and Navigation Flow

These documents provide a comprehensive look at the inner workings of the Chromium browser, focusing primarily on its multi-process architecture and the lifecycle of web page navigation and network re...

25 Nov 202537min

Composited Background Color Animation

Composited Background Color Animation

The source provides a highly technical examination of the Composited Background Color feature within Chromium's rendering pipeline, which is an optimization designed to run specific background-color a...

24 Nov 202532min

Chromium Multi Page View Transitions Architecture Explained

Chromium Multi Page View Transitions Architecture Explained

Chromium Multi Page View Transitions Architecture Explained

24 Nov 202541min

network::URLLoaderFactory / URLLoader

network::URLLoaderFactory / URLLoader

The source provides a highly technical overview of the Chromium Network Stack Architecture and Request Pipeline, detailing how network requests are processed from initiation to completion. It explains...

23 Nov 202536min

content::NavigationURLLoader / NavigationURLLoaderImpl

content::NavigationURLLoader / NavigationURLLoaderImpl

The source provides a highly technical explanation of the NavigationURLLoader system within the Chromium architecture, specifically focusing on its implementation, NavigationURLLoaderImpl. This compon...

23 Nov 202530min

Populärt inom Teknik

uppgang-och-fall
elbilsveckan
bilar-med-sladd
market-makers
natets-morka-sida
rss-elektrikerpodden
skogsforum-podcast
rss-laddstationen-med-elbilen-i-sverige
bli-saker-podden
rss-uppgang-och-fall
rss-technokratin
bosse-bildoktorn-och-hasse-p
hej-bruksbil
rss-veckans-ai
rss-ai-med-katarina-gospic-och-viggo-cavling
rss-sogeti-sweden-podcasts
rss-kack-tech-podcast
rss-fabriken-2
rss-en-ai-till-kaffet
rss-bakom-boken