Revert 287747 "Make SingleThreadProxy a SchedulerClient"
commit8003aafdf6c47e69002c6f987018d16aa79151d2
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 13:05:22 +0000 (6 13:05 +0000)
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 13:05:22 +0000 (6 13:05 +0000)
tree12c119fce434cf39c517915fdb656b4c7b6f2b1a
parentb3a4d2b12b448f15fa2f0f412a6484dacb466812
Revert 287747 "Make SingleThreadProxy a SchedulerClient"
This is a speculative revert to see if issues on Mac bots get resolved.

BrowserTest.WindowOpenClose is e.g. failing on this assert:
ASSERTION FAILED: !active || m_layerTreeView

> Make SingleThreadProxy a SchedulerClient
>
> This makes ui::Compositor no longer in charge of
> scheduling commits and draws, deferring it to cc::Scheduler.
>
> Other compositors that use SingleThreadProxy are left calling composite
> synchronously and now pass a flag to indicate that this is their
> intention.  This patch doesn't remove synchronous composite, but now
> makes it mutually exclusive with scheduling.
>
> BUG=329552, 287250
>
> Review URL: https://codereview.chromium.org/134623005

TBR=enne@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287766 0039d316-1c4b-4281-b951-d872f2087c98
39 files changed:
android_webview/browser/hardware_renderer.cc
android_webview/browser/hardware_renderer.h
cc/scheduler/scheduler.cc
cc/scheduler/scheduler.h
cc/scheduler/scheduler_state_machine.cc
cc/test/fake_layer_tree_host_client.h
cc/test/layer_tree_test.cc
cc/test/layer_tree_test.h
cc/trees/layer_tree_host.cc
cc/trees/layer_tree_host_single_thread_client.h
cc/trees/layer_tree_host_unittest.cc
cc/trees/layer_tree_host_unittest_animation.cc
cc/trees/layer_tree_host_unittest_context.cc
cc/trees/layer_tree_host_unittest_no_message_loop.cc
cc/trees/layer_tree_settings.cc
cc/trees/layer_tree_settings.h
cc/trees/single_thread_proxy.cc
cc/trees/single_thread_proxy.h
cc/trees/thread_proxy.cc
content/browser/renderer_host/compositor_impl_android.cc
content/public/common/content_switches.cc
content/public/common/content_switches.h
content/renderer/gpu/render_widget_compositor.cc
content/renderer/gpu/render_widget_compositor.h
content/renderer/render_widget.cc
content/renderer/render_widget.h
content/shell/renderer/test_runner/web_test_proxy.cc
content/test/web_layer_tree_view_impl_for_testing.h
ui/compositor/compositor.cc
ui/compositor/compositor.h
ui/compositor/layer_unittest.cc
ui/compositor/test/draw_waiter_for_test.cc
ui/compositor/test/draw_waiter_for_test.h
ui/compositor/test/test_compositor_host_mac.mm
ui/compositor/test/test_compositor_host_ozone.cc
ui/compositor/test/test_compositor_host_win.cc
ui/compositor/test/test_compositor_host_x11.cc
ui/snapshot/snapshot_aura_unittest.cc
ui/views/view_unittest.cc