[go: nahoru, domu]

Revert of cc: Change TileManager iterators to be queues. (https://codereview.chromium.org/406543003/)

Reason for revert:
TileManagerTilePriorityQueueTest.EvictionTilePriorityQueueWithOcclusion consistently times out on Win7 bot
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/29899


Original issue's description:
> cc: Change TileManager iterators to be queues.
> 
> This patch is mostly just moving code around. It moves the iterators
> from tile manager to be in separate files, renames them to be queues.
> 
> It also adds a tile manager client interface for building the queues.
> 
> The rest is just fix ups for the tests.
> 
> R=reveman
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284506

TBR=reveman@chromium.org,vmpstr@chromium.org
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284604 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index 7186bda..d8f7e8f 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -309,16 +309,14 @@
     "resources/bitmap_skpicture_content_layer_updater.h",
     "resources/content_layer_updater.cc",
     "resources/content_layer_updater.h",
-    "resources/eviction_tile_priority_queue.cc",
-    "resources/eviction_tile_priority_queue.h",
     "resources/gpu_raster_worker_pool.cc",
     "resources/gpu_raster_worker_pool.h",
-    "resources/image_copy_raster_worker_pool.cc",
-    "resources/image_copy_raster_worker_pool.h",
     "resources/image_layer_updater.cc",
     "resources/image_layer_updater.h",
     "resources/image_raster_worker_pool.cc",
     "resources/image_raster_worker_pool.h",
+    "resources/image_copy_raster_worker_pool.cc",
+    "resources/image_copy_raster_worker_pool.h",
     "resources/layer_painter.h",
     "resources/layer_quad.cc",
     "resources/layer_quad.h",
@@ -336,10 +334,10 @@
     "resources/picture_layer_tiling.h",
     "resources/picture_layer_tiling_set.cc",
     "resources/picture_layer_tiling_set.h",
-    "resources/picture_pile_base.cc",
-    "resources/picture_pile_base.h",
     "resources/picture_pile.cc",
     "resources/picture_pile.h",
+    "resources/picture_pile_base.cc",
+    "resources/picture_pile_base.h",
     "resources/picture_pile_impl.cc",
     "resources/picture_pile_impl.h",
     "resources/pixel_buffer_raster_worker_pool.cc",
@@ -353,27 +351,25 @@
     "resources/prioritized_tile_set.h",
     "resources/priority_calculator.cc",
     "resources/priority_calculator.h",
-    "resources/rasterizer.cc",
-    "resources/rasterizer.h",
     "resources/raster_mode.cc",
     "resources/raster_mode.h",
-    "resources/raster_tile_priority_queue.cc",
-    "resources/raster_tile_priority_queue.h",
     "resources/raster_worker_pool.cc",
     "resources/raster_worker_pool.h",
+    "resources/rasterizer.cc",
+    "resources/rasterizer.h",
     "resources/release_callback.h",
     "resources/resource.cc",
-    "resources/resource_format.cc",
-    "resources/resource_format.h",
     "resources/resource.h",
+    "resources/resource_format.h",
+    "resources/resource_format.cc",
     "resources/resource_pool.cc",
     "resources/resource_pool.h",
     "resources/resource_provider.cc",
     "resources/resource_provider.h",
     "resources/resource_update.cc",
+    "resources/resource_update.h",
     "resources/resource_update_controller.cc",
     "resources/resource_update_controller.h",
-    "resources/resource_update.h",
     "resources/resource_update_queue.cc",
     "resources/resource_update_queue.h",
     "resources/returned_resource.h",
@@ -393,9 +389,9 @@
     "resources/task_graph_runner.cc",
     "resources/task_graph_runner.h",
     "resources/texture_mailbox.cc",
+    "resources/texture_mailbox.h",
     "resources/texture_mailbox_deleter.cc",
     "resources/texture_mailbox_deleter.h",
-    "resources/texture_mailbox.h",
     "resources/texture_uploader.cc",
     "resources/texture_uploader.h",
     "resources/tile.cc",