Reland r209673: "gpu: Propagate lost context signal to all contexts"
Reland the patch with a fix for the StartupTest crashes observed on "Mac 10.6
Perf(2)".
BUG=232449
> gpu: Propagate lost context signal to all contexts
>
> When any individual command buffer context encounters a context lost
> event, propagate the context lost status to all other contexts if
> gfx::GLContext::LosesAllContextsOnContextLost() is true. This allows
> all command buffer clients to get notified of GPU resets. This is
> useful with virtual contexts because the reset is generally picked
> up by a random virtual context.
>
> Also, if virtual contexts are being used, all contexts should avoid
> doing GL object cleanup during teardown because the real context has
> already been lost at that point.
>
> BUG=232449
> TEST=https://www.khronos.org/registry/webgl/conformance-suites/1.0.1/extra/lots-of-polys-example.html
>
> Review URL: https://chromiumcodereview.appspot.com/
17550012
Review URL: https://chromiumcodereview.appspot.com/
18836003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210977 0039d316-1c4b-4281-b951-d872f2087c98