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

Issue 909353002: Move PixelRefMap and its Iterator out from Picture class (Closed)

Created:
5 years, 10 months ago by weiliangc
Modified:
5 years, 9 months ago
Reviewers:
ajuma, vmpstr
CC:
cc-bugs_chromium.org, chromium-reviews, danakj, enne (OOO), Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move PixelRefMap and its Iterator out from Picture class Factor out PixelRefMap and the values used with it out from Picture class. Also move the PixelRefIterator on Picture level out from Picture class. TileGridSize is now only used to decide cell size when gather pixel refs. R=vmpstr, ajuma BUG=440468 Committed: https://crrev.com/7e508ddb57205b19b3d28f1e23b6883caa804c66 Cr-Commit-Position: refs/heads/master@{#319909}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : address review comments #

Total comments: 4

Patch Set 4 : no longer override hashmap and pixelrefmap::iterator #

Total comments: 4

Patch Set 5 : forgot to make empty() const #

Patch Set 6 : target_pixel_ref_map_ and data_hash_map_ #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+571 lines, -471 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture.h View 1 2 3 6 chunks +7 lines, -51 lines 0 comments Download
M cc/resources/picture.cc View 1 2 3 8 chunks +15 lines, -155 lines 0 comments Download
M cc/resources/picture_pile_impl.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_unittest.cc View 1 chunk +0 lines, -263 lines 0 comments Download
A cc/resources/pixel_ref_map.h View 1 2 3 4 5 1 chunk +90 lines, -0 lines 0 comments Download
A cc/resources/pixel_ref_map.cc View 1 2 3 4 5 1 chunk +158 lines, -0 lines 0 comments Download
A cc/resources/pixel_ref_map_unittest.cc View 1 2 3 1 chunk +292 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
weiliangc
5 years, 10 months ago (2015-02-10 22:32:05 UTC) #1
ajuma
lgtm if vmpstr's happy with it too. https://codereview.chromium.org/909353002/diff/1/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/909353002/diff/1/cc/resources/picture.cc#newcode178 cc/resources/picture.cc:178: // TODO(mtklein): ...
5 years, 10 months ago (2015-02-11 15:29:04 UTC) #2
weiliangc
vmpstr@ ping
5 years, 9 months ago (2015-03-05 16:40:10 UTC) #4
vmpstr
https://codereview.chromium.org/909353002/diff/40001/cc/resources/pixel_ref_map.h File cc/resources/pixel_ref_map.h (right): https://codereview.chromium.org/909353002/diff/40001/cc/resources/pixel_ref_map.h#newcode31 cc/resources/pixel_ref_map.h:31: class CC_EXPORT PixelRefMap : public base::hash_map<PixelRefMapKey, PixelRefs> { I ...
5 years, 9 months ago (2015-03-05 19:31:44 UTC) #5
weiliangc
Updated according to review comments. PTAL. https://codereview.chromium.org/909353002/diff/40001/cc/resources/pixel_ref_map.h File cc/resources/pixel_ref_map.h (right): https://codereview.chromium.org/909353002/diff/40001/cc/resources/pixel_ref_map.h#newcode31 cc/resources/pixel_ref_map.h:31: class CC_EXPORT PixelRefMap ...
5 years, 9 months ago (2015-03-09 18:50:21 UTC) #6
vmpstr
lgtm with a couple of naming nits https://codereview.chromium.org/909353002/diff/60001/cc/resources/pixel_ref_map.h File cc/resources/pixel_ref_map.h (right): https://codereview.chromium.org/909353002/diff/60001/cc/resources/pixel_ref_map.h#newcode68 cc/resources/pixel_ref_map.h:68: const PixelRefMap* ...
5 years, 9 months ago (2015-03-09 19:16:11 UTC) #7
weiliangc
https://codereview.chromium.org/909353002/diff/60001/cc/resources/pixel_ref_map.h File cc/resources/pixel_ref_map.h (right): https://codereview.chromium.org/909353002/diff/60001/cc/resources/pixel_ref_map.h#newcode68 cc/resources/pixel_ref_map.h:68: const PixelRefMap* map_; On 2015/03/09 at 19:16:11, vmpstr wrote: ...
5 years, 9 months ago (2015-03-10 14:26:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/909353002/120001
5 years, 9 months ago (2015-03-10 14:27:04 UTC) #11
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-10 17:15:33 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 17:18:06 UTC) #13
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7e508ddb57205b19b3d28f1e23b6883caa804c66
Cr-Commit-Position: refs/heads/master@{#319909}

Powered by Google App Engine
This is Rietveld 408576698