Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1700)

Unified Diff: cc/BUILD.gn

Issue 1910213005: cc: Refactor TileTaskWorkerPool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@task_states
Patch Set: feedback Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/BUILD.gn
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index 0d35c955c56dfe636114a691dd64a5836ac95d78..cf4cd6a2966175fd4cc0e757163ff6d12856ff18 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -351,16 +351,18 @@ component("cc") {
"quads/tile_draw_quad.h",
"quads/yuv_video_draw_quad.cc",
"quads/yuv_video_draw_quad.h",
- "raster/bitmap_tile_task_worker_pool.cc",
- "raster/bitmap_tile_task_worker_pool.h",
+ "raster/bitmap_raster_buffer_provider.cc",
+ "raster/bitmap_raster_buffer_provider.h",
+ "raster/gpu_raster_buffer_provider.cc",
+ "raster/gpu_raster_buffer_provider.h",
"raster/gpu_rasterizer.cc",
"raster/gpu_rasterizer.h",
- "raster/gpu_tile_task_worker_pool.cc",
- "raster/gpu_tile_task_worker_pool.h",
- "raster/one_copy_tile_task_worker_pool.cc",
- "raster/one_copy_tile_task_worker_pool.h",
+ "raster/one_copy_raster_buffer_provider.cc",
+ "raster/one_copy_raster_buffer_provider.h",
"raster/raster_buffer.cc",
"raster/raster_buffer.h",
+ "raster/raster_buffer_provider.cc",
+ "raster/raster_buffer_provider.h",
"raster/scoped_gpu_raster.cc",
"raster/scoped_gpu_raster.h",
"raster/single_thread_task_graph_runner.cc",
@@ -381,10 +383,8 @@ component("cc") {
"raster/texture_compressor_etc1.h",
"raster/tile_task.cc",
"raster/tile_task.h",
- "raster/tile_task_worker_pool.cc",
- "raster/tile_task_worker_pool.h",
- "raster/zero_copy_tile_task_worker_pool.cc",
- "raster/zero_copy_tile_task_worker_pool.h",
+ "raster/zero_copy_raster_buffer_provider.cc",
+ "raster/zero_copy_raster_buffer_provider.h",
"resources/memory_history.cc",
"resources/memory_history.h",
"resources/platform_color.h",
@@ -465,6 +465,8 @@ component("cc") {
"tiles/tile_manager.h",
"tiles/tile_priority.cc",
"tiles/tile_priority.h",
+ "tiles/tile_task_manager.cc",
+ "tiles/tile_task_manager.h",
"tiles/tiling_set_eviction_queue.cc",
"tiles/tiling_set_eviction_queue.h",
"tiles/tiling_set_raster_queue_all.cc",
@@ -618,6 +620,8 @@ source_set("test_support") {
"test/fake_picture_layer_tiling_client.h",
"test/fake_proxy.cc",
"test/fake_proxy.h",
+ "test/fake_raster_buffer_provider.cc",
+ "test/fake_raster_buffer_provider.h",
"test/fake_raster_source.cc",
"test/fake_raster_source.h",
"test/fake_recording_source.cc",
@@ -634,6 +638,8 @@ source_set("test_support") {
"test/fake_tile_manager.h",
"test/fake_tile_manager_client.cc",
"test/fake_tile_manager_client.h",
+ "test/fake_tile_task_manager.cc",
+ "test/fake_tile_task_manager.h",
"test/fake_ui_resource_layer_tree_host_impl.cc",
"test/fake_ui_resource_layer_tree_host_impl.h",
"test/fake_video_frame_provider.cc",
@@ -845,11 +851,11 @@ test("cc_unittests") {
"quads/draw_polygon_unittest.cc",
"quads/draw_quad_unittest.cc",
"quads/render_pass_unittest.cc",
+ "raster/raster_buffer_provider_unittest.cc",
"raster/scoped_gpu_raster_unittest.cc",
"raster/single_thread_task_graph_runner_unittest.cc",
"raster/synchronous_task_graph_runner_unittest.cc",
"raster/texture_compressor_etc1_unittest.cc",
- "raster/tile_task_worker_pool_unittest.cc",
"resources/platform_color_unittest.cc",
"resources/resource_pool_unittest.cc",
"resources/resource_provider_unittest.cc",
@@ -963,9 +969,9 @@ test("cc_perftests") {
"layers/layer_perftest.cc",
"layers/picture_layer_impl_perftest.cc",
"quads/draw_quad_perftest.cc",
+ "raster/raster_buffer_provider_perftest.cc",
"raster/task_graph_runner_perftest.cc",
"raster/texture_compressor_perftest.cc",
- "raster/tile_task_worker_pool_perftest.cc",
"surfaces/surface_aggregator_perftest.cc",
"test/cc_test_suite.cc",
"test/run_all_perftests.cc",
« no previous file with comments | « no previous file | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698