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

Issue 2811083002: Move frame eviction into components (Closed)

Created:
3 years, 8 months ago by xing.xu
Modified:
3 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move frame eviction into components Eventually frame eviction will be solely handled by the display compositor and no need to depend on content, so move it into components. BUG=709709 Review-Url: https://codereview.chromium.org/2811083002 Cr-Commit-Position: refs/heads/master@{#465481} Committed: https://chromium.googlesource.com/chromium/src/+/e012eb7d8849c55a50689509a81eb0a9588485da

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move features into base,and rename #

Total comments: 4

Patch Set 3 : Move into viz, fix win build #

Patch Set 4 : Fix win dbg compile #

Total comments: 2

Patch Set 5 : Use MemoryCoordinatorProxy instead of feature #

Patch Set 6 : Fix win dbg warning C4275 with NON_EXPORTED_BASE #

Total comments: 1

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -466 lines) Patch
M components/viz/frame_sinks/BUILD.gn View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M components/viz/frame_sinks/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + components/viz/frame_sinks/frame_eviction_manager.h View 1 2 3 4 chunks +26 lines, -31 lines 0 comments Download
A + components/viz/frame_sinks/frame_eviction_manager.cc View 1 2 3 4 11 chunks +28 lines, -30 lines 0 comments Download
A components/viz/frame_sinks/frame_evictor.h View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A components/viz/frame_sinks/frame_evictor.cc View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M components/viz/frame_sinks/mojo_frame_sink_manager.h View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
A components/viz/frame_sinks/viz_export.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
D content/browser/renderer_host/delegated_frame_evictor.h View 1 chunk +0 lines, -46 lines 0 comments Download
D content/browser/renderer_host/delegated_frame_evictor.cc View 1 chunk +0 lines, -56 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 3 4 5 6 7 chunks +8 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 chunks +9 lines, -8 lines 0 comments Download
D content/browser/renderer_host/renderer_frame_manager.h View 1 chunk +0 lines, -87 lines 0 comments Download
D content/browser/renderer_host/renderer_frame_manager.cc View 1 chunk +0 lines, -182 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 72 (42 generated)
xing.xu
PTAL.
3 years, 8 months ago (2017-04-11 08:40:13 UTC) #5
Saman Sami
https://codereview.chromium.org/2811083002/diff/1/components/display_compositor/delegated_frame_evictor.h File components/display_compositor/delegated_frame_evictor.h (right): https://codereview.chromium.org/2811083002/diff/1/components/display_compositor/delegated_frame_evictor.h#newcode20 components/display_compositor/delegated_frame_evictor.h:20: class DISPLAY_COMPOSITOR_EXPORT DelegatedFrameEvictor I would rather Delegated to be ...
3 years, 8 months ago (2017-04-11 14:58:24 UTC) #8
boliu
is this solving a specific DEPS problem? what problem is that exactly?
3 years, 8 months ago (2017-04-11 15:26:43 UTC) #9
Saman Sami
On 2017/04/11 15:26:43, boliu wrote: > is this solving a specific DEPS problem? what problem ...
3 years, 8 months ago (2017-04-11 15:30:41 UTC) #10
boliu
On 2017/04/11 15:30:41, Saman Sami wrote: > On 2017/04/11 15:26:43, boliu wrote: > > is ...
3 years, 8 months ago (2017-04-11 15:37:29 UTC) #11
Saman Sami
On 2017/04/11 15:37:29, boliu wrote: > On 2017/04/11 15:30:41, Saman Sami wrote: > > On ...
3 years, 8 months ago (2017-04-11 15:40:31 UTC) #12
boliu
On 2017/04/11 15:40:31, Saman Sami wrote: > On 2017/04/11 15:37:29, boliu wrote: > > On ...
3 years, 8 months ago (2017-04-11 15:49:04 UTC) #13
Saman Sami
On 2017/04/11 15:49:04, boliu wrote: > On 2017/04/11 15:40:31, Saman Sami wrote: > > On ...
3 years, 8 months ago (2017-04-11 17:15:46 UTC) #15
Fady Samuel
I don't think we know what the final state of this code will be yet, ...
3 years, 8 months ago (2017-04-12 03:17:02 UTC) #20
Saman Sami
bashi@ what do you think we should do to check whether memory coordinator is on ...
3 years, 8 months ago (2017-04-12 03:29:15 UTC) #22
bashi
On 2017/04/12 03:29:15, Saman Sami wrote: > bashi@ what do you think we should do ...
3 years, 8 months ago (2017-04-13 01:36:01 UTC) #34
xing.xu
This is almost done. But still with trouble with warning LNK4217 in win dbg compile. ...
3 years, 8 months ago (2017-04-13 05:28:20 UTC) #35
jbauman
https://codereview.chromium.org/2811083002/diff/80001/components/viz/frame_sinks/BUILD.gn File components/viz/frame_sinks/BUILD.gn (right): https://codereview.chromium.org/2811083002/diff/80001/components/viz/frame_sinks/BUILD.gn#newcode5 components/viz/frame_sinks/BUILD.gn:5: source_set("frame_sinks") { I think this needs to be a ...
3 years, 8 months ago (2017-04-13 08:01:42 UTC) #36
xing.xu
Thanks, jbauman, move source_set to components works. Hi, all guys, code refactor according to your ...
3 years, 8 months ago (2017-04-14 02:57:25 UTC) #45
xing.xu
PTAL, thanks! https://codereview.chromium.org/2811083002/diff/1/components/display_compositor/delegated_frame_evictor.h File components/display_compositor/delegated_frame_evictor.h (right): https://codereview.chromium.org/2811083002/diff/1/components/display_compositor/delegated_frame_evictor.h#newcode20 components/display_compositor/delegated_frame_evictor.h:20: class DISPLAY_COMPOSITOR_EXPORT DelegatedFrameEvictor On 2017/04/11 14:58:24, Saman ...
3 years, 8 months ago (2017-04-14 03:01:30 UTC) #46
boliu
content/browser lgtm
3 years, 8 months ago (2017-04-14 03:27:22 UTC) #47
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/2811083002/120001
3 years, 8 months ago (2017-04-15 07:51:20 UTC) #49
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/412128)
3 years, 8 months ago (2017-04-15 07:58:18 UTC) #51
xing.xu
PTAL: ** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: components/viz/frame_sinks/BUILD.gn components/viz/frame_sinks/DEPS ...
3 years, 8 months ago (2017-04-15 08:36:17 UTC) #52
jam
you have lots of reviewers added, so please point each one to which files you ...
3 years, 8 months ago (2017-04-17 15:47:05 UTC) #53
xing.xu
On 2017/04/17 15:47:05, jam wrote: > you have lots of reviewers added, so please point ...
3 years, 8 months ago (2017-04-17 22:04:46 UTC) #55
Saman Sami
Not an owner but overall lgtm, with one question. https://codereview.chromium.org/2811083002/diff/120001/components/viz/frame_sinks/BUILD.gn File components/viz/frame_sinks/BUILD.gn (right): https://codereview.chromium.org/2811083002/diff/120001/components/viz/frame_sinks/BUILD.gn#newcode5 components/viz/frame_sinks/BUILD.gn:5: ...
3 years, 8 months ago (2017-04-18 15:00:36 UTC) #56
jbauman
lgtm
3 years, 8 months ago (2017-04-18 22:12:10 UTC) #57
xing.xu
On 2017/04/18 15:00:36, Saman Sami wrote: > Not an owner but overall lgtm, with one ...
3 years, 8 months ago (2017-04-19 00:35:35 UTC) #58
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/2811083002/120001
3 years, 8 months ago (2017-04-19 00:38:23 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/392308) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 8 months ago (2017-04-19 00:44:28 UTC) #62
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/2811083002/140001
3 years, 8 months ago (2017-04-19 00:55:25 UTC) #65
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/392321) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 8 months ago (2017-04-19 00:59:57 UTC) #67
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/2811083002/140001
3 years, 8 months ago (2017-04-19 02:19:15 UTC) #69
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 03:19:57 UTC) #72
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/e012eb7d8849c55a50689509a81e...

Powered by Google App Engine
This is Rietveld 408576698