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

Issue 2897053002: [cc] Remove BeginFrameAck from BFS::DidFinishFrame and update tests. (Closed)

Created:
3 years, 7 months ago by Eric Seckler
Modified:
3 years, 7 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, enne (OOO), Fady Samuel, jam, jbauman+watch_chromium.org, kalyank, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, piman+watch_chromium.org, scheduler-bugs_chromium.org, shuchen+watch_chromium.org, Sami, sunnyps, James Su, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[cc] Remove BeginFrameAck from BFS::DidFinishFrame and update tests. Follow-up to https://codereview.chromium.org/2888043004/. BeginFrameAcks are now plumbed through the CompositorFrameSink via SubmitCompositorFrame and DidNotProduceFrame. BUG=697086 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2897053002 Cr-Commit-Position: refs/heads/master@{#474983} Committed: https://chromium.googlesource.com/chromium/src/+/ca6d7cb7945ff4b54d76c1df3806b979cc7584b5

Patch Set 1 #

Patch Set 2 : fix exo compile error #

Total comments: 20

Patch Set 3 : address nits #

Patch Set 4 : sync for PrimaryBFS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -524 lines) Patch
M cc/scheduler/begin_frame_source.h View 1 2 5 chunks +9 lines, -27 lines 0 comments Download
M cc/scheduler/begin_frame_source.cc View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M cc/scheduler/begin_frame_source_unittest.cc View 1 2 3 14 chunks +25 lines, -50 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 chunk +16 lines, -17 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 23 chunks +85 lines, -91 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 1 2 3 3 chunks +8 lines, -13 lines 0 comments Download
M cc/surfaces/direct_compositor_frame_sink_unittest.cc View 1 2 5 chunks +5 lines, -63 lines 0 comments Download
M cc/surfaces/display_scheduler.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M cc/surfaces/primary_begin_frame_source.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M cc/surfaces/primary_begin_frame_source.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M cc/surfaces/surface_synchronization_unittest.cc View 1 2 3 1 chunk +3 lines, -30 lines 0 comments Download
M cc/test/fake_external_begin_frame_source.h View 1 2 3 chunks +1 line, -7 lines 0 comments Download
M cc/test/fake_external_begin_frame_source.cc View 1 chunk +1 line, -4 lines 0 comments Download
M components/exo/surface.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/exo/surface_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 1 chunk +3 lines, -44 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 1 chunk +3 lines, -149 lines 0 comments Download
M content/renderer/gpu/compositor_external_begin_frame_source.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/gpu/compositor_external_begin_frame_source.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M ui/android/window_android.cc View 1 chunk +1 line, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (23 generated)
Eric Seckler
Brian, PTAL. Thanks! Owners: priman@ for content/ boliu@ for ui/android/ reveman@ for components/exo/
3 years, 7 months ago (2017-05-23 14:16:01 UTC) #4
reveman
lgtm
3 years, 7 months ago (2017-05-23 14:52:56 UTC) #9
boliu
On 2017/05/23 14:16:01, Eric Seckler wrote: > Brian, PTAL. Thanks! > > Owners: > priman@ ...
3 years, 7 months ago (2017-05-23 15:43:17 UTC) #12
piman
https://codereview.chromium.org/2897053002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc File content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc (right): https://codereview.chromium.org/2897053002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc#newcode249 content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc:249: // plumbing of BeginFrameAcks through SurfaceObservers. What is the ...
3 years, 7 months ago (2017-05-23 17:53:17 UTC) #15
Eric Seckler
https://codereview.chromium.org/2897053002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc File content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc (right): https://codereview.chromium.org/2897053002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc#newcode249 content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc:249: // plumbing of BeginFrameAcks through SurfaceObservers. On 2017/05/23 17:53:17, ...
3 years, 7 months ago (2017-05-23 18:01:12 UTC) #16
piman
On 2017/05/23 18:01:12, Eric Seckler wrote: > https://codereview.chromium.org/2897053002/diff/20001/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc > File content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc > (right): > > ...
3 years, 7 months ago (2017-05-23 18:05:39 UTC) #17
sunnyps
lgtm % nits https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/begin_frame_source.h#newcode252 cc/scheduler/begin_frame_source.h:252: void DidFinishFrame(BeginFrameObserver* obs) override; nit: Define ...
3 years, 7 months ago (2017-05-24 02:38:26 UTC) #19
Eric Seckler
Thanks :) Sunny, PTAL at comments. https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/begin_frame_source.h#newcode252 cc/scheduler/begin_frame_source.h:252: void DidFinishFrame(BeginFrameObserver* obs) ...
3 years, 7 months ago (2017-05-24 09:00:41 UTC) #20
sunnyps
lgtm https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/scheduler.cc#newcode465 cc/scheduler/scheduler.cc:465: begin_frame_source_->DidFinishFrame(this); On 2017/05/24 09:00:40, Eric Seckler wrote: > ...
3 years, 7 months ago (2017-05-25 20:20:27 UTC) #21
Eric Seckler
https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/2897053002/diff/20001/cc/scheduler/scheduler.cc#newcode465 cc/scheduler/scheduler.cc:465: begin_frame_source_->DidFinishFrame(this); On 2017/05/25 20:20:27, sunnyps wrote: > On 2017/05/24 ...
3 years, 7 months ago (2017-05-26 08:55:31 UTC) #22
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/2897053002/60001
3 years, 7 months ago (2017-05-26 11:23:25 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 11:34:04 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ca6d7cb7945ff4b54d76c1df3806...

Powered by Google App Engine
This is Rietveld 408576698