Revert of cc: Implement shared worker contexts. (patchset #9 id:160001 of https:...
commitd29c2783db449ea8c802423887fa4669abb453d5
authorkbr <kbr@chromium.org>
Thu, 17 Sep 2015 01:43:02 +0000 (16 18:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Sep 2015 01:43:38 +0000 (17 01:43 +0000)
tree576477de4947fd51aefea73ec34c3a97e2836f4b
parente3cc0a661b8abfdc74f569940949bc1f336ece40
Revert of cc: Implement shared worker contexts. (patchset #9 id:160001 of https://codereview.chromium.org/1336733002/ )

Reason for revert:
Broke GPU rasterization on Mac OS; please see https://code.google.com/p/chromium/issues/detail?id=523411#c26 .

I'm really sorry -- I don't know how this got past the CQ.

Original issue's description:
> cc: Implement shared worker contexts.
>
> This moves the responsibility to call BindToCurrentThread/SetupLock out
> of cc::OutputSurface and to the maintainer of the (possibly) shared
> context.
>
> OutputSurface now needs to be destroyed on the same thread they
> were created. OutputSurface::DetachFromClient() can be used to
> destroy any resources that need to be destroyed on the thread
> that the OutputSurface has been bound to.
>
> BUG=523411
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/a47ef41ea03d3a5b8965eb700b682ddf8a1f055a
> Cr-Commit-Position: refs/heads/master@{#349274}

TBR=danakj@chromium.org,piman@chromium.org,sievers@chromium.org,reveman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=523411

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

Cr-Commit-Position: refs/heads/master@{#349313}
52 files changed:
cc/layers/delegated_renderer_layer_impl_unittest.cc
cc/layers/heads_up_display_layer_impl_unittest.cc
cc/layers/layer_impl_unittest.cc
cc/layers/nine_patch_layer_impl_unittest.cc
cc/layers/picture_image_layer_impl_unittest.cc
cc/layers/picture_layer_impl_perftest.cc
cc/layers/picture_layer_impl_unittest.cc
cc/layers/texture_layer_unittest.cc
cc/layers/ui_resource_layer_impl_unittest.cc
cc/output/context_provider.h
cc/output/output_surface.cc
cc/output/output_surface.h
cc/raster/tile_task_worker_pool_unittest.cc
cc/test/fake_output_surface.h
cc/test/fake_proxy.h
cc/test/layer_test_common.cc
cc/test/layer_test_common.h
cc/test/layer_tree_test.cc
cc/test/test_context_provider.cc
cc/test/test_context_provider.h
cc/tiles/tile_manager_perftest.cc
cc/tiles/tile_manager_unittest.cc
cc/trees/layer_tree_host.cc
cc/trees/layer_tree_host.h
cc/trees/layer_tree_host_common_unittest.cc
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/layer_tree_impl_unittest.cc
cc/trees/occlusion_tracker_perftest.cc
cc/trees/proxy.h
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_factory_impl.cc
content/browser/android/in_process/synchronous_compositor_factory_impl.h
content/browser/android/in_process/synchronous_compositor_output_surface.cc
content/browser/android/in_process/synchronous_compositor_output_surface.h
content/browser/compositor/gpu_process_transport_factory.cc
content/child/child_thread_impl.cc
content/renderer/gpu/compositor_output_surface.cc
content/renderer/gpu/compositor_output_surface.h
content/renderer/gpu/mailbox_output_surface.cc
content/renderer/gpu/mailbox_output_surface.h
content/renderer/render_thread_impl.cc
content/renderer/render_thread_impl.h
content/renderer/render_widget.cc
ui/compositor/test/in_process_context_factory.cc
ui/compositor/test/in_process_context_factory.h
ui/compositor/test/in_process_context_provider.h