DescriptionMus: Pass the mojo connector to OzonePlatform::InitializeForGPU
OzonePlatform::InitializeForGPU is currently called without any
initialization parameter in gl::init::GetAllowedGLImplementations.
This latter function is itself called from gl::init::InitializeGLOneOff
and for mus we actually have the following call stack:
gl::init::InitializeGLOneOff
gpu::GpuInit::InitializeAndStartSandbox
ui::GpuMain::GpuMain
ui::ws::GpuServiceProxy::GpuServiceProxy
ui::ws::WindowServer::WindowServer
ui::Service::OnStart
This CL transmits the mojo connector from ui::Service::OnStart to
gpu::GpuInit::InitializeAndStartSandbox and adds a call to
InitializeForGPU before InitializeGLOneOff, so that the Ozone GPU
component is initialized with the mojo connector.
BUG=620934, 620927
R=rjkroege
TEST=manually tested with "chrome --mash --ozone-platform=x11"
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|