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

Issue 2710263002: Getting rid of immediate ack in DelegatedFrameHost (Closed)

Created:
3 years, 10 months ago by Saman Sami
Modified:
3 years, 10 months ago
Reviewers:
Fady Samuel, jam, jbauman
CC:
chromium-reviews, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Getting rid of immediate ack in DelegatedFrameHost When DelegatedFrameHost receives a frame from the renderer that does not have the right size, it sends back an ack immediately so that the renderer sends a new frame (hopefully with the right size) as soon as possible. The problem is that this feature relies on SubmitCompositorFrame taking an ack callback which will no longer be true once we switch to CompositorFrameSinkSupport. This CL removes the immediate ack feature altogether. I tested this change and I could not see a noticable difference in resize latency. BUG=692880 Review-Url: https://codereview.chromium.org/2710263002 Cr-Commit-Position: refs/heads/master@{#452648} Committed: https://chromium.googlesource.com/chromium/src/+/8e0074effadf2beceb5df755b7e61ef095cde7a1

Patch Set 1 #

Patch Set 2 : Remove desired size #

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

Messages

Total messages: 21 (11 generated)
Saman Sami
PTAL
3 years, 10 months ago (2017-02-23 18:59:50 UTC) #7
Fady Samuel
LGTM. Ultimately surface synchronization will replace the current ResizeLock logic but we want to clean ...
3 years, 10 months ago (2017-02-23 19:02:19 UTC) #9
Saman Sami
jbauman@: Please review DelagatedFrameHost jam@: Please review DelagatedFrameHost
3 years, 10 months ago (2017-02-23 19:03:03 UTC) #11
jam
lgtm can you guys add per-file owners for these files so you don't need stamps?
3 years, 10 months ago (2017-02-23 20:23:51 UTC) #12
jbauman
lgtm. I tested resizing webgl aquarium on windows 10 and couldn't see any difference either.
3 years, 10 months ago (2017-02-23 21:54:24 UTC) #13
Saman Sami
On 2017/02/23 21:54:24, jbauman wrote: > lgtm. I tested resizing webgl aquarium on windows 10 ...
3 years, 10 months ago (2017-02-23 21:58:22 UTC) #14
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/2710263002/20001
3 years, 10 months ago (2017-02-23 21:59:26 UTC) #16
Fady Samuel
On 2017/02/23 21:59:26, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 10 months ago (2017-02-23 22:01:24 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/8e0074effadf2beceb5df755b7e61ef095cde7a1
3 years, 10 months ago (2017-02-23 22:06:41 UTC) #20
lazyboy
3 years, 10 months ago (2017-02-24 01:41:56 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2713553013/ by lazyboy@chromium.org.

The reason for reverting is: This CL is likely causing
CaptureScreenshotTest.CaptureScreenshotArea test failures. See more details at
https://bugs.chromium.org/p/chromium/issues/detail?id=695718

BUG=695718.

Powered by Google App Engine
This is Rietveld 408576698