New issue
Advanced search Search tips

Issue 713810 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

activity surface is never removed from layer tree

Project Member Reported by liber...@chromium.org, Apr 20 2017

Issue description

@ToT m60 (and for a long time), 'dumpsys SurfaceFlinger' shows the ChromeTabbedActivity surface and the CompositorView with full-screen visible rects.  this may waste power during SF composition.

SurfaceFlinger is probably reading from the entire app surface every frame, even if it's mostly blank.  normally, what happens is that android shrinks the visible rect to the size of the views that are outside of the transparent region, or z-ordered above the SurfaceView in the the view heirarchy.  then, SF can ignore large parts of them during composition.  if the entire app surface is in the transparent region, then it's removed entirely from SF composition.

hierarchyviewer shows that there are some views hanging around in the tabbed activity that are probably preventing this behavior.

more docs here: https://docs.google.com/a/google.com/document/d/1rH9qQh3o2RIjbNfYMQ-1_-nXyQHg0gWwGHZWOChP9kw/edit?usp=sharing

 
Project Member

Comment 1 by sheriffbot@chromium.org, Apr 23 2018

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

Comment 2 by donnd@chromium.org, Apr 24 2018

Cc: dtrainor@chromium.org
Labels: android-fe-triaged
dtrainor or boliu, can one of you summarize this and assign appropriately?  Is this a regression?

Sign in to add a comment