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

Issue 2345833002: cc: Move (partially) the predecode image tracking to ImageManager. (Closed)

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

Description

cc: Move (partially) the predecode image tracking to ImageManager. This patch moves some of the predecode image tracking to ImageManager. The other part depends on crbug.com/647402. Once the TileTaskRunner can keep a ref on scheduled tiles, then we can remove TileManager::locked_image_tasks_ as well. R=enne CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/f8c96db734b49a003b679ca4f504184778bc87c7 Cr-Commit-Position: refs/heads/master@{#419539}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : added a dcheck #

Patch Set 4 : initialize var #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -17 lines) Patch
M cc/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/image_manager.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M cc/tiles/image_manager.cc View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
A cc/tiles/image_manager_unittest.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download
M cc/tiles/tile_manager.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 3 5 chunks +18 lines, -15 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
vmpstr
Please take a look.
4 years, 3 months ago (2016-09-15 21:41:27 UTC) #2
enne (OOO)
https://codereview.chromium.org/2345833002/diff/1/cc/tiles/image_manager.cc File cc/tiles/image_manager.cc (right): https://codereview.chromium.org/2345833002/diff/1/cc/tiles/image_manager.cc#newcode14 cc/tiles/image_manager.cc:14: SetPredecodeImages(std::vector<DrawImage>(), Why do you need to do this? Why ...
4 years, 3 months ago (2016-09-16 17:45:45 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/2345833002/diff/1/cc/tiles/image_manager.cc File cc/tiles/image_manager.cc (right): https://codereview.chromium.org/2345833002/diff/1/cc/tiles/image_manager.cc#newcode14 cc/tiles/image_manager.cc:14: SetPredecodeImages(std::vector<DrawImage>(), On 2016/09/16 17:45:44, enne wrote: > Why ...
4 years, 3 months ago (2016-09-16 18:11:50 UTC) #4
enne (OOO)
https://codereview.chromium.org/2345833002/diff/20001/cc/tiles/image_manager.cc File cc/tiles/image_manager.cc (right): https://codereview.chromium.org/2345833002/diff/20001/cc/tiles/image_manager.cc#newcode13 cc/tiles/image_manager.cc:13: if (!controller) { Sure, but do you also need ...
4 years, 3 months ago (2016-09-16 18:21:37 UTC) #5
vmpstr
https://codereview.chromium.org/2345833002/diff/20001/cc/tiles/image_manager.cc File cc/tiles/image_manager.cc (right): https://codereview.chromium.org/2345833002/diff/20001/cc/tiles/image_manager.cc#newcode13 cc/tiles/image_manager.cc:13: if (!controller) { On 2016/09/16 18:21:37, enne wrote: > ...
4 years, 3 months ago (2016-09-16 18:38:49 UTC) #6
enne (OOO)
On 2016/09/16 at 18:38:49, vmpstr wrote: > https://codereview.chromium.org/2345833002/diff/20001/cc/tiles/image_manager.cc > File cc/tiles/image_manager.cc (right): > > https://codereview.chromium.org/2345833002/diff/20001/cc/tiles/image_manager.cc#newcode13 ...
4 years, 3 months ago (2016-09-16 18:42:52 UTC) #7
vmpstr
On 2016/09/16 18:42:52, enne wrote: > On 2016/09/16 at 18:38:49, vmpstr wrote: > > > ...
4 years, 3 months ago (2016-09-16 18:55:24 UTC) #8
enne (OOO)
On 2016/09/16 at 18:55:24, vmpstr wrote: > On 2016/09/16 18:42:52, enne wrote: > > On ...
4 years, 3 months ago (2016-09-16 19:00:29 UTC) #9
vmpstr
On 2016/09/16 19:00:29, enne wrote: > On 2016/09/16 at 18:55:24, vmpstr wrote: > > On ...
4 years, 3 months ago (2016-09-16 19:48:04 UTC) #10
enne (OOO)
lgtm
4 years, 3 months ago (2016-09-16 19:51:27 UTC) #11
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/2345833002/40001
4 years, 3 months ago (2016-09-16 19:52:08 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/143119)
4 years, 3 months ago (2016-09-16 20:36:22 UTC) #15
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/2345833002/60001
4 years, 3 months ago (2016-09-19 18:53:33 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-19 20:05:13 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:03:20 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f8c96db734b49a003b679ca4f504184778bc87c7
Cr-Commit-Position: refs/heads/master@{#419539}

Powered by Google App Engine
This is Rietveld 408576698