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

Issue 2496283004: cc: Build Image to Region map during image meta-data generation. (Closed)

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

Description

cc: Build Image to Region map during image meta-data generation. During the discardable image meta-data generation phase, we build an Rtree to pull the set of images given a rect. This change adds a reverse lookup map to be built at the same time for querying the region for an image in a DisplayItemList. BUG=665266 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/fc85c1aa0881047c4410cbedc1e4543bcf789a1f Cr-Commit-Position: refs/heads/master@{#432841}

Patch Set 1 #

Total comments: 4

Patch Set 2 : test #

Patch Set 3 : .. #

Patch Set 4 : .. #

Patch Set 5 : Rebase #

Patch Set 6 : Fix Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -3 lines) Patch
M cc/playback/discardable_image_map.h View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M cc/playback/discardable_image_map.cc View 1 2 3 4 5 4 chunks +16 lines, -3 lines 0 comments Download
M cc/playback/discardable_image_map_unittest.cc View 1 2 3 10 chunks +53 lines, -0 lines 0 comments Download
M cc/playback/display_item_list.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/playback/display_item_list.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
Khushal
Still need to update tests.
4 years, 1 month ago (2016-11-15 03:13:46 UTC) #3
vmpstr
Looks good, looking forward to tests. https://codereview.chromium.org/2496283004/diff/1/cc/playback/discardable_image_map.h File cc/playback/discardable_image_map.h (right): https://codereview.chromium.org/2496283004/diff/1/cc/playback/discardable_image_map.h#newcode24 cc/playback/discardable_image_map.h:24: using ImageToRegionMap = ...
4 years, 1 month ago (2016-11-15 18:57:54 UTC) #4
Khushal
And tests. https://codereview.chromium.org/2496283004/diff/1/cc/playback/discardable_image_map.h File cc/playback/discardable_image_map.h (right): https://codereview.chromium.org/2496283004/diff/1/cc/playback/discardable_image_map.h#newcode24 cc/playback/discardable_image_map.h:24: using ImageToRegionMap = std::unordered_map<uint32_t, Region>; On 2016/11/15 ...
4 years, 1 month ago (2016-11-16 05:01:58 UTC) #5
vmpstr
lgtm
4 years, 1 month ago (2016-11-17 00:01:20 UTC) #10
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/2496283004/60001
4 years, 1 month ago (2016-11-17 00:04:43 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/306370)
4 years, 1 month ago (2016-11-17 01:41:01 UTC) #14
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/2496283004/80001
4 years, 1 month ago (2016-11-17 07:52:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/319064)
4 years, 1 month ago (2016-11-17 08:26:17 UTC) #19
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/2496283004/100001
4 years, 1 month ago (2016-11-17 08:32:56 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/274487)
4 years, 1 month ago (2016-11-17 08:41:38 UTC) #24
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/2496283004/100001
4 years, 1 month ago (2016-11-17 08:58:53 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-17 11:21:35 UTC) #27
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/fc85c1aa0881047c4410cbedc1e4543bcf789a1f Cr-Commit-Position: refs/heads/master@{#432841}
4 years, 1 month ago (2016-11-17 11:23:40 UTC) #29
vmiura
4 years ago (2016-12-03 04:07:07 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2551583003/ by vmiura@chromium.org.

The reason for reverting is: Computing these image regions adds significant time
to the critical path on image heavy content.  Let's re-land after addressing the
performance.

BUG=670926.

Powered by Google App Engine
This is Rietveld 408576698