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

Issue 188863002: cc: Spiral iterator fix for negative center. (Closed)

Created:
6 years, 9 months ago by vmpstr
Modified:
6 years, 9 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Spiral iterator fix for negative center. When the center is off the tiling, then the unclamped calculations are incorrect. That is, instead of values being rounded down in integer divides, they are instead rounded toward zero. This patch reworks the way the around coordinates are calculated. Instead of relying on unclamped version of existing functions, we instead explicitly check whether the src coord is within the tiling total size. R=enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255670

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -47 lines) Patch
M cc/base/tiling_data.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M cc/base/tiling_data.cc View 1 2 3 4 2 chunks +39 lines, -42 lines 0 comments Download
M cc/base/tiling_data_unittest.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
vmpstr
Please take a look.
6 years, 9 months ago (2014-03-06 17:58:30 UTC) #1
enne (OOO)
A spiral iterator test for this is fine in addition, but can you add more ...
6 years, 9 months ago (2014-03-06 18:18:51 UTC) #2
vmpstr
On 2014/03/06 18:18:51, enne wrote: > A spiral iterator test for this is fine in ...
6 years, 9 months ago (2014-03-06 19:22:51 UTC) #3
enne (OOO)
I apologize for not taking a closer look before, but I feel like this unclamped ...
6 years, 9 months ago (2014-03-06 20:13:49 UTC) #4
vmpstr
On 2014/03/06 20:13:49, enne wrote: > I apologize for not taking a closer look before, ...
6 years, 9 months ago (2014-03-06 21:42:28 UTC) #5
enne (OOO)
lgtm, thanks. Sorry for the churn in my suggestions.
6 years, 9 months ago (2014-03-06 23:07:35 UTC) #6
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 9 months ago (2014-03-06 23:27:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/188863002/80001
6 years, 9 months ago (2014-03-06 23:34:34 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 06:19:31 UTC) #9
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests, telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=233656
6 years, 9 months ago (2014-03-07 06:19:31 UTC) #10
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 9 months ago (2014-03-07 17:25:06 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/188863002/80001
6 years, 9 months ago (2014-03-07 17:28:17 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 18:39:48 UTC) #13
Message was sent while issue was closed.
Change committed as 255670

Powered by Google App Engine
This is Rietveld 408576698