New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 811973 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature

Blocking:
issue 732555



Sign in to add a comment

Android Snapshot Upload Logic Under Viz

Project Member Reported by ericrk@chromium.org, Feb 13 2018

Issue description

When a tab is backgrounded, Android saves a snapshot to memory or disk. In tab resume cases, the Browser process queries for whether it has live content (a valid compositor frame) for a given renderer, and only if this is missing does it upload the saved tab snapshot which can be used as a fallback frame.

As the DisplayCompositor now lives in the Viz process, it may be harder to query this information, and the Browser may end up uploading snapshots in more cases. We should assess whether we can avoid this or whether the cost is low enough that just always uploading is fine.
 

Comment 1 by fsamuel@google.com, Feb 13 2018

Cc: m...@chromium.org
+miu@
Cc: dtrainor@chromium.org
+dtrainor@

Comment 3 by samans@chromium.org, May 22 2018

Owner: samans@chromium.org
Status: Assigned (was: Available)
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8f31f0ee83accc280b26c3c1307a7c6280ec0937

commit 8f31f0ee83accc280b26c3c1307a7c6280ec0937
Author: Saman Sami <samans@chromium.org>
Date: Fri Jun 01 19:11:58 2018

Use HostFrameSinkManager for taking snapshots on Android

This will make snapshots work with viz. This CL shouldn't functionally
affect non-viz setup because HostFrameSinkManager forwards the copy
request to CompositorFrameSinkSupport.

Bug:  811973 
Change-Id: Ia131c1952530b408ae1b1cc5545ea59d5463f6f2
Reviewed-on: https://chromium-review.googlesource.com/1081894
Reviewed-by: Khushal <khushalsagar@chromium.org>
Commit-Queue: Saman Sami <samans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563749}
[modify] https://crrev.com/8f31f0ee83accc280b26c3c1307a7c6280ec0937/ui/android/delegated_frame_host_android.cc

Labels: -Pri-3 Android-OOPD-Finch Pri-2
Is there more work to do here?

Comment 6 by samans@chromium.org, Jun 12 2018

Status: Fixed (was: Assigned)
I haven't noticed any issues.

Sign in to add a comment