Chromium Compositor's CalculateDrawProperties: Scrolling and Overscroll
Blink2863 Okt 2025

Chromium Compositor's CalculateDrawProperties: Scrolling and Overscroll

The sources provide an extremely detailed, line-by-line breakdown of the Chromium compositor function CalculateDrawProperties, explaining how it prepares the active layer tree for rendering. A primary focus is on how scrolling and elastic overscroll are handled by updating property trees (transform, clip, and effect) to reflect user interaction. Specifically, the function prioritizes applying SyncedProperties, such as the page scale factor (zoom) and the elastic overscroll vector (the bounce effect), ensuring consistency across layer trees before property recomputation. The application of overscroll is platform-dependent, utilizing stretching on Android versus simple translation on non-Android platforms, and these effects are injected into a dedicated transform node that propagates the visual change to all descendant layers. Finally, the function determines visible layers, computes their final draw properties, and assembles the render surface list that the compositor will use to issue drawing commands.


Avsnitt(396)

R-Trees in Theory and Chromium Rendering

R-Trees in Theory and Chromium Rendering

The source provides an extensive overview of R-trees, which are hierarchical data structures designed for efficient spatial indexing, detailing their theoretical foundations and several variants like ...

22 Okt 202548min

Interactive Rebase in nvim

Interactive Rebase in nvim

These sources provide an extensive guide on executing a complete interactive Git rebase workflow entirely within the Neovim text editor. The process heavily relies on the vim-fugitive plugin for Git c...

19 Okt 202538min

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

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