cc: Make scheduling be driven by vsync for android webview.
commit5333e1468ef3af0099769d4ec6a4c74e9e603766
authorsunnyps <sunnyps@chromium.org>
Thu, 2 Apr 2015 02:31:52 +0000 (1 19:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Apr 2015 02:32:30 +0000 (2 02:32 +0000)
treecc0a818ac1139c606f134ed85f80501e056cb7be
parent4242790a39d4b37ea27995e43189983ad469542b
cc: Make scheduling be driven by vsync for android webview.

This CL makes android webview use the similar mechanisms for
scheduling as other platforms instead of using special
polling code in the scheduler.

Design Doc: https://docs.google.com/a/chromium.org/document/d/1w5UiuA2uZcAiU9-1Y23bxXaStUThkAK8wHI4ULqho2Y/edit#

BUG=439275

Committed: https://crrev.com/bf27da634790bb6eecf4b89f278cfd55c5e5d1f3
Cr-Commit-Position: refs/heads/master@{#323361}

Review URL: https://codereview.chromium.org/817603002

Cr-Commit-Position: refs/heads/master@{#323410}
38 files changed:
android_webview/browser/browser_view_renderer.cc
android_webview/browser/browser_view_renderer.h
android_webview/browser/browser_view_renderer_client.h
android_webview/browser/browser_view_renderer_unittest.cc
cc/output/begin_frame_args.cc
cc/output/begin_frame_args.h
cc/output/output_surface.h
cc/output/output_surface_client.h
cc/scheduler/scheduler.cc
cc/scheduler/scheduler.h
cc/scheduler/scheduler_state_machine.cc
cc/scheduler/scheduler_state_machine.h
cc/scheduler/scheduler_unittest.cc
cc/surfaces/display.cc
cc/surfaces/display.h
cc/test/fake_layer_tree_host_impl_client.h
cc/test/fake_output_surface.h
cc/test/fake_output_surface_client.h
cc/test/layer_tree_test.cc
cc/test/layer_tree_test.h
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl.h
cc/trees/layer_tree_host_impl_unittest.cc
cc/trees/layer_tree_host_unittest.cc
cc/trees/single_thread_proxy.cc
cc/trees/single_thread_proxy.h
cc/trees/thread_proxy.cc
cc/trees/thread_proxy.h
content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc
content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.h
content/browser/android/in_process/synchronous_compositor_impl.cc
content/browser/android/in_process/synchronous_compositor_impl.h
content/browser/android/in_process/synchronous_compositor_output_surface.cc
content/browser/android/in_process/synchronous_compositor_output_surface.h
content/browser/renderer_host/render_widget_host_view_android.cc
content/public/browser/android/synchronous_compositor.h
content/public/browser/android/synchronous_compositor_client.h
content/public/test/test_synchronous_compositor_android.h