BrowserMainLoop owns FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=730193
Review-Url: https://codereview.chromium.org/2932893002
Cr-Commit-Position: refs/heads/master@{#478766}
Committed: https://chromium.googlesource.com/chromium/src/+/ea6969825e1264bf84d00ead0c7f8e849e06f570
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/314843)
3 years, 6 months ago
(2017-06-09 20:13:59 UTC)
#4
Description was changed from ========== Make FrameSinkManagerHost A world with the display compositor in the ...
3 years, 6 months ago
(2017-06-09 20:39:07 UTC)
#7
Description was changed from
==========
Make FrameSinkManagerHost
A world with the display compositor in the GPU process, is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
a singleton that can be accessed from both content/ and ui/ and does
not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=none
==========
to
==========
Make FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=none
==========
Fady Samuel
Description was changed from ========== Make FrameSinkManagerHost A world with the display compositor in the ...
3 years, 6 months ago
(2017-06-09 20:39:34 UTC)
#8
Description was changed from
==========
Make FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=none
==========
to
==========
BrowserMainLoop owns FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=none
==========
Fady Samuel
Description was changed from ========== BrowserMainLoop owns FrameSinkManagerHost A world with the display compositor in ...
3 years, 6 months ago
(2017-06-09 20:40:52 UTC)
#9
Description was changed from
==========
BrowserMainLoop owns FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=none
==========
to
==========
BrowserMainLoop owns FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=730193
==========
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/93089)
3 years, 6 months ago
(2017-06-09 21:03:31 UTC)
#13
https://codereview.chromium.org/2932893002/diff/20001/content/browser/compositor/surface_utils.cc File content/browser/compositor/surface_utils.cc (left): https://codereview.chromium.org/2932893002/diff/20001/content/browser/compositor/surface_utils.cc#oldcode178 content/browser/compositor/surface_utils.cc:178: return CompositorImpl::GetFrameSinkManagerHost(); Should we remove the FrameSinkManagerHost in CompositorImpl ...
3 years, 6 months ago
(2017-06-09 21:09:28 UTC)
#14
PTAL Antoine! I've fixed offscreen canvas unit tests to take in a FrameSinkManagerHost. https://codereview.chromium.org/2932893002/diff/20001/content/browser/compositor/surface_utils.cc File ...
3 years, 6 months ago
(2017-06-09 21:49:17 UTC)
#15
When FrameSinkManagerHost needs a mojo pointer to the Gpu process, we can't start it until ...
3 years, 6 months ago
(2017-06-09 22:38:12 UTC)
#20
When FrameSinkManagerHost needs a mojo pointer to the Gpu process, we can't
start it until BrowserMainLoop::BrowserThreadsStarted? But it's currently in
BrowserMainLoop::PostMainMessageLoopStart, is that a problem?
danakj
https://codereview.chromium.org/2932893002/diff/40001/content/browser/renderer_host/offscreen_canvas_provider_impl_unittest.cc File content/browser/renderer_host/offscreen_canvas_provider_impl_unittest.cc (right): https://codereview.chromium.org/2932893002/diff/40001/content/browser/renderer_host/offscreen_canvas_provider_impl_unittest.cc#newcode151 content/browser/renderer_host/offscreen_canvas_provider_impl_unittest.cc:151: frame_sink_manager_host_ = base::MakeUnique<viz::FrameSinkManagerHost>(); Please destroy things in TearDown that ...
3 years, 6 months ago
(2017-06-09 22:43:37 UTC)
#21
https://codereview.chromium.org/2932893002/diff/60001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2932893002/diff/60001/content/browser/browser_main_loop.cc#newcode1461 content/browser/browser_main_loop.cc:1461: if (!service_manager::ServiceManagerIsRemote()) { Don't we need a FrameSinkManagerHost when ...
3 years, 6 months ago
(2017-06-09 22:54:09 UTC)
#26
LGTM https://codereview.chromium.org/2932893002/diff/60001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2932893002/diff/60001/content/browser/browser_main_loop.cc#newcode1461 content/browser/browser_main_loop.cc:1461: if (!service_manager::ServiceManagerIsRemote()) { On 2017/06/09 22:55:00, Fady Samuel ...
3 years, 6 months ago
(2017-06-09 22:57:45 UTC)
#28
LGTM
https://codereview.chromium.org/2932893002/diff/60001/content/browser/browser...
File content/browser/browser_main_loop.cc (right):
https://codereview.chromium.org/2932893002/diff/60001/content/browser/browser...
content/browser/browser_main_loop.cc:1461: if
(!service_manager::ServiceManagerIsRemote()) {
On 2017/06/09 22:55:00, Fady Samuel wrote:
> On 2017/06/09 22:54:09, danakj wrote:
> > Don't we need a FrameSinkManagerHost when the ServiceManagerIsRemote too?
>
> No, the FrameSinkManagerHost is in the window server not in the browser
process
> when running in Mus+Ash.
Oh I see, this is different than FrameSinkManagerIsRemote :)
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 6 months ago
(2017-06-10 01:58:59 UTC)
#29
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/314934)
3 years, 6 months ago
(2017-06-10 01:59:00 UTC)
#30
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/315393)
3 years, 6 months ago
(2017-06-12 16:30:24 UTC)
#34
PTAL Antoine! Are you OK with this CL as is for now? Dependency injecting FrameSinkManagerHost ...
3 years, 6 months ago
(2017-06-12 18:25:07 UTC)
#37
PTAL Antoine! Are you OK with this CL as is for now? Dependency injecting
FrameSinkManagerHost into CompositorImpl on Android turns out to be a mess
because content::Compositor is accessed by Chrome for VR, and CompositorImpl has
a bunch of static accessors that need to be made non-static and so on.
It's doable, but it's a lot of mechanical work that isn't getting us closer to a
Chrome for Linux or Chrome OS build running with viz.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 6 months ago
(2017-06-12 18:45:58 UTC)
#38
CQ is committing da patch. Bot data: {"patchset_id": 120001, "attempt_start_ts": 1497297267275190, "parent_rev": "57cbe4e5fd1f7d7c24b404b783e0587aa97cbfd3", "commit_rev": "ea6969825e1264bf84d00ead0c7f8e849e06f570"}
3 years, 6 months ago
(2017-06-12 21:14:34 UTC)
#45
CQ is committing da patch.
Bot data: {"patchset_id": 120001, "attempt_start_ts": 1497297267275190,
"parent_rev": "57cbe4e5fd1f7d7c24b404b783e0587aa97cbfd3", "commit_rev":
"ea6969825e1264bf84d00ead0c7f8e849e06f570"}
commit-bot: I haz the power
Description was changed from ========== BrowserMainLoop owns FrameSinkManagerHost A world with the display compositor in ...
3 years, 6 months ago
(2017-06-12 21:14:48 UTC)
#46
Message was sent while issue was closed.
Description was changed from
==========
BrowserMainLoop owns FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=730193
==========
to
==========
BrowserMainLoop owns FrameSinkManagerHost
A world with the display compositor in the GPU process is a world
without GpuProcessTransportFactory and ImageTransportFactory.
ImageTransportFactory is a singleton. This CL makes FrameSinkManagerHost
owned by BrowserMainLoop that can be accessed from both content/ and ui/
and does not depend on ImageTransportFactory/GpuProcessTransportFactory.
BUG=730193
Review-Url: https://codereview.chromium.org/2932893002
Cr-Commit-Position: refs/heads/master@{#478766}
Committed:
https://chromium.googlesource.com/chromium/src/+/ea6969825e1264bf84d00ead0c7f...
==========
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/ea6969825e1264bf84d00ead0c7f8e849e06f570
3 years, 6 months ago
(2017-06-12 21:14:50 UTC)
#47
Issue 2932893002: BrowserMainLoop owns FrameSinkManagerHost
(Closed)
Created 3 years, 6 months ago by Fady Samuel
Modified 3 years, 6 months ago
Reviewers: piman, danakj
Base URL:
Comments: 9