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

Gerrit / git-cl (Chromium Development Workflow)

Gerrit / git-cl (Chromium Development Workflow)

The source provides a comprehensive guide to the Chromium development workflow, focusing on using Gerrit for code review and the command-line utility git cl (part of depot_tools). It details two prima...

19 Okt 202546min

FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation()

FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation()

The provided sources offer an extensive, line-by-line analysis of Blink’s rendering function, FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation(), which is critical for implementing s...

18 Okt 202532min

Simple Versus Easy in Programming

Simple Versus Easy in Programming

provided sources center on Rich Hickey's "Simple Made Easy" talk, which meticulously distinguishes between simple (objective, meaning "one-fold" or unentangled) and easy (subjective, meaning "near-at-...

16 Okt 202534min

CSS Keywords and Blink Rendering Engine

CSS Keywords and Blink Rendering Engine

These sources provide a detailed technical history of CSS keywords and features, tracing their evolution from the foundational CSS1 (1996), which introduced the box model and basic typography, through...

16 Okt 202553min

View Transitions

View Transitions

View transitions

16 Okt 202528min

CSS Backdrop-Filter

CSS Backdrop-Filter

The sources provide an extensive technical explanation of the CSS backdrop-filter property within Google Chrome's Blink rendering engine. This deep dive details how the feature, which allows filters l...

16 Okt 202524min

Intersection Observer

Intersection Observer

The sources provide an in-depth explanation of the Intersection Observer API within the Blink rendering engine, focusing on its architecture and implementation to improve web performance. The initial ...

16 Okt 202544min

Chrome Compositor Animation Architecture (cc)

Chrome Compositor Animation Architecture (cc)

The sources provide an extensive architectural overview of the Chrome Compositor Animation (cc) subsystem, which is responsible for executing visual animations like transforms and opacity changes effi...

15 Okt 202541min

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