Revert of Re-land: cc: Use worker context for one-copy tile initialization. (patchset...
commitfc6ad471b796214148d81208b38601de0c86bc9f
authorkbr <kbr@chromium.org>
Sun, 9 Aug 2015 22:29:08 +0000 (9 15:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Sun, 9 Aug 2015 22:29:39 +0000 (9 22:29 +0000)
tree9a8fd50c6d252c7b8ed9706c25e18351044eb697
parenta6b998600660f34bcce9fbc2c75bbc0a3f7f03cc
Revert of Re-land: cc: Use worker context for one-copy tile initialization. (patchset #22 id:420001 of https://codereview.chromium.org/1230203007/ )

Reason for revert:
I'm sorry, but this patch definitely causes failures of one of the context_lost tests on Windows on multiple bots as described in https://code.google.com/p/chromium/issues/detail?id=490295#c15 . I'm sorry the CQ isn't catching these, and I'm not sure why it isn't -- but it's important to fix these failures rather than leaving them on the tree.

Original issue's description:
> Re-land: cc: Use worker context for one-copy tile initialization.
>
> This moves management of staging resources to
> OneCopyTileTaskWorkerPool class. This makes it possible
> to use a worker context to issue and detect when copy
> operations complete.
>
> BUG=490295
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/a6b998600660f34bcce9fbc2c75bbc0a3f7f03cc
> Cr-Commit-Position: refs/heads/master@{#342567}

TBR=piman@chromium.org,primiano@chromium.org,vmiura@chromium.org,vmpstr@chromium.org,reveman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=490295

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

Cr-Commit-Position: refs/heads/master@{#342568}
55 files changed:
cc/output/context_provider.h
cc/output/output_surface.cc
cc/raster/gpu_tile_task_worker_pool.cc
cc/raster/one_copy_tile_task_worker_pool.cc
cc/raster/one_copy_tile_task_worker_pool.h
cc/raster/tile_task_worker_pool_perftest.cc
cc/raster/tile_task_worker_pool_unittest.cc
cc/resources/resource_format.cc
cc/resources/resource_format.h
cc/resources/resource_pool.cc
cc/resources/resource_pool.h
cc/resources/resource_pool_unittest.cc
cc/resources/resource_provider.cc
cc/resources/resource_provider.h
cc/resources/resource_provider_unittest.cc
cc/surfaces/display.cc
cc/surfaces/surface_display_output_surface.cc
cc/surfaces/surface_display_output_surface.h
cc/surfaces/surface_display_output_surface_unittest.cc
cc/test/fake_output_surface.h
cc/test/fake_resource_provider.h
cc/test/layer_tree_pixel_resource_test.cc
cc/test/layer_tree_pixel_resource_test.h
cc/test/layer_tree_pixel_test.cc
cc/test/layer_tree_pixel_test.h
cc/test/layer_tree_test.cc
cc/test/layer_tree_test.h
cc/test/pixel_test.cc
cc/test/test_in_process_context_provider.cc
cc/tiles/tile_manager.cc
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl.h
cc/trees/layer_tree_host_pixeltest_tiles.cc
cc/trees/layer_tree_settings.cc
cc/trees/layer_tree_settings.h
content/browser/compositor/browser_compositor_output_surface.cc
content/browser/compositor/browser_compositor_output_surface.h
content/browser/compositor/gpu_browser_compositor_output_surface.cc
content/browser/compositor/gpu_browser_compositor_output_surface.h
content/browser/compositor/gpu_process_transport_factory.cc
content/browser/compositor/gpu_process_transport_factory.h
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h
content/browser/compositor/offscreen_browser_compositor_output_surface.cc
content/browser/compositor/offscreen_browser_compositor_output_surface.h
content/browser/compositor/reflector_impl_unittest.cc
content/browser/gpu/compositor_util.cc
content/browser/renderer_host/compositor_impl_android.cc
content/common/gpu/client/command_buffer_metrics.cc
content/common/gpu/client/command_buffer_metrics.h
content/renderer/gpu/render_widget_compositor.cc
gpu/command_buffer/service/query_manager.cc
ui/compositor/test/in_process_context_factory.cc
ui/compositor/test/in_process_context_provider.cc
ui/compositor/test/in_process_context_provider.h