viz: Re-arrange the threads in ui::GpuMain.
This reverts commit 81ed4437. Create a separate thread for the compositor. Use the thread the GpuMain instance is created on as the thread for the GpuService. This allows using it in content (in GpuChildThread), where the main thread is used for the gpu service. For the mus window server, until the gpu process-split happens, create a separate thread for the gpu service from the DefaultGpuHost. After the process split, the main thread of the new process can be used for the gpu service (like GpuChildThread in content). BUG=730213 TBR=kylechar@chromium.org,fsamuel@chromium.org Change-Id: I96b5dc9e74e1c14db62659c686e537a3c131e2d7 Reviewed-on: https://chromium-review.googlesource.com/704158Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#506976}
Showing
Please register or sign in to comment