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

Issue 647683002: cc: Ensure to skip the first tile that would be returned by twin. (Closed)

Created:
6 years, 2 months ago by vmpstr
Modified:
6 years, 2 months ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Ensure to skip the first tile that would be returned by twin. Since we're using a spiral iterator, we run into a situations where a shared tile is visited by an iterator, but it is meant to be returned by the twin (since it has higher priority). We already skip these types of tiles in the Pop function. However, it could be the case that the very first tile is of this kind. The fix is to ensure we skip these types of tiles in the constructor as well. BUG=422178 R=reveman Committed: https://crrev.com/bee8d3d4e4b4c2f22b15f3a598a38a6b2c7c5fe2 Cr-Commit-Position: refs/heads/master@{#299135}

Patch Set 1 #

Total comments: 5

Patch Set 2 : update #

Patch Set 3 : update #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -21 lines) Patch
M cc/resources/raster_tile_priority_queue.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/raster_tile_priority_queue.cc View 1 2 3 chunks +29 lines, -21 lines 2 comments Download

Messages

Total messages: 10 (1 generated)
vmpstr
PTAL
6 years, 2 months ago (2014-10-10 08:01:59 UTC) #1
reveman
https://codereview.chromium.org/647683002/diff/1/cc/resources/raster_tile_priority_queue.cc File cc/resources/raster_tile_priority_queue.cc (right): https://codereview.chromium.org/647683002/diff/1/cc/resources/raster_tile_priority_queue.cc#newcode201 cc/resources/raster_tile_priority_queue.cc:201: PictureLayerImpl::LayerRasterTileIterator* next_iterator = NULL; I find the use of ...
6 years, 2 months ago (2014-10-10 14:27:23 UTC) #2
reveman
https://codereview.chromium.org/647683002/diff/1/cc/resources/raster_tile_priority_queue.cc File cc/resources/raster_tile_priority_queue.cc (right): https://codereview.chromium.org/647683002/diff/1/cc/resources/raster_tile_priority_queue.cc#newcode201 cc/resources/raster_tile_priority_queue.cc:201: PictureLayerImpl::LayerRasterTileIterator* next_iterator = NULL; s/NULL/nullptr/
6 years, 2 months ago (2014-10-10 14:40:47 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/647683002/diff/1/cc/resources/raster_tile_priority_queue.cc File cc/resources/raster_tile_priority_queue.cc (right): https://codereview.chromium.org/647683002/diff/1/cc/resources/raster_tile_priority_queue.cc#newcode201 cc/resources/raster_tile_priority_queue.cc:201: PictureLayerImpl::LayerRasterTileIterator* next_iterator = NULL; On 2014/10/10 14:27:22, reveman ...
6 years, 2 months ago (2014-10-10 15:24:05 UTC) #4
reveman
lgtm https://codereview.chromium.org/647683002/diff/110001/cc/resources/raster_tile_priority_queue.cc File cc/resources/raster_tile_priority_queue.cc (right): https://codereview.chromium.org/647683002/diff/110001/cc/resources/raster_tile_priority_queue.cc#newcode217 cc/resources/raster_tile_priority_queue.cc:217: ++(*next_iterator); ah, we're advancing the iterator we decided ...
6 years, 2 months ago (2014-10-10 15:30:40 UTC) #5
vmpstr
https://codereview.chromium.org/647683002/diff/110001/cc/resources/raster_tile_priority_queue.cc File cc/resources/raster_tile_priority_queue.cc (right): https://codereview.chromium.org/647683002/diff/110001/cc/resources/raster_tile_priority_queue.cc#newcode217 cc/resources/raster_tile_priority_queue.cc:217: ++(*next_iterator); On 2014/10/10 15:30:40, reveman wrote: > ah, we're ...
6 years, 2 months ago (2014-10-10 15:36:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/647683002/110001
6 years, 2 months ago (2014-10-10 15:37:33 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:110001)
6 years, 2 months ago (2014-10-10 17:47:19 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 17:48:09 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bee8d3d4e4b4c2f22b15f3a598a38a6b2c7c5fe2
Cr-Commit-Position: refs/heads/master@{#299135}

Powered by Google App Engine
This is Rietveld 408576698