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

Issue 183123004: cc: Added a spiral difference iterator to tiling data. (Closed)

Created:
6 years, 9 months ago by vmpstr
Modified:
6 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, aelias_OOO_until_Jul13
Visibility:
Public.

Description

cc: Added a spiral difference iterator to tiling data. This patch adds another iterator to tiling data. This iterator acts similar to the difference iterator, but it also takes an extra center rect parameter. The indices are returned in a counter-clockwise spiral around the center rect. Note that the center rect itself is also considered to be ignored. Added tests to verify the behavior. Currently, the iterator is not used anywhere outside of the unit tests. R=enne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254622

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : update #

Patch Set 4 : update #

Total comments: 4

Patch Set 5 : rebase + comments #

Patch Set 6 : rebase + comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+830 lines, -0 lines) Patch
M cc/base/tiling_data.h View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
M cc/base/tiling_data.cc View 1 2 3 4 2 chunks +229 lines, -0 lines 0 comments Download
M cc/base/tiling_data_unittest.cc View 1 2 3 2 chunks +542 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vmpstr
Hi, Please take a look. This change is to allow me to refactor the tiling ...
6 years, 9 months ago (2014-02-28 18:37:48 UTC) #1
enne (OOO)
Shouldn't it be around the center rect and not the center point? If you have ...
6 years, 9 months ago (2014-02-28 19:19:55 UTC) #2
vmpstr
On 2014/02/28 19:19:55, enne wrote: > Shouldn't it be around the center rect and not ...
6 years, 9 months ago (2014-02-28 19:37:18 UTC) #3
enne (OOO)
On 2014/02/28 19:37:18, vmpstr wrote: > On 2014/02/28 19:19:55, enne wrote: > > Shouldn't it ...
6 years, 9 months ago (2014-02-28 19:45:38 UTC) #4
vmpstr
On 2014/02/28 19:45:38, enne wrote: > On 2014/02/28 19:37:18, vmpstr wrote: > > On 2014/02/28 ...
6 years, 9 months ago (2014-02-28 21:33:01 UTC) #5
enne (OOO)
Whoa, I really like the tests. This looks great. The logic seems a bit complicated, ...
6 years, 9 months ago (2014-02-28 22:22:11 UTC) #6
vmpstr
On 2014/02/28 22:22:11, enne wrote: > Whoa, I really like the tests. This looks great. ...
6 years, 9 months ago (2014-03-01 00:28:56 UTC) #7
enne (OOO)
lgtm +aelias FYI for spiral iterators https://codereview.chromium.org/183123004/diff/60001/cc/base/tiling_data_unittest.cc File cc/base/tiling_data_unittest.cc (right): https://codereview.chromium.org/183123004/diff/60001/cc/base/tiling_data_unittest.cc#newcode1678 cc/base/tiling_data_unittest.cc:1678: // Empty center. ...
6 years, 9 months ago (2014-03-01 00:43:45 UTC) #8
aelias_OOO_until_Jul13
lgtm https://codereview.chromium.org/183123004/diff/60001/cc/base/tiling_data.h File cc/base/tiling_data.h (right): https://codereview.chromium.org/183123004/diff/60001/cc/base/tiling_data.h#newcode139 cc/base/tiling_data.h:139: inline bool in_consider_rect() const { nit: I don't ...
6 years, 9 months ago (2014-03-01 01:15:17 UTC) #9
vmpstr
https://codereview.chromium.org/183123004/diff/60001/cc/base/tiling_data.h File cc/base/tiling_data.h (right): https://codereview.chromium.org/183123004/diff/60001/cc/base/tiling_data.h#newcode139 cc/base/tiling_data.h:139: inline bool in_consider_rect() const { On 2014/03/01 01:15:17, aelias ...
6 years, 9 months ago (2014-03-03 18:32:22 UTC) #10
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 9 months ago (2014-03-03 18:32:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/183123004/100001
6 years, 9 months ago (2014-03-03 18:38:23 UTC) #12
enne (OOO)
lgtmstill Having the center return everything sounds fine. However, when you add calling code for ...
6 years, 9 months ago (2014-03-03 18:38:33 UTC) #13
vmpstr
On 2014/03/03 18:38:33, enne wrote: > lgtmstill > > Having the center return everything sounds ...
6 years, 9 months ago (2014-03-03 18:40:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/183123004/100001
6 years, 9 months ago (2014-03-03 20:00:40 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-04 01:01:10 UTC) #16
Message was sent while issue was closed.
Change committed as 254622

Powered by Google App Engine
This is Rietveld 408576698