commit | 4ee301ce3b1c20628c005f327a219b02be3484c7 | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Wed Nov 29 16:19:43 2017 |
committer | Commit Bot <[email protected]> | Wed Nov 29 16:19:43 2017 |
tree | 18c070f409cbffdbf8f5f8217e0293eb2175566f | |
parent | 31c3332e3c10c64ec14f4920bda83776941c5937 [diff] |
Add a forwarding CompositingModeReporter to the browser for viz When using --enable-viz, the display compositor and thus compositing mode decisions are in the viz process (gpu process). This adds a CompositingModeReporter to the viz process, that is connected to the browser process when it sets up its connection to the FrameSinkManager. Then the browser process owns a ForwardingCompositingModeReporterImpl which watches the gpu process' authoritative reporter, and acts as a CompositingModeReporter for other compositor clients (eg renderers) in the same way that the authoritative one would from the browser when not running viz. The BrowserMainLoop makes one or the other type of reporter, and connects clients to it. The VizProcessTransportFactory connects the forwarding one to the authoritative one, and reconnects it on gpu process restart. [email protected] Bug: 730660 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I9d9995fabf192c5ca470551f73322b5215628bc2 Reviewed-on: https://chromium-review.googlesource.com/788139 Reviewed-by: Antoine Labour <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: kylechar <[email protected]> Commit-Queue: danakj <[email protected]> Cr-Commit-Position: refs/heads/master@{#520131}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .