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

Issue 1130123003: cc: Separate the priority from the tile and put in new PrioritizedTile (Closed)

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

Description

cc: Separate the priority from the tile and put in new PrioritizedTile Move priority and is_occluded from Tile to new PrioritizedTile class. Logged https://code.google.com/p/chromium/issues/detail?id=485705 for the traceviewer change BUG=483293 Committed: https://crrev.com/8cc26dde493418fdc6b532ad1641f55bfb65815e Cr-Commit-Position: refs/heads/master@{#329318}

Patch Set 1 #

Patch Set 2 : include new files too #

Patch Set 3 : Tile too friendly, lets fix that #

Total comments: 18

Patch Set 4 : make reviewer happier #

Total comments: 8

Patch Set 5 : more review comments addressed #

Total comments: 1

Patch Set 6 : move comment etc. #

Patch Set 7 : merge #

Patch Set 8 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+617 lines, -576 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/debug/frame_viewer_instrumentation.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 42 chunks +106 lines, -92 lines 0 comments Download
M cc/resources/eviction_tile_priority_queue.h View 2 chunks +3 lines, -1 line 0 comments Download
M cc/resources/eviction_tile_priority_queue.cc View 5 chunks +22 lines, -16 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 6 7 4 chunks +11 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 7 2 chunks +21 lines, -3 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 5 6 16 chunks +75 lines, -72 lines 0 comments Download
A cc/resources/prioritized_tile.h View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A cc/resources/prioritized_tile.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M cc/resources/raster_tile_priority_queue.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/raster_tile_priority_queue_all.h View 2 chunks +2 lines, -1 line 0 comments Download
M cc/resources/raster_tile_priority_queue_all.cc View 1 2 3 4 5 6 4 chunks +14 lines, -11 lines 0 comments Download
M cc/resources/raster_tile_priority_queue_required.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/raster_tile_priority_queue_required.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/tile.h View 1 2 3 4 5 6 3 chunks +1 line, -11 lines 0 comments Download
M cc/resources/tile.cc View 1 2 3 4 5 6 2 chunks +1 line, -11 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 2 chunks +8 lines, -6 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 18 chunks +31 lines, -35 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 41 chunks +154 lines, -153 lines 0 comments Download
M cc/resources/tiling_set_eviction_queue.h View 1 2 3 4 5 7 chunks +8 lines, -8 lines 0 comments Download
M cc/resources/tiling_set_eviction_queue.cc View 1 2 3 12 chunks +29 lines, -38 lines 0 comments Download
M cc/resources/tiling_set_raster_queue_all.h View 1 2 3 4 5 6 chunks +8 lines, -9 lines 0 comments Download
M cc/resources/tiling_set_raster_queue_all.cc View 1 2 3 11 chunks +25 lines, -37 lines 0 comments Download
M cc/resources/tiling_set_raster_queue_required.h View 2 chunks +5 lines, -7 lines 0 comments Download
M cc/resources/tiling_set_raster_queue_required.cc View 1 2 3 4 3 chunks +18 lines, -22 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 1 chunk +0 lines, -28 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
hendrikw
PTAL, thanks!
5 years, 7 months ago (2015-05-07 20:24:10 UTC) #2
vmpstr
https://codereview.chromium.org/1130123003/diff/40001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1130123003/diff/40001/cc/layers/picture_layer_impl_unittest.cc#newcode1760 cc/layers/picture_layer_impl_unittest.cc:1760: PrioritizedTile prioritized_tile = queue->Top(); minor (because this is test) ...
5 years, 7 months ago (2015-05-08 18:11:06 UTC) #3
hendrikw
PTAL https://codereview.chromium.org/1130123003/diff/40001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1130123003/diff/40001/cc/layers/picture_layer_impl_unittest.cc#newcode1760 cc/layers/picture_layer_impl_unittest.cc:1760: PrioritizedTile prioritized_tile = queue->Top(); On 2015/05/08 18:11:06, vmpstr ...
5 years, 7 months ago (2015-05-08 19:21:03 UTC) #4
vmpstr
https://codereview.chromium.org/1130123003/diff/60001/cc/debug/frame_viewer_instrumentation.h File cc/debug/frame_viewer_instrumentation.h (right): https://codereview.chromium.org/1130123003/diff/60001/cc/debug/frame_viewer_instrumentation.h#newcode10 cc/debug/frame_viewer_instrumentation.h:10: #include "cc/resources/tile_priority.h" Is this for TileResolution? https://codereview.chromium.org/1130123003/diff/60001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc ...
5 years, 7 months ago (2015-05-11 16:44:44 UTC) #5
hendrikw
https://codereview.chromium.org/1130123003/diff/60001/cc/debug/frame_viewer_instrumentation.h File cc/debug/frame_viewer_instrumentation.h (right): https://codereview.chromium.org/1130123003/diff/60001/cc/debug/frame_viewer_instrumentation.h#newcode10 cc/debug/frame_viewer_instrumentation.h:10: #include "cc/resources/tile_priority.h" On 2015/05/11 16:44:44, vmpstr wrote: > Is ...
5 years, 7 months ago (2015-05-11 17:38:30 UTC) #6
vmpstr
lgtm (% some comments that we discussed offline) https://codereview.chromium.org/1130123003/diff/80001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/1130123003/diff/80001/cc/resources/picture_layer_tiling.cc#newcode832 cc/resources/picture_layer_tiling.cc:832: result.insert(std::make_pair(prioritized_tile.tile(), ...
5 years, 7 months ago (2015-05-11 23:44:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130123003/100001
5 years, 7 months ago (2015-05-12 00:20:18 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/70334) linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 7 months ago (2015-05-12 00:28:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130123003/140001
5 years, 7 months ago (2015-05-12 01:01:31 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-05-12 02:12:45 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 02:14:07 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8cc26dde493418fdc6b532ad1641f55bfb65815e
Cr-Commit-Position: refs/heads/master@{#329318}

Powered by Google App Engine
This is Rietveld 408576698