Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Issue 2248183003: Save latency info for skipped frames with the wrong size. (Closed)

Created:
4 years, 4 months ago by Eric Seckler
Modified:
4 years, 4 months ago
Reviewers:
piman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, danakj, dgozman, Sami, svartmetal
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Save latency info for skipped frames with the wrong size. We observed that if a screenshot is captured while simultaneously the frame is resized, it is possible that the screenshot is lost. This is because the latency info (which identifies a CompositorFrame as the screenshot's frame) is sent from the renderer within a wrongly sized CompositorFrame, which is then skipped by DelegatedFrameHost. For situations with an active resize lock, the latency info attached to dropped frames is saved by the DFH and re-attached to the first frame that is not dropped. However, this does not happen if the frame is dropped further down the line, because it is not of the desired size of the RWHV. This patch also saves the latency info for such wrongly sized frames in DFH, until a correctly sized frame is submitted. BUG=637066 Committed: https://crrev.com/2c33a82ea31e68a16e936668c4a0f4db7b2ef20b Cr-Commit-Position: refs/heads/master@{#414372}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M content/browser/renderer_host/delegated_frame_host.cc View 1 chunk +11 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Eric Seckler
piman, PTAL. +cc folks from SwapPromise patch, as it is related (https://codereview.chromium.org/2185823005/). We ran into ...
4 years, 4 months ago (2016-08-17 18:50:47 UTC) #4
Eric Seckler
On 2016/08/17 18:50:47, Eric Seckler wrote: > piman, PTAL. Friendly ping :) Thanks!
4 years, 4 months ago (2016-08-24 08:36:09 UTC) #10
piman
LGTM, apologies, this fell through the cracks. Feel free ping me if I don't respond ...
4 years, 4 months ago (2016-08-24 17:06:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2248183003/1
4 years, 4 months ago (2016-08-25 07:53:23 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-25 09:27:33 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 09:29:28 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2c33a82ea31e68a16e936668c4a0f4db7b2ef20b
Cr-Commit-Position: refs/heads/master@{#414372}

Powered by Google App Engine
This is Rietveld 408576698