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

Issue 2544203003: Delete old RenderPassId mappings in SurfaceAggregator. (Closed)

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

Description

Delete old RenderPassId mappings in SurfaceAggregator. Mappings need to stay the same across frames so textures aren't unnecessarily reallocated, but they should be deleted once they're not used to avoid leaking memory. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/8280e63a215468a2f75f96b7a052ad1316912638 Cr-Commit-Position: refs/heads/master@{#436134}

Patch Set 1 #

Patch Set 2 : minor change #

Total comments: 5

Patch Set 3 : change test checks, add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -33 lines) Patch
M cc/surfaces/surface_aggregator.h View 1 2 3 chunks +13 lines, -4 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 3 chunks +22 lines, -29 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
jbauman
4 years ago (2016-12-02 10:14:13 UTC) #9
danakj
https://codereview.chromium.org/2544203003/diff/20001/cc/surfaces/surface_aggregator.h File cc/surfaces/surface_aggregator.h (right): https://codereview.chromium.org/2544203003/diff/20001/cc/surfaces/surface_aggregator.h#newcode67 cc/surfaces/surface_aggregator.h:67: RenderPassId id; This can use some comments. The key ...
4 years ago (2016-12-02 21:55:16 UTC) #10
danakj
LGTM w/ a couple comments on the test https://codereview.chromium.org/2544203003/diff/20001/cc/surfaces/surface_aggregator_unittest.cc File cc/surfaces/surface_aggregator_unittest.cc (right): https://codereview.chromium.org/2544203003/diff/20001/cc/surfaces/surface_aggregator_unittest.cc#newcode280 cc/surfaces/surface_aggregator_unittest.cc:280: EXPECT_EQ(RenderPassId(1, ...
4 years ago (2016-12-02 22:17:53 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/2544203003/40001
4 years ago (2016-12-03 00:39:28 UTC) #14
danakj
Thanks, great comments.
4 years ago (2016-12-03 00:39:52 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-03 01:41:18 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-03 01:44:59 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8280e63a215468a2f75f96b7a052ad1316912638
Cr-Commit-Position: refs/heads/master@{#436134}

Powered by Google App Engine
This is Rietveld 408576698