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

Issue 2350563002: cc: Implement IndexRect for encapsulating tile indices. (Closed)

Created:
4 years, 3 months ago by prashant.n
Modified:
4 years, 3 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Implement IndexRect for encapsulating tile indices. The tiling data has many occurrences of left, right, top, bottom indices. Encapsulating them in an object will help reduce the number of variables passed in function or used as members in class. BUG=624792 TESTS=IndexRectTest.* CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/20ec56f7a363fe573cfe99b2d50911a55b379f08 Cr-Commit-Position: refs/heads/master@{#420256}

Patch Set 1 #

Patch Set 2 : build break #

Total comments: 7

Patch Set 3 : review comments + build break #

Patch Set 4 : updated class comment #

Patch Set 5 : nits in comment #

Total comments: 4

Patch Set 6 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -159 lines) Patch
M cc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/base/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A cc/base/index_rect.h View 1 2 3 4 1 chunk +123 lines, -0 lines 0 comments Download
A cc/base/index_rect.cc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A cc/base/index_rect_unittest.cc View 1 2 3 4 5 1 chunk +99 lines, -0 lines 0 comments Download
M cc/base/tiling_data.h View 6 chunks +5 lines, -41 lines 0 comments Download
M cc/base/tiling_data.cc View 1 2 21 chunks +146 lines, -118 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 29 (18 generated)
prashant.n
ptal.
4 years, 3 months ago (2016-09-17 12:09:52 UTC) #3
vmpstr
https://codereview.chromium.org/2350563002/diff/20001/cc/base/index_rect.h File cc/base/index_rect.h (right): https://codereview.chromium.org/2350563002/diff/20001/cc/base/index_rect.h#newcode1 cc/base/index_rect.h:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 3 months ago (2016-09-19 18:01:12 UTC) #13
prashant.n
I'll add comments as suggested. https://codereview.chromium.org/2350563002/diff/20001/cc/base/index_rect.h File cc/base/index_rect.h (right): https://codereview.chromium.org/2350563002/diff/20001/cc/base/index_rect.h#newcode1 cc/base/index_rect.h:1: // Copyright 2016 The ...
4 years, 3 months ago (2016-09-20 02:04:58 UTC) #14
vmpstr
On 2016/09/20 02:04:58, prashant.n wrote: > I'll add comments as suggested. > > https://codereview.chromium.org/2350563002/diff/20001/cc/base/index_rect.h > ...
4 years, 3 months ago (2016-09-20 21:04:42 UTC) #19
enne (OOO)
On 2016/09/20 at 21:04:42, vmpstr wrote: > Yeah, I understand that semantic meaning is different, ...
4 years, 3 months ago (2016-09-20 21:26:52 UTC) #20
prashant.n
On 2016/09/20 21:26:52, enne wrote: > I'd prefer not to, because they have different semantics. ...
4 years, 3 months ago (2016-09-21 01:27:12 UTC) #21
vmpstr
lgtm https://codereview.chromium.org/2350563002/diff/80001/cc/base/index_rect_unittest.cc File cc/base/index_rect_unittest.cc (right): https://codereview.chromium.org/2350563002/diff/80001/cc/base/index_rect_unittest.cc#newcode12 cc/base/index_rect_unittest.cc:12: static const struct NumIndicesCase { You don't really ...
4 years, 3 months ago (2016-09-21 19:07:31 UTC) #22
prashant.n
https://codereview.chromium.org/2350563002/diff/80001/cc/base/index_rect_unittest.cc File cc/base/index_rect_unittest.cc (right): https://codereview.chromium.org/2350563002/diff/80001/cc/base/index_rect_unittest.cc#newcode12 cc/base/index_rect_unittest.cc:12: static const struct NumIndicesCase { Hmm. Actually we don't ...
4 years, 3 months ago (2016-09-22 01:43:03 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2350563002/100001
4 years, 3 months ago (2016-09-22 01:54:10 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-22 03:48:10 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 03:51:49 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/20ec56f7a363fe573cfe99b2d50911a55b379f08
Cr-Commit-Position: refs/heads/master@{#420256}

Powered by Google App Engine
This is Rietveld 408576698