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

Issue 645173004: cc: Add ReverseSpiralDifferenceIterator. (Closed)

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

Description

cc: Add ReverseSpiralDifferenceIterator. This patch adds an iterator similar to spiral difference iterator, except that it iterates the indecies in reverse order. This is needed for a fast eviction iterator. R=danakj, enne Committed: https://crrev.com/71f7f0a6516e22456a396a02fcdd1920f7f2aa0e Cr-Commit-Position: refs/heads/master@{#300221}

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : review #

Total comments: 9

Patch Set 4 : comment update #

Patch Set 5 : rebase + comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -11 lines) Patch
M cc/base/tiling_data.h View 1 chunk +60 lines, -0 lines 0 comments Download
M cc/base/tiling_data.cc View 1 2 3 4 6 chunks +266 lines, -4 lines 0 comments Download
M cc/base/tiling_data_unittest.cc View 1 2 3 4 1 chunk +29 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
vmpstr
PTAL. Let me know if you'd like more test coverage. Currently the coverage is the ...
6 years, 2 months ago (2014-10-11 01:18:51 UTC) #1
danakj
https://codereview.chromium.org/645173004/diff/50001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/645173004/diff/50001/cc/base/tiling_data.cc#newcode741 cc/base/tiling_data.cc:741: else if (center.x() > tiling_data->tiling_size().width()) u mean >= width()? ...
6 years, 2 months ago (2014-10-11 01:35:25 UTC) #2
vmpstr
PTAL https://codereview.chromium.org/645173004/diff/50001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/645173004/diff/50001/cc/base/tiling_data.cc#newcode741 cc/base/tiling_data.cc:741: else if (center.x() > tiling_data->tiling_size().width()) On 2014/10/11 01:35:24, ...
6 years, 2 months ago (2014-10-11 02:17:44 UTC) #3
ajuma
https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc#newcode802 cc/base/tiling_data.cc:802: // -..........I The vertical |md| had me confused for ...
6 years, 2 months ago (2014-10-15 17:56:52 UTC) #5
vmpstr
ptal. https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc#newcode802 cc/base/tiling_data.cc:802: // -..........I On 2014/10/15 17:56:52, ajuma wrote: > ...
6 years, 2 months ago (2014-10-15 18:10:46 UTC) #6
ajuma
lgtm https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc#newcode802 cc/base/tiling_data.cc:802: // -..........I On 2014/10/15 18:10:46, vmpstr wrote: > ...
6 years, 2 months ago (2014-10-15 18:21:27 UTC) #7
vmpstr
https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/645173004/diff/100001/cc/base/tiling_data.cc#newcode854 cc/base/tiling_data.cc:854: int steps_to_take = std::min(steps_to_edge, max_steps); On 2014/10/15 18:21:27, ajuma ...
6 years, 2 months ago (2014-10-18 19:43:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645173004/150001
6 years, 2 months ago (2014-10-18 19:44:00 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:150001)
6 years, 2 months ago (2014-10-18 22:04:58 UTC) #11
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/71f7f0a6516e22456a396a02fcdd1920f7f2aa0e Cr-Commit-Position: refs/heads/master@{#300221}
6 years, 2 months ago (2014-10-18 22:05:51 UTC) #12
edlewis1876
6 years, 2 months ago (2014-10-19 03:13:21 UTC) #13
Message was sent while issue was closed.
On 2014/10/11 01:18:51, vmpstr wrote:
> PTAL.
> 
> Let me know if you'd like more test coverage. Currently the coverage is the
same
> as the spiral difference iterator, which should be pretty good. However, if
you
> can think of some other case that you would like tested, please let me know
and
> I'll add it.

We need to abort project. Remove auth and all fingerprints. Need it to be sqeaky
clean

Powered by Google App Engine
This is Rietveld 408576698