Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Issue 899313003: cc: Split ReleaseResources into Release and Recreate. (Closed)

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

Description

cc: Split ReleaseResources into Release and Recreate. This patch splits the work we do in ReleaseResources into two parts: ReleaseResources and RecreateResources. If any part of invalidating or creating new resources requires access to new structures (such as a new tile manager and new output surface), this is the way to get this information. That is, ReleaseResources happens while old objects are alive and accessible. RecreateResources happens when the new objects are alive and accessible. R=danakj, enne Committed: https://crrev.com/9ce5c6661b03f26326f4e5c50924a628eb638afa Cr-Commit-Position: refs/heads/master@{#314913}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -15 lines) Patch
M cc/layers/layer_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 chunk +5 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 8 chunks +24 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 7 chunks +17 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 2 chunks +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
vmpstr
Please take a look. This is split up from https://codereview.chromium.org/900073003/
5 years, 10 months ago (2015-02-05 20:35:35 UTC) #1
enne (OOO)
https://codereview.chromium.org/899313003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/899313003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2216 cc/trees/layer_tree_host_impl.cc:2216: ScopedCaller<LayerTreeHostImpl> scoped_release_resources( This seems like overkill. Neither of the ...
5 years, 10 months ago (2015-02-05 20:43:52 UTC) #2
danakj
what enne said :D https://codereview.chromium.org/899313003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/899313003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode120 cc/trees/layer_tree_host_impl.cc:120: class ScopedCaller { did you ...
5 years, 10 months ago (2015-02-05 20:45:49 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/899313003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/899313003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode120 cc/trees/layer_tree_host_impl.cc:120: class ScopedCaller { On 2015/02/05 20:45:49, danakj wrote: ...
5 years, 10 months ago (2015-02-05 21:41:32 UTC) #4
danakj
LGTM % enne
5 years, 10 months ago (2015-02-05 21:45:22 UTC) #5
enne (OOO)
lgtm
5 years, 10 months ago (2015-02-05 21:53:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899313003/20001
5 years, 10 months ago (2015-02-05 22:13:55 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-05 23:30:01 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 23:31:01 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9ce5c6661b03f26326f4e5c50924a628eb638afa
Cr-Commit-Position: refs/heads/master@{#314913}

Powered by Google App Engine
This is Rietveld 408576698