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

Issue 2939953004: viz: Move some code into //components/viz/common. (Closed)

Created:
3 years, 6 months ago by sadrul
Modified:
3 years, 6 months ago
CC:
chromium-reviews, rjkroege, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

viz: Move some code into //components/viz/common. Move ServerGpuMemoryBufferManager out of //services/ui/common into //components/viz/common. It is used in both the host process (to allocate memory for clients), and the viz process (by the display compositor). BUG=719931 TBR=jbauman@ for unused dependency removal from content/gpu/BUILD.gn Review-Url: https://codereview.chromium.org/2939953004 Cr-Commit-Position: refs/heads/master@{#479830} Committed: https://chromium.googlesource.com/chromium/src/+/950d9d8673a279b9c739db2b9d0aab5ae7f82e3b

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : . #

Total comments: 14

Patch Set 4 : . #

Patch Set 5 : tot-merge #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -218 lines) Patch
A components/viz/common/BUILD.gn View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A components/viz/common/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A components/viz/common/README.md View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + components/viz/common/server_gpu_memory_buffer_manager.h View 1 2 3 4 5 4 chunks +15 lines, -9 lines 0 comments Download
A + components/viz/common/server_gpu_memory_buffer_manager.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M content/gpu/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/common/BUILD.gn View 1 chunk +0 lines, -21 lines 0 comments Download
D services/ui/common/server_gpu_memory_buffer_manager.h View 1 chunk +0 lines, -68 lines 0 comments Download
D services/ui/common/server_gpu_memory_buffer_manager.cc View 1 chunk +0 lines, -95 lines 0 comments Download
M services/ui/gpu/BUILD.gn View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M services/ui/gpu/gpu_main.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M services/ui/ws/BUILD.gn View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M services/ui/ws/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/gpu_client.h View 3 chunks +6 lines, -4 lines 0 comments Download
M services/ui/ws/gpu_client.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M services/ui/ws/gpu_host.h View 2 chunks +5 lines, -3 lines 0 comments Download
M services/ui/ws/gpu_host.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 53 (36 generated)
sadrul
https://codereview.chromium.org/2939953004/diff/20001/services/ui/gpu/BUILD.gn File services/ui/gpu/BUILD.gn (right): https://codereview.chromium.org/2939953004/diff/20001/services/ui/gpu/BUILD.gn#newcode25 services/ui/gpu/BUILD.gn:25: "//components/viz/host/gpu", This seems unfortunate. Should the code go into ...
3 years, 6 months ago (2017-06-14 21:10:04 UTC) #8
Fady Samuel
Cool! I was about to write the same CL! :D Thanks Sadrul! LGTM
3 years, 6 months ago (2017-06-14 21:15:22 UTC) #9
danakj
On Wed, Jun 14, 2017 at 5:15 PM, <fsamuel@chromium.org> wrote: > Cool! I was about ...
3 years, 6 months ago (2017-06-14 21:19:24 UTC) #10
sadrul
On 2017/06/14 21:19:24, danakj wrote: > On Wed, Jun 14, 2017 at 5:15 PM, <mailto:fsamuel@chromium.org> ...
3 years, 6 months ago (2017-06-14 21:22:14 UTC) #12
danakj
https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS File components/viz/host/gpu/DEPS (right): https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS#newcode2 components/viz/host/gpu/DEPS:2: "+services/ui/gpu/interfaces", Is it weird to dep from components to ...
3 years, 6 months ago (2017-06-14 21:34:06 UTC) #13
Fady Samuel
https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS File components/viz/host/gpu/DEPS (right): https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS#newcode2 components/viz/host/gpu/DEPS:2: "+services/ui/gpu/interfaces", On 2017/06/14 21:34:06, danakj wrote: > Is it ...
3 years, 6 months ago (2017-06-14 21:35:23 UTC) #14
sadrul
https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS File components/viz/host/gpu/DEPS (right): https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS#newcode2 components/viz/host/gpu/DEPS:2: "+services/ui/gpu/interfaces", On 2017/06/14 21:35:23, Fady Samuel wrote: > On ...
3 years, 6 months ago (2017-06-14 21:40:59 UTC) #15
danakj
https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS File components/viz/host/gpu/DEPS (right): https://codereview.chromium.org/2939953004/diff/20001/components/viz/host/gpu/DEPS#newcode2 components/viz/host/gpu/DEPS:2: "+services/ui/gpu/interfaces", On 2017/06/14 21:40:59, sadrul wrote: > On 2017/06/14 ...
3 years, 6 months ago (2017-06-14 21:52:08 UTC) #16
danakj
https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/BUILD.gn File components/viz/common/BUILD.gn (right): https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/BUILD.gn#newcode19 components/viz/common/BUILD.gn:19: "//services/ui/gpu/interfaces", does this need to be a public dep ...
3 years, 6 months ago (2017-06-14 22:57:57 UTC) #19
sadrul
https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/BUILD.gn File components/viz/common/BUILD.gn (right): https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/BUILD.gn#newcode19 components/viz/common/BUILD.gn:19: "//services/ui/gpu/interfaces", On 2017/06/14 22:57:57, danakj wrote: > does this ...
3 years, 6 months ago (2017-06-14 23:18:34 UTC) #23
sadrul
+erg@ for services/ui owner
3 years, 6 months ago (2017-06-15 00:50:18 UTC) #25
danakj
LGTM https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/BUILD.gn File components/viz/common/BUILD.gn (right): https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/BUILD.gn#newcode19 components/viz/common/BUILD.gn:19: "//services/ui/gpu/interfaces", On 2017/06/14 23:18:33, sadrul wrote: > On ...
3 years, 6 months ago (2017-06-15 15:08:58 UTC) #38
sadrul
Moved gpu/interfaces out of public_deps https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/server_gpu_memory_buffer_manager.h File components/viz/common/server_gpu_memory_buffer_manager.h (right): https://codereview.chromium.org/2939953004/diff/40001/components/viz/common/server_gpu_memory_buffer_manager.h#newcode15 components/viz/common/server_gpu_memory_buffer_manager.h:15: #include "services/ui/gpu/interfaces/gpu_service.mojom.h" On 2017/06/15 ...
3 years, 6 months ago (2017-06-15 16:34:13 UTC) #41
Elliot Glaysher
//services/ui lgtm
3 years, 6 months ago (2017-06-15 17:40:10 UTC) #42
sadrul
+jbauman@ for content/gpu (TBR'ing since removing unused dependency)
3 years, 6 months ago (2017-06-15 21:03:53 UTC) #49
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/2939953004/120001
3 years, 6 months ago (2017-06-15 21:04:07 UTC) #50
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 21:10:36 UTC) #53
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/950d9d8673a279b9c739db2b9d0a...

Powered by Google App Engine
This is Rietveld 408576698