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

Issue 2511143004: mus: Split the gpu client-lib into a separate component. (Closed)

Created:
4 years, 1 month ago by sadrul
Modified:
4 years, 1 month ago
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tfarina, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, darin (slow to review), mfomitchev
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Split the gpu client-lib into a separate component. Create //services/ui/public/cpp/gpu component to talk to the mus window server for doing gpu related work (e.g. making connection, allocating gpu memory etc.). Use this same component from both the aura and the non-aura client libs, so that we don't have to maintain the same code in both places. BUG=643746 TBR=ben@ for trivial #include update in content/renderer Committed: https://crrev.com/7132ff590b6dc39d244c578899985df7c63797f9 Cr-Commit-Position: refs/heads/master@{#433233}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -1185 lines) Patch
M ash/mus/window_manager_application.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/demo/bitmap_uploader.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/demo/mus_demo.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/public/cpp/BUILD.gn View 1 2 3 5 chunks +2 lines, -7 lines 0 comments Download
M services/ui/public/cpp/gles2_context.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
A services/ui/public/cpp/gpu/BUILD.gn View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A + services/ui/public/cpp/gpu/gpu_service.h View 3 chunks +4 lines, -4 lines 1 comment Download
A + services/ui/public/cpp/gpu/gpu_service.cc View 2 chunks +2 lines, -2 lines 1 comment Download
A + services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
D services/ui/public/cpp/gpu_service.h View 1 chunk +0 lines, -84 lines 0 comments Download
D services/ui/public/cpp/gpu_service.cc View 1 chunk +0 lines, -156 lines 0 comments Download
D services/ui/public/cpp/mojo_buffer_backing.h View 1 chunk +0 lines, -39 lines 0 comments Download
D services/ui/public/cpp/mojo_buffer_backing.cc View 1 chunk +0 lines, -34 lines 0 comments Download
D services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h View 1 chunk +0 lines, -72 lines 0 comments Download
D services/ui/public/cpp/mojo_gpu_memory_buffer_manager.cc View 1 chunk +0 lines, -137 lines 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/BUILD.gn View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M ui/aura/mus/DEPS View 1 1 chunk +2 lines, -1 line 0 comments Download
D ui/aura/mus/gpu_memory_buffer_impl.h View 1 1 chunk +0 lines, -59 lines 0 comments Download
D ui/aura/mus/gpu_memory_buffer_impl.cc View 1 1 chunk +0 lines, -46 lines 0 comments Download
D ui/aura/mus/gpu_service.h View 1 1 chunk +0 lines, -84 lines 0 comments Download
D ui/aura/mus/gpu_service.cc View 1 1 chunk +0 lines, -155 lines 0 comments Download
D ui/aura/mus/mojo_gpu_memory_buffer.h View 1 1 chunk +0 lines, -61 lines 0 comments Download
D ui/aura/mus/mojo_gpu_memory_buffer.cc View 1 1 chunk +0 lines, -132 lines 0 comments Download
D ui/aura/mus/mojo_gpu_memory_buffer_manager.h View 1 1 chunk +0 lines, -39 lines 0 comments Download
D ui/aura/mus/mojo_gpu_memory_buffer_manager.cc View 1 1 chunk +0 lines, -40 lines 0 comments Download
M ui/aura/mus/mus_context_factory.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M ui/aura/mus/mus_context_factory.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/mus/mus_client.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/mus/surface_context_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/window_manager_connection.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (20 generated)
sadrul
4 years, 1 month ago (2016-11-18 04:56:23 UTC) #13
sky
LGTM
4 years, 1 month ago (2016-11-18 16:44:25 UTC) #16
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/2511143004/60001
4 years, 1 month ago (2016-11-18 17:26:41 UTC) #18
sadrul
+ben@ for trivial header update in content/renderer (will TBR)
4 years, 1 month ago (2016-11-18 17:31:34 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-18 17:44:59 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7132ff590b6dc39d244c578899985df7c63797f9 Cr-Commit-Position: refs/heads/master@{#433233}
4 years, 1 month ago (2016-11-18 17:49:30 UTC) #25
mfomitchev
https://codereview.chromium.org/2511143004/diff/60001/services/ui/public/cpp/gpu/gpu_service.cc File services/ui/public/cpp/gpu/gpu_service.cc (right): https://codereview.chromium.org/2511143004/diff/60001/services/ui/public/cpp/gpu/gpu_service.cc#newcode14 services/ui/public/cpp/gpu/gpu_service.cc:14: #include "services/ui/common/switches.h" nit: I don't think this is needed ...
4 years, 1 month ago (2016-11-18 22:02:34 UTC) #27
sadrul
4 years, 1 month ago (2016-11-20 03:01:00 UTC) #28
Message was sent while issue was closed.
On 2016/11/18 22:02:34, mfomitchev wrote:
>
https://codereview.chromium.org/2511143004/diff/60001/services/ui/public/cpp/...
> File services/ui/public/cpp/gpu/gpu_service.cc (right):
> 
>
https://codereview.chromium.org/2511143004/diff/60001/services/ui/public/cpp/...
> services/ui/public/cpp/gpu/gpu_service.cc:14: #include
> "services/ui/common/switches.h"
> nit: I don't think this is needed (was removed in aura)
> 
>
https://codereview.chromium.org/2511143004/diff/60001/services/ui/public/cpp/...
> File services/ui/public/cpp/gpu/gpu_service.h (right):
> 
>
https://codereview.chromium.org/2511143004/diff/60001/services/ui/public/cpp/...
> services/ui/public/cpp/gpu/gpu_service.h:18: #include
> "gpu/ipc/common/gpu_info.mojom.h"
> nit: I don't think this is needed (was removed in aura)

Addressed these in https://codereview.chromium.org/2516843002/

Powered by Google App Engine
This is Rietveld 408576698