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

Issue 1708783002: Mustash: move content::GPUVideoMemoryUsageStats to gpu::VideoMemoryUsageStats (Closed)

Created:
4 years, 10 months ago by Mark Dittmer
Modified:
4 years, 9 months ago
Reviewers:
kenrb, Fady Samuel, Nico, jam, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move content:GPUVideo...Stats to gpu::Video...Stats. HolyJavaStyleNamingBatman! As a part of the GPU refactor for Mus, we are trying to eliminate spots where content/common/gpu depends on content/. One such dependency is content::GPUVideoMemoryUsageStats. BUG=586367 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/6c1a70a5d0436c7c647c995202fbfa307f28983a Cr-Commit-Position: refs/heads/master@{#377036} Committed: https://crrev.com/cbf36ceafceb140cdc5d6f45a9ae2053483795c4 Cr-Commit-Position: refs/heads/master@{#378757}

Patch Set 1 #

Patch Set 2 : Move memory_stats to gpu/config and update build targets #

Patch Set 3 : Move memory_stats to gpu/ipc/common #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : Fix re-dep gpu_config => gpu_ipc_common #

Total comments: 2

Patch Set 6 : Fix up build deps #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -146 lines) Patch
M chrome/browser/task_management/sampling/task_group.h View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/task_management/sampling/task_group.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/task_management/sampling/task_manager_impl.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/task_management/sampling/task_manager_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_manager/task_manager.h View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.h View 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private_unittest.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 2 3 4 5 6 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M content/common/gpu/gpu_host_messages.h View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.h View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 2 chunks +0 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 2 chunks +1 line, -3 lines 0 comments Download
M content/content_gpu.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M content/public/browser/gpu_data_manager_observer.h View 2 chunks +5 lines, -2 lines 0 comments Download
D content/public/common/gpu_memory_stats.h View 1 chunk +0 lines, -52 lines 0 comments Download
D content/public/common/gpu_memory_stats.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M gpu/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 5 chunks +42 lines, -0 lines 0 comments Download
A + gpu/gpu_ipc_common.gypi View 1 2 3 4 5 1 chunk +4 lines, -5 lines 0 comments Download
A + gpu/ipc/common/BUILD.gn View 1 2 3 4 5 1 chunk +10 lines, -9 lines 0 comments Download
A + gpu/ipc/common/memory_stats.h View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
A gpu/ipc/common/memory_stats.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (29 generated)
Fady Samuel
Looks reasonable to me, please update the title.
4 years, 10 months ago (2016-02-18 16:07:11 UTC) #4
piman
gpu/config is a bit odd, since that has to do with the GPU blacklist/workaround list ...
4 years, 10 months ago (2016-02-18 18:11:45 UTC) #7
Mark Dittmer
On 2016/02/18 18:11:45, piman wrote: > gpu/config is a bit odd, since that has to ...
4 years, 10 months ago (2016-02-18 21:14:37 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/40001
4 years, 10 months ago (2016-02-19 22:40:46 UTC) #10
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
4 years, 10 months ago (2016-02-19 22:40:48 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/40001
4 years, 10 months ago (2016-02-20 04:16:50 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/133784) ios_rel_device_ninja on ...
4 years, 10 months ago (2016-02-20 04:20:24 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/60001
4 years, 10 months ago (2016-02-22 14:14:24 UTC) #18
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
4 years, 10 months ago (2016-02-22 14:14:26 UTC) #20
Mark Dittmer
On 2016/02/18 21:14:37, Mark Dittmer wrote: > On 2016/02/18 18:11:45, piman wrote: > > gpu/config ...
4 years, 10 months ago (2016-02-22 15:53:33 UTC) #21
piman
https://codereview.chromium.org/1708783002/diff/60001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1708783002/diff/60001/chrome/chrome_browser.gypi#newcode3494 chrome/chrome_browser.gypi:3494: 'dependencies': [ '../gpu/gpu.gyp:gpu_config' ], gpu_ipc_common?
4 years, 10 months ago (2016-02-22 19:10:05 UTC) #22
Mark Dittmer
https://codereview.chromium.org/1708783002/diff/60001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1708783002/diff/60001/chrome/chrome_browser.gypi#newcode3494 chrome/chrome_browser.gypi:3494: 'dependencies': [ '../gpu/gpu.gyp:gpu_config' ], On 2016/02/22 19:10:05, piman wrote: ...
4 years, 10 months ago (2016-02-22 19:21:07 UTC) #23
piman
lgtm
4 years, 10 months ago (2016-02-22 20:19:49 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/80001
4 years, 10 months ago (2016-02-22 21:44:41 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/148768)
4 years, 10 months ago (2016-02-22 22:08:00 UTC) #28
Mark Dittmer
On 2016/02/22 22:08:00, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 10 months ago (2016-02-23 14:45:51 UTC) #31
kenrb
ipc lgtm
4 years, 10 months ago (2016-02-23 14:59:15 UTC) #32
jam
lgtm
4 years, 10 months ago (2016-02-23 16:48:25 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/80001
4 years, 10 months ago (2016-02-23 16:50:18 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-23 19:16:19 UTC) #38
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/6c1a70a5d0436c7c647c995202fbfa307f28983a Cr-Commit-Position: refs/heads/master@{#377036}
4 years, 10 months ago (2016-02-23 19:18:05 UTC) #40
Nico
I believe this broke component builds with gn, at least on Windows. See https://build.chromium.org/p/chromium.fyi/builders/CrWinClang64%28dbg%29/builds/3810/steps/compile/logs/stdio for ...
4 years, 10 months ago (2016-02-24 01:59:14 UTC) #42
Nico
Hey, this broke the main waterfall gn bots too, I guess sheriffs just didn't notice. ...
4 years, 10 months ago (2016-02-24 15:06:57 UTC) #43
Nico
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1726343003/ by thakis@chromium.org. ...
4 years, 10 months ago (2016-02-24 15:08:44 UTC) #44
Nico
https://codereview.chromium.org/1708783002/diff/80001/content/gpu/BUILD.gn File content/gpu/BUILD.gn (right): https://codereview.chromium.org/1708783002/diff/80001/content/gpu/BUILD.gn#newcode47 content/gpu/BUILD.gn:47: "//gpu/ipc/common:ipc_common_sources", This looks really questionable. ipc_common_sources sets GPU_IMPLEMENTATION, so ...
4 years, 10 months ago (2016-02-24 15:15:17 UTC) #45
Mark Dittmer
https://codereview.chromium.org/1708783002/diff/80001/content/gpu/BUILD.gn File content/gpu/BUILD.gn (right): https://codereview.chromium.org/1708783002/diff/80001/content/gpu/BUILD.gn#newcode47 content/gpu/BUILD.gn:47: "//gpu/ipc/common:ipc_common_sources", On 2016/02/24 15:15:17, Nico wrote: > This looks ...
4 years, 10 months ago (2016-02-25 16:06:53 UTC) #47
Mark Dittmer
Fix up build deps
4 years, 10 months ago (2016-02-25 18:27:37 UTC) #48
Mark Dittmer
Uploaded fix of dependencies. thakis@ PTAL.
4 years, 10 months ago (2016-02-25 18:27:50 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/100001
4 years, 10 months ago (2016-02-25 18:30:41 UTC) #51
Nico
lgtm, thanks! If you want, you can send a try job to win_clang_x64_dbg, that does ...
4 years, 10 months ago (2016-02-25 18:39:13 UTC) #52
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/27199) android_chromium_gn_compile_dbg on ...
4 years, 10 months ago (2016-02-25 18:45:15 UTC) #54
Mark Dittmer
rebase
4 years, 9 months ago (2016-03-02 14:23:50 UTC) #55
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/120001
4 years, 9 months ago (2016-03-02 14:24:23 UTC) #57
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-02 15:42:36 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708783002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708783002/120001
4 years, 9 months ago (2016-03-02 16:03:11 UTC) #62
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-02 16:08:38 UTC) #64
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 16:10:10 UTC) #66
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/cbf36ceafceb140cdc5d6f45a9ae2053483795c4
Cr-Commit-Position: refs/heads/master@{#378757}

Powered by Google App Engine
This is Rietveld 408576698