cc: Use worker context for one-copy tile initialization.
commitd5157ac5afec145b85746b42f2d86383483a8222
authorreveman <reveman@chromium.org>
Thu, 6 Aug 2015 23:58:22 +0000 (6 16:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Aug 2015 23:59:01 +0000 (6 23:59 +0000)
treed7b8edd68e4238c07076b5f19ac0d6e8a0ecebcd
parentae7f0073aef3299dca34cb59ab4c827d1145f0c2
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

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

Cr-Commit-Position: refs/heads/master@{#342235}
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