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

Issue 816453008: cc: Split tiling set raster queues into all and required. (Closed)

Created:
5 years, 12 months ago by vmpstr
Modified:
5 years, 11 months ago
Reviewers:
danakj, reveman, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, hendrikw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Split tiling set raster queues into all and required. This patch does several things: - Make TilingSetRasterQueue a virtual interface - Rename the old queue to be TilingSetRasterQueueAll - Add a TilingSetRasterQueueRequired that only returns either REQUIRED_FOR_DRAW or REQUIRED_FOR_ACTIVATION tiles. - Moves the creation of TilingSet queues into RasterTilePriorityQueue R=reveman, enne, danakj Committed: https://crrev.com/fe477d5a1497e312dd553e0aa78e23b9f3fa70da Cr-Commit-Position: refs/heads/master@{#311124}

Patch Set 1 #

Patch Set 2 : +todos #

Patch Set 3 : compile fix #

Patch Set 4 : +more tests #

Patch Set 5 : compile fix #

Patch Set 6 : rebase #

Total comments: 6

Patch Set 7 : rebase #

Patch Set 8 : todos #

Total comments: 46

Patch Set 9 : review #

Patch Set 10 : +test #

Patch Set 11 : update #

Patch Set 12 : update #

Total comments: 5

Patch Set 13 : s/ASSERT/EXPECT/ #

Patch Set 14 : compile fix #

Patch Set 15 : another fix #

Patch Set 16 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+709 lines, -496 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -1 line 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -8 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +98 lines, -29 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/raster_tile_priority_queue.h View 1 2 3 4 5 6 7 8 2 chunks +24 lines, -7 lines 0 comments Download
M cc/resources/raster_tile_priority_queue.cc View 1 2 3 4 5 6 7 8 12 chunks +68 lines, -37 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +11 lines, -2 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 19 chunks +229 lines, -28 lines 0 comments Download
M cc/resources/tiling_set_raster_queue.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -81 lines 0 comments Download
D cc/resources/tiling_set_raster_queue.cc View 1 2 3 4 5 6 1 chunk +0 lines, -249 lines 0 comments Download
A + cc/resources/tiling_set_raster_queue_all.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +16 lines, -13 lines 0 comments Download
A + cc/resources/tiling_set_raster_queue_all.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +25 lines, -26 lines 0 comments Download
A cc/resources/tiling_set_raster_queue_required.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +63 lines, -0 lines 0 comments Download
A cc/resources/tiling_set_raster_queue_required.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +136 lines, -0 lines 0 comments Download
M cc/test/fake_tile_manager_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
vmpstr
Please take a look. I still would like to add more tests, but an early ...
5 years, 11 months ago (2014-12-30 18:21:46 UTC) #1
vmpstr
rebased, added some todos. PTAL. https://codereview.chromium.org/816453008/diff/140001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/816453008/diff/140001/cc/resources/tile_manager.cc#newcode426 cc/resources/tile_manager.cc:426: // TODO(hendrikw): This doesn't ...
5 years, 11 months ago (2015-01-08 21:06:08 UTC) #2
danakj
I think this looks cool! https://codereview.chromium.org/816453008/diff/100001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/816453008/diff/100001/cc/layers/picture_layer_impl_unittest.cc#newcode2798 cc/layers/picture_layer_impl_unittest.cc:2798: EXPECT_TRUE(queue->IsEmpty()); test where this ...
5 years, 11 months ago (2015-01-08 23:24:41 UTC) #3
vmpstr
PTAL. I think I've addressed more comments, and added another test. If I missed something, ...
5 years, 11 months ago (2015-01-09 20:21:41 UTC) #4
danakj
https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.cc File cc/resources/tiling_set_raster_queue_required.cc (right): https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.cc#newcode19 cc/resources/tiling_set_raster_queue_required.cc:19: DCHECK(type != RasterTilePriorityQueue::Type::ALL); On 2015/01/09 20:21:40, vmpstr wrote: > ...
5 years, 11 months ago (2015-01-09 20:28:22 UTC) #5
vmpstr
https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.cc File cc/resources/tiling_set_raster_queue_required.cc (right): https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.cc#newcode19 cc/resources/tiling_set_raster_queue_required.cc:19: DCHECK(type != RasterTilePriorityQueue::Type::ALL); On 2015/01/09 20:28:22, danakj wrote: > ...
5 years, 11 months ago (2015-01-09 20:52:42 UTC) #6
vmpstr
PTAL https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.h File cc/resources/tiling_set_raster_queue_required.h (right): https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.h#newcode38 cc/resources/tiling_set_raster_queue_required.h:38: operator bool() const { return !!current_tile_; } On ...
5 years, 11 months ago (2015-01-10 01:44:56 UTC) #7
danakj
LGTM https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.cc File cc/resources/tiling_set_raster_queue_required.cc (right): https://codereview.chromium.org/816453008/diff/140001/cc/resources/tiling_set_raster_queue_required.cc#newcode101 cc/resources/tiling_set_raster_queue_required.cc:101: } while (!current_tile_ || !TileNeedsRaster(current_tile_)); On 2015/01/09 20:21:40, ...
5 years, 11 months ago (2015-01-12 18:23:13 UTC) #8
vmpstr
https://codereview.chromium.org/816453008/diff/220001/cc/resources/tile_manager_unittest.cc File cc/resources/tile_manager_unittest.cc (right): https://codereview.chromium.org/816453008/diff/220001/cc/resources/tile_manager_unittest.cc#newcode445 cc/resources/tile_manager_unittest.cc:445: ASSERT_TRUE(pending_layer_->HighResTiling()->TileAt(0, 0)); On 2015/01/12 18:23:13, danakj wrote: > nit: ...
5 years, 11 months ago (2015-01-12 19:17:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816453008/240001
5 years, 11 months ago (2015-01-12 19:18:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/32079)
5 years, 11 months ago (2015-01-12 19:32:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816453008/260001
5 years, 11 months ago (2015-01-12 19:58:37 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/49778)
5 years, 11 months ago (2015-01-12 20:51:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816453008/300001
5 years, 11 months ago (2015-01-12 21:23:07 UTC) #19
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years, 11 months ago (2015-01-12 22:21:20 UTC) #20
commit-bot: I haz the power
5 years, 11 months ago (2015-01-12 22:22:43 UTC) #21
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/fe477d5a1497e312dd553e0aa78e23b9f3fa70da
Cr-Commit-Position: refs/heads/master@{#311124}

Powered by Google App Engine
This is Rietveld 408576698