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

Issue 924613002: cc: Switch eviction iterators to consider combined priority. (Closed)

Created:
5 years, 10 months ago by vmpstr
Modified:
5 years, 10 months ago
Reviewers:
danakj, vmiura
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: Switch eviction iterators to consider combined priority. When processing eviction, we should be considering combined priority as the determining factor in which tile goes next. The reason for this is that even in situations where a tree priority would imply that a particular tile is of low priority, we need to be mindful of where it appears on the other tree as well. This is captured in the fact that tile manager is using combined priority to schedule tiles, but the eviction iterator itself does not reflect this. BUG=457977 R=vmiura, danakj Committed: https://crrev.com/198f1cd771751f113641219e05d6ecf9f22b2bc2 Cr-Commit-Position: refs/heads/master@{#316124}

Patch Set 1 #

Total comments: 4

Patch Set 2 : update #

Patch Set 3 : update #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -57 lines) Patch
M cc/layers/picture_layer_impl_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/eviction_tile_priority_queue.h View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/resources/eviction_tile_priority_queue.cc View 8 chunks +16 lines, -23 lines 0 comments Download
M cc/resources/tile.h View 1 1 chunk +2 lines, -12 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 9 chunks +33 lines, -17 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
vmpstr
Please take a look.
5 years, 10 months ago (2015-02-12 19:51:57 UTC) #1
danakj
https://codereview.chromium.org/924613002/diff/1/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/924613002/diff/1/cc/resources/tile.h#newcode74 cc/resources/tile.h:74: bool is_occluded_for_tree_priority(TreePriority tree_priority) const { no longer used? how ...
5 years, 10 months ago (2015-02-12 21:32:57 UTC) #2
vmiura
This seems to have addressed the original bug, so looks good overall. https://codereview.chromium.org/924613002/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc ...
5 years, 10 months ago (2015-02-12 22:18:41 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/924613002/diff/1/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/924613002/diff/1/cc/resources/tile.h#newcode74 cc/resources/tile.h:74: bool is_occluded_for_tree_priority(TreePriority tree_priority) const { On 2015/02/12 21:32:56, ...
5 years, 10 months ago (2015-02-12 23:38:19 UTC) #4
danakj
https://codereview.chromium.org/924613002/diff/40001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/924613002/diff/40001/cc/resources/tile_manager.cc#newcode542 cc/resources/tile_manager.cc:542: (eviction_priority.resolution != NON_IDEAL_RESOLUTION) && I think you should do ...
5 years, 10 months ago (2015-02-12 23:48:47 UTC) #5
danakj
LGTM otherwise
5 years, 10 months ago (2015-02-12 23:49:02 UTC) #6
vmpstr
https://codereview.chromium.org/924613002/diff/40001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/924613002/diff/40001/cc/resources/tile_manager.cc#newcode542 cc/resources/tile_manager.cc:542: (eviction_priority.resolution != NON_IDEAL_RESOLUTION) && On 2015/02/12 23:48:46, danakj wrote: ...
5 years, 10 months ago (2015-02-12 23:52:34 UTC) #8
vmiura
LGTM too.
5 years, 10 months ago (2015-02-12 23:54:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924613002/60001
5 years, 10 months ago (2015-02-12 23:56:40 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-13 01:52:16 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 01:52:58 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/198f1cd771751f113641219e05d6ecf9f22b2bc2
Cr-Commit-Position: refs/heads/master@{#316124}

Powered by Google App Engine
This is Rietveld 408576698