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

Chrome Interaction Systems: Scrolling, Animations, and Input

Chrome Interaction Systems: Scrolling, Animations, and Input

The source material provides a detailed examination of Chrome’s architecture and how it manages user interactions like scrolling, animations, and input handling to ensure web pages feel smooth and res...

19 Sep 202526min

The History of the Web

The History of the Web

The source provides an extensive transcript from a YouTube video titled "The history of the web (Chrome University 2019)," featuring a presentation by Chris Wilson from Chrome for Developers. Wilson o...

19 Sep 202526min

Chromium Blink Remote Linux Development Workflow

Chromium Blink Remote Linux Development Workflow

The source provides a comprehensive guide for experienced C++ developers on setting up a development workflow for Chromium's Blink rendering engine, specifically focusing on the core component within ...

19 Sep 202542min

Blink Core Architecture: DOM, Style, Layout, and Frames

Blink Core Architecture: DOM, Style, Layout, and Frames

The source provides a detailed overview of the Blink Core Architecture within the Chromium renderer process, focusing on the fundamental components that implement Web Platform features. It thoroughly ...

19 Sep 202534min

The Evolution of CSS: 1996 to 2025

The Evolution of CSS: 1996 to 2025

The provided sources chronicle the evolution of CSS from its inception in 1996 through major advancements projected to 2025. They collectively illustrate how CSS has transitioned from a basic styling ...

18 Sep 20251h 32min

Blink's Web Feature Prototyping: HTML & CSS

Blink's Web Feature Prototyping: HTML & CSS

The provided text describes the structured process for adding new HTML and CSS features to Blink, Chrome's rendering engine. It details the multi-stage workflow, starting from incubation with explaine...

16 Sep 202555min

Google's Transformative Journey: From Search Engine to Tech Giant

Google's Transformative Journey: From Search Engine to Tech Giant

The provided sources offer a comprehensive historical analysis of Google's journey from 1998 to 2025, tracing its business evolution, strategic decisions, and impact on technology and society. They ex...

16 Sep 20251h 31min

Shipping HTML/CSS Features in Blink

Shipping HTML/CSS Features in Blink

The provided document outlines the comprehensive process for launching new HTML/CSS features in Blink, the rendering engine used by Chrome, emphasizing a disciplined, multi-step journey. It details cr...

16 Sep 202553min

Populært innen Teknologi

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