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

Issue 2327073002: [WIP] Pass the single_process parameter to Ozone's initialization functions (Closed)

Created:
4 years, 3 months ago by fwang
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews, sadrul, jam, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, tonikitoo, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WIP] Pass the single_process parameter to Ozone's initialization functions Calls to the InitializeForUI and InitializeForGPU functions of Ozone are updated to pass the single_process parameter. It is always false for Mus and otherwise parsed from the command line. The call to InitializeForGPU is done in the initialization of the GPU thread, as suggested in https://codereview.chromium.org/2270463002. This is also more convenient to determine the init parameters. Similarly, the determination of whether Mus is used and of the value of single_process is moved from ui/aura to content/browser, where this task becomes easier. This information is transmitted to aura::Env::CreateInstance via new boolean value parameters. ui:OzonePlatform::InitializeFor* and aura::Env::CreateInstance calls from unit tests are not updated in this CL and still use default values. The connector parameters of ui:OzonePlatform::InitializeFor* functions is still not set either. BUG=620934, 620927

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -16 lines) Patch
M content/browser/browser_main_loop.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 chunk +7 lines, -0 lines 2 comments Download
M content/gpu/gpu_main.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M services/ui/gpu/gpu_service_internal.cc View 1 chunk +3 lines, -1 line 2 comments Download
M ui/aura/env.h View 2 chunks +3 lines, -2 lines 2 comments Download
M ui/aura/env.cc View 3 chunks +8 lines, -11 lines 0 comments Download
M ui/gl/init/gl_factory_ozone.cc View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 12 (3 generated)
fwang
Hi Robert. I'm not sure this patch is really ready yet, but I'm adding you ...
4 years, 3 months ago (2016-09-09 15:41:08 UTC) #3
rjkroege
https://codereview.chromium.org/2327073002/diff/1/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/2327073002/diff/1/content/gpu/gpu_child_thread.cc#newcode185 content/gpu/gpu_child_thread.cc:185: #if defined(USE_OZONE) you shouldn't need this here. https://codereview.chromium.org/2327073002/diff/1/services/ui/gpu/gpu_service_internal.cc File ...
4 years, 3 months ago (2016-09-12 20:39:12 UTC) #4
rjkroege
On 2016/09/09 15:41:08, fwang wrote: > Hi Robert. I'm not sure this patch is really ...
4 years, 3 months ago (2016-09-13 02:24:11 UTC) #5
fwang
On 2016/09/13 02:24:11, rjkroege wrote: > On 2016/09/09 15:41:08, fwang wrote: > I'm not sure ...
4 years, 3 months ago (2016-09-13 13:48:11 UTC) #6
fwang
https://codereview.chromium.org/2327073002/diff/1/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/2327073002/diff/1/content/gpu/gpu_child_thread.cc#newcode185 content/gpu/gpu_child_thread.cc:185: #if defined(USE_OZONE) On 2016/09/12 20:39:12, rjkroege wrote: > you ...
4 years, 3 months ago (2016-09-13 13:49:19 UTC) #7
fwang
On 2016/09/13 13:49:19, fwang wrote: > (although if I follow how the sequence is > ...
4 years, 3 months ago (2016-09-14 06:34:46 UTC) #8
rjkroege
On 2016/09/14 06:34:46, fwang wrote: > On 2016/09/13 13:49:19, fwang wrote: > > (although if ...
4 years, 3 months ago (2016-09-21 13:40:52 UTC) #9
fwang
On 2016/09/21 13:40:52, rjkroege wrote: > Mojo is not supported in standard Chrome for ozone ...
4 years, 3 months ago (2016-09-21 14:25:52 UTC) #10
fwang
3 years, 10 months ago (2017-02-23 12:03:36 UTC) #12
I'm closing this CL.

Powered by Google App Engine
This is Rietveld 408576698