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

Issue 406543003: cc: Change TileManager iterators to be queues. (Closed)

Created:
6 years, 5 months ago by vmpstr
Modified:
6 years, 5 months ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

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

Patch Set 1 #

Total comments: 42

Patch Set 2 : update #

Total comments: 22

Patch Set 3 : update #

Total comments: 10

Patch Set 4 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+821 lines, -699 lines) Patch
M cc/BUILD.gn View 4 chunks +14 lines, -10 lines 0 comments Download
M cc/cc.gyp View 4 chunks +14 lines, -10 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A cc/resources/eviction_tile_priority_queue.h View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
A cc/resources/eviction_tile_priority_queue.cc View 1 2 3 1 chunk +219 lines, -0 lines 0 comments Download
A cc/resources/raster_tile_priority_queue.h View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
A cc/resources/raster_tile_priority_queue.cc View 1 2 3 1 chunk +220 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 4 chunks +18 lines, -103 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 chunk +0 lines, -435 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 1 chunk +6 lines, -6 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 17 chunks +77 lines, -130 lines 0 comments Download
M cc/test/fake_tile_manager_client.h View 1 chunk +6 lines, -1 line 0 comments Download
M cc/test/fake_tile_manager_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 5 chunks +12 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 chunks +50 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
vmpstr
PTAL. Note that this is mostly moving code around. Let's delay the actual changes to ...
6 years, 5 months ago (2014-07-18 19:54:24 UTC) #1
reveman
https://codereview.chromium.org/406543003/diff/1/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/406543003/diff/1/cc/layers/picture_layer_impl.h#newcode32 cc/layers/picture_layer_impl.h:32: PictureLayerImpl* pending_layer; nit: don't think _layer suffix is necessary. ...
6 years, 5 months ago (2014-07-18 21:08:06 UTC) #2
vmpstr
PTAL. I think I've addressed everything. Let me know if I missed something. https://codereview.chromium.org/406543003/diff/1/cc/layers/picture_layer_impl.h File ...
6 years, 5 months ago (2014-07-18 23:18:14 UTC) #3
reveman
ok, this looks pretty good. I think this is my last set of comments. https://codereview.chromium.org/406543003/diff/20001/cc/layers/picture_layer_impl.h ...
6 years, 5 months ago (2014-07-19 00:45:50 UTC) #4
vmpstr
PTAL. Let me know if I missed something. https://codereview.chromium.org/406543003/diff/20001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/406543003/diff/20001/cc/layers/picture_layer_impl.h#newcode31 cc/layers/picture_layer_impl.h:31: Pair(); ...
6 years, 5 months ago (2014-07-20 01:15:05 UTC) #5
reveman
lgtm with nits https://codereview.chromium.org/406543003/diff/40001/cc/resources/eviction_tile_priority_queue.cc File cc/resources/eviction_tile_priority_queue.cc (right): https://codereview.chromium.org/406543003/diff/40001/cc/resources/eviction_tile_priority_queue.cc#newcode137 cc/resources/eviction_tile_priority_queue.cc:137: layer_pair.active, tree_priority); nit: consider moving this ...
6 years, 5 months ago (2014-07-21 01:39:07 UTC) #6
vmpstr
https://codereview.chromium.org/406543003/diff/40001/cc/resources/eviction_tile_priority_queue.cc File cc/resources/eviction_tile_priority_queue.cc (right): https://codereview.chromium.org/406543003/diff/40001/cc/resources/eviction_tile_priority_queue.cc#newcode137 cc/resources/eviction_tile_priority_queue.cc:137: layer_pair.active, tree_priority); On 2014/07/21 01:39:06, reveman wrote: > nit: ...
6 years, 5 months ago (2014-07-21 16:33:49 UTC) #7
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-21 16:33:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/406543003/60001
6 years, 5 months ago (2014-07-21 16:34:57 UTC) #9
commit-bot: I haz the power
Change committed as 284506
6 years, 5 months ago (2014-07-21 21:45:48 UTC) #10
Kunihiko Sakamoto
6 years, 5 months ago (2014-07-22 02:34:42 UTC) #11
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/406183002/ by ksakamoto@chromium.org.

The reason for reverting is:
TileManagerTilePriorityQueueTest.EvictionTilePriorityQueueWithOcclusion
consistently times out on Win7 bot
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%28...
.

Powered by Google App Engine
This is Rietveld 408576698