[cc] Remove latest_confirmed_sequence_number from BeginFrameAcks

Desktop / Chromium - Eric Seckler [chromium.org] - 13 July 2017 08:07 EDT

The field is no longer needed or used.

We intended to use these to detect incomplete redraws in headless mode, but ended up preventing such cases in the first place through a new scheduler mode (wait_for_all_pipeline_stages_before_draw).

Bug: 697086 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Change-Id: I88c03fd651d6d80153414b1ddd047f2b809fa380 TBR: junov@chromium.org Reviewed-on: https://chromium-review.googlesource.com/559530 Commit-Queue: Eric Seckler

2fdea40 [cc] Remove latest_confirmed_sequence_number from BeginFrameAcks.
cc/ipc/begin_frame_args.mojom | 1 -
cc/ipc/begin_frame_args_struct_traits.cc | 2 -
cc/ipc/begin_frame_args_struct_traits.h | 5 -
cc/ipc/cc_param_traits.cc | 5 -
cc/ipc/struct_traits_unittest.cc | 6 +-
cc/output/begin_frame_args.cc | 6 +-
cc/output/begin_frame_args.h | 30 --
cc/scheduler/scheduler.cc | 21 +-
cc/scheduler/scheduler_state_machine.cc | 111 +------
cc/scheduler/scheduler_state_machine.h | 33 --
cc/scheduler/scheduler_state_machine_unittest.cc | 343 ---------------------
cc/scheduler/scheduler_unittest.cc | 146 ++-------
cc/test/begin_frame_args_test.cc | 5 +-
cc/test/compositor_frame_helpers.cc | 2 +-
cc/trees/layer_tree_host_impl_unittest.cc | 2 +-
cc/trees/layer_tree_host_unittest.cc | 44 +--
cc/trees/single_thread_proxy.cc | 3 +-
components/exo/surface.cc | 4 +-
components/exo/surface_unittest.cc | 3 +-
.../service/display/display_scheduler_unittest.cc | 1 -
.../compositor_frame_sink_support_unittest.cc | 4 +-
.../direct_layer_tree_frame_sink_unittest.cc | 2 +-
...render_widget_host_view_child_frame_unittest.cc | 2 +-
.../render_widget_host_view_guest_unittest.cc | 2 +-
.../browser/renderer_host/delegated_frame_host.cc | 32 +-
.../browser/renderer_host/delegated_frame_host.h | 5 -
.../renderer_host/render_widget_host_unittest.cc | 4 +-
.../render_widget_host_view_android.cc | 20 +-
.../render_widget_host_view_android.h | 2 -
.../render_widget_host_view_aura_unittest.cc | 77 +----
services/ui/ws/frame_generator.cc | 3 +-
services/ui/ws/frame_generator_unittest.cc | 2 +-
services/ui/ws/window_tree_client_unittest.cc | 6 +-
.../OffscreenCanvasFrameDispatcherImpl.cpp | 4 +-
34 files changed, 64 insertions(+), 874 deletions(-)

Upstream: git.chromium.org


  • Share