gpu: Retry gpu channel connection in the host.
If establishing a gpu channel fails, then it could be because access to gpu is not allowed, in which case the client should use software fallback. If, on the other hand, the failure happens because the gpu process was killed, or the gpu process crashed, then the attempt to establish the channel should be retried. But instead of retrying in the clients, retry in the host, which has better information to know whether a retry attempt may be successful or not. Remove the retry logic in the renderer (in RenderWidgetCompositor), since the host (GpuClient) will be taking care of that. BUG=609316 Change-Id: Ibcc1d5e79f354ccb282bad2321fca26d1c06402c Reviewed-on: https://chromium-review.googlesource.com/571490Reviewed-by:Antoine Labour <piman@chromium.org> Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#486835}
Showing
Please register or sign in to comment