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

Issue 1297953004: Support mojo applications in GPU process. (Closed)

Created:
5 years, 4 months ago by xhwang
Modified:
5 years, 2 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support mojo applications in GPU process. BUG=521755 TEST=Manually tested MojoMediaApplication in GPU process and GPU thread in the browser process (--in-process-gpu). Committed: https://crrev.com/9c8e128c413c383fc9d4b9cd8175e0d5673214f2 Cr-Commit-Position: refs/heads/master@{#353453}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase and fix in-process-gpu case #

Total comments: 2

Patch Set 4 : rebase only #

Patch Set 5 : comments addressed #

Patch Set 6 : #

Total comments: 18

Patch Set 7 : comments addressed #

Total comments: 6

Patch Set 8 : comments addressed #

Patch Set 9 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -9 lines) Patch
M content/browser/gpu/gpu_process_host.h View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 5 chunks +22 lines, -0 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.cc View 1 2 3 4 5 6 7 4 chunks +50 lines, -7 lines 0 comments Download
M content/common/gpu/gpu_process_launch_causes.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/content_gpu.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/gpu/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -0 lines 0 comments Download
A content/gpu/gpu_process_control_impl.h View 1 chunk +28 lines, -0 lines 0 comments Download
A content/gpu/gpu_process_control_impl.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M content/gpu/in_process_gpu_thread.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
xhwang
I am basically copying what we are doing in the utility process to the GPU ...
5 years, 4 months ago (2015-08-20 19:01:16 UTC) #2
xhwang
This CL is rebased and tested. It's ready for full review. PTAL!
5 years, 2 months ago (2015-10-02 21:08:55 UTC) #3
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/1297953004/diff/40001/content/gpu/gpu_child_thread.h File content/gpu/gpu_child_thread.h (right): https://codereview.chromium.org/1297953004/diff/40001/content/gpu/gpu_child_thread.h#newcode22 content/gpu/gpu_child_thread.h:22: #include "content/gpu/gpu_process_control_impl.h" nit: could just forward declare this?
5 years, 2 months ago (2015-10-02 21:34:51 UTC) #4
xhwang
rebase only
5 years, 2 months ago (2015-10-02 21:43:42 UTC) #5
xhwang
comments addressed
5 years, 2 months ago (2015-10-02 22:01:07 UTC) #6
xhwang
https://codereview.chromium.org/1297953004/diff/40001/content/gpu/gpu_child_thread.h File content/gpu/gpu_child_thread.h (right): https://codereview.chromium.org/1297953004/diff/40001/content/gpu/gpu_child_thread.h#newcode22 content/gpu/gpu_child_thread.h:22: #include "content/gpu/gpu_process_control_impl.h" On 2015/10/02 21:34:51, Ken Rockot wrote: > ...
5 years, 2 months ago (2015-10-02 22:07:48 UTC) #7
xhwang
jam: Please OWNERS review!
5 years, 2 months ago (2015-10-02 22:08:04 UTC) #8
xhwang
On 2015/10/02 22:08:04, xhwang wrote: > jam: Please OWNERS review! jam: kindly ping :)
5 years, 2 months ago (2015-10-05 21:14:36 UTC) #9
jam
either sievers or piman would be better reviewers as it's related to gpu
5 years, 2 months ago (2015-10-06 19:08:05 UTC) #11
xhwang
On 2015/10/06 19:08:05, jam wrote: > either sievers or piman would be better reviewers as ...
5 years, 2 months ago (2015-10-06 19:13:23 UTC) #12
piman
https://codereview.chromium.org/1297953004/diff/60002/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/1297953004/diff/60002/content/browser/gpu/gpu_process_host.cc#newcode590 content/browser/gpu/gpu_process_host.cc:590: CHECK(!mojo_application_host_); DCHECK https://codereview.chromium.org/1297953004/diff/60002/content/browser/gpu/gpu_process_host.cc#newcode888 content/browser/gpu/gpu_process_host.cc:888: if (mojo_application_host_) { When would ...
5 years, 2 months ago (2015-10-06 19:59:36 UTC) #13
xhwang
piman: PTAL again! https://chromiumcodereview.appspot.com/1297953004/diff/60002/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://chromiumcodereview.appspot.com/1297953004/diff/60002/content/browser/gpu/gpu_process_host.cc#newcode590 content/browser/gpu/gpu_process_host.cc:590: CHECK(!mojo_application_host_); On 2015/10/06 19:59:35, piman (slow ...
5 years, 2 months ago (2015-10-07 19:07:58 UTC) #14
piman
LGTM, +asviktine for guidance about the internal histograms.xml https://chromiumcodereview.appspot.com/1297953004/diff/60002/content/browser/mojo/mojo_shell_context.cc File content/browser/mojo/mojo_shell_context.cc (right): https://chromiumcodereview.appspot.com/1297953004/diff/60002/content/browser/mojo/mojo_shell_context.cc#newcode112 content/browser/mojo/mojo_shell_context.cc:112: CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH); ...
5 years, 2 months ago (2015-10-08 22:37:02 UTC) #16
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/1297953004/diff/110001/content/common/gpu/gpu_process_launch_causes.h File content/common/gpu/gpu_process_launch_causes.h (right): https://chromiumcodereview.appspot.com/1297953004/diff/110001/content/common/gpu/gpu_process_launch_causes.h#newcode11 content/common/gpu/gpu_process_launch_causes.h:11: // http://cs/file:chrome/histograms.xml On 2015/10/08 22:37:02, piman (slow to review) ...
5 years, 2 months ago (2015-10-09 16:58:09 UTC) #17
xhwang
comments addressed
5 years, 2 months ago (2015-10-09 23:36:30 UTC) #18
xhwang
https://chromiumcodereview.appspot.com/1297953004/diff/60002/content/browser/mojo/mojo_shell_context.cc File content/browser/mojo/mojo_shell_context.cc (right): https://chromiumcodereview.appspot.com/1297953004/diff/60002/content/browser/mojo/mojo_shell_context.cc#newcode112 content/browser/mojo/mojo_shell_context.cc:112: CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH); On 2015/10/08 22:37:02, piman (slow to review) wrote: ...
5 years, 2 months ago (2015-10-09 23:36:35 UTC) #19
xhwang
rebase only
5 years, 2 months ago (2015-10-10 00:02:11 UTC) #20
piman
Ok, LGTM
5 years, 2 months ago (2015-10-10 00:24:14 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297953004/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297953004/150001
5 years, 2 months ago (2015-10-10 00:24:37 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:150001)
5 years, 2 months ago (2015-10-10 01:54:21 UTC) #25
commit-bot: I haz the power
5 years, 2 months ago (2015-10-10 01:55:31 UTC) #26
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9c8e128c413c383fc9d4b9cd8175e0d5673214f2
Cr-Commit-Position: refs/heads/master@{#353453}

Powered by Google App Engine
This is Rietveld 408576698