viz: Spawn renderer with gpu disabled when it's turned off already.
When the browser process sees that gpu compositing is off, it spawns the renderer with --disable-gpu-compositing so that it does not try to set up gpu compositing, then fall back to software, making wasted work. With viz this branch was being skipped since the ImageTransportFactory was not doing anything useful yet. Now that it is, we can query it the same way as we do in non-viz, since it watches the authoritative compositing mode, and checks the command line on startup itself. R=kylechar@chromium.org, piman@chromium.org Bug: 730660 Change-Id: Ibb4a4879f0fe78fa801144f4e7af6635722529f0 Reviewed-on: https://chromium-review.googlesource.com/794910 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#520183}
Showing
Please register or sign in to comment