New issue
Advanced search Search tips

Issue 880193 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 879662



Sign in to add a comment

Scroll offset changes for non-root scrollable paint layers trigger graphics layer updates.

Project Member Reported by vmi...@chromium.org, Sep 4

Issue description

When comparing root versus overflow scroll element performance on the tests below, the element version uses almost double the main thread CPU time.

root: /src/chrome/test/data/perf/tough_compositor_cases/infinite_scroll_root_n_layers.html?layer_count=306

element: /src/chrome/test/data/perf/tough_compositor_cases/infinite_scroll_element_n_layers.html?layer_count=306

Part of the reason is that for non-root layers, we set SetNeedsCompositingUpdate on the layer in PaintLayerScrollableArea::UpdateCompositingLayersAfterScroll().


 
Blocking: 879662

Sign in to add a comment