New issue
Advanced search Search tips

Issue 772084 link

Starred by 3 users

Issue metadata

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

Blocking:
issue 772092



Sign in to add a comment

Avoid calling DoUpdateLayers if nothing has repainted

Project Member Reported by enne@chromium.org, Oct 5 2017

Issue description

Currently, ProxyMain does the early out after LayerTreeHost::UpdateLayers.  Historically, that's been because PictureLayer used to do visual rect and painting itself, and so there was no way to know if a PictureLayer needed updates or not without asking it.

However, now that the visual rect computation moved to Blink with synchronous paint changes, Blink itself knows whether anything was painted and we should be able to avoid asking every layer to do a needless update in some cases.

There are some layer types (TextureLayer) that do always need an update, but we could maintain these in a separate list potentially.

This showed up as taking 1ms of time with 200 layers, so would be good savings for the worst case if we could just skip this work.
 

Comment 1 by enne@chromium.org, Oct 5 2017

Blocking: 772092
Project Member

Comment 2 by sheriffbot@chromium.org, Oct 8

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
I think this is still something we could do, although eventually I think slimming paint will take care of this naturally.

Sign in to add a comment