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

Issue 2942283002: viz: Use a simple GpuMemoryBufferManager implementation. (Closed)

Created:
3 years, 6 months ago by sadrul
Modified:
3 years, 6 months ago
Reviewers:
danakj, Fady Samuel, reveman
CC:
chromium-reviews, piman+watch_chromium.org, rjkroege
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

viz: Use a simple GpuMemoryBufferManager implementation. Introduce InProcessGpuMemoryBufferManager, which directly interacts with a GpuMemoryBufferFactory to allocate memory used by the display compositor. Follow on steps: relocate ServerGpuMemoryBufferManager into viz/host. BUG=733482 Review-Url: https://codereview.chromium.org/2942283002 Cr-Commit-Position: refs/heads/master@{#481231} Committed: https://chromium.googlesource.com/chromium/src/+/1f51373d28edbd397234c9ee7d60198f0a5e0189

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 5

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -41 lines) Patch
M components/viz/service/BUILD.gn View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M components/viz/service/display_compositor/gpu_display_provider.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/viz/service/display_compositor/gpu_display_provider.cc View 1 2 3 4 1 chunk +17 lines, -4 lines 0 comments Download
A components/viz/service/display_compositor/in_process_gpu_memory_buffer_manager.h View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A components/viz/service/display_compositor/in_process_gpu_memory_buffer_manager.cc View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
M services/ui/gpu/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/gpu/gpu_main.h View 1 3 chunks +0 lines, -8 lines 0 comments Download
M services/ui/gpu/gpu_main.cc View 1 2 4 chunks +5 lines, -26 lines 0 comments Download
M services/ui/gpu/gpu_service.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (26 generated)
sadrul
https://codereview.chromium.org/2942283002/diff/20001/components/viz/service/BUILD.gn File components/viz/service/BUILD.gn (right): https://codereview.chromium.org/2942283002/diff/20001/components/viz/service/BUILD.gn#newcode58 components/viz/service/BUILD.gn:58: "//gpu/ipc/client", This dependency is because the InProcessGMBManager needs to ...
3 years, 6 months ago (2017-06-16 22:20:21 UTC) #7
Fady Samuel
lgtm https://codereview.chromium.org/2942283002/diff/1/services/ui/gpu/gpu_main.cc File services/ui/gpu/gpu_main.cc (right): https://codereview.chromium.org/2942283002/diff/1/services/ui/gpu/gpu_main.cc#newcode48 services/ui/gpu/gpu_main.cc:48: class InProcessGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { Move this ...
3 years, 6 months ago (2017-06-16 22:33:18 UTC) #10
danakj
LGTM % reveman https://codereview.chromium.org/2942283002/diff/60001/components/viz/service/BUILD.gn File components/viz/service/BUILD.gn (right): https://codereview.chromium.org/2942283002/diff/60001/components/viz/service/BUILD.gn#newcode58 components/viz/service/BUILD.gn:58: "//gpu/ipc/client", i didn't see this used ...
3 years, 6 months ago (2017-06-20 14:52:41 UTC) #21
danakj
https://codereview.chromium.org/2942283002/diff/20001/components/viz/service/BUILD.gn File components/viz/service/BUILD.gn (right): https://codereview.chromium.org/2942283002/diff/20001/components/viz/service/BUILD.gn#newcode58 components/viz/service/BUILD.gn:58: "//gpu/ipc/client", On 2017/06/16 22:20:21, sadrul wrote: > This dependency ...
3 years, 6 months ago (2017-06-20 14:59:50 UTC) #22
reveman
lgtm with nit I don't feel strongly about about GpuMemoryBufferImpl in client/ or common/. It's ...
3 years, 6 months ago (2017-06-20 18:22:07 UTC) #23
sadrul
https://codereview.chromium.org/2942283002/diff/20001/components/viz/service/BUILD.gn File components/viz/service/BUILD.gn (right): https://codereview.chromium.org/2942283002/diff/20001/components/viz/service/BUILD.gn#newcode60 components/viz/service/BUILD.gn:60: "//gpu/ipc/service", On 2017/06/20 14:59:50, danakj wrote: > Also doesn't ...
3 years, 6 months ago (2017-06-21 05:57:46 UTC) #26
sadrul
I am going to go ahead and put it in the CQ. If we decide ...
3 years, 6 months ago (2017-06-21 17:19:53 UTC) #29
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/2942283002/80001
3 years, 6 months ago (2017-06-21 17:20:19 UTC) #32
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 17:25:14 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1f51373d28edbd397234c9ee7d60...

Powered by Google App Engine
This is Rietveld 408576698