[VideoCapture] Handle GPU context lost for the zero-copy path
When the render thread encounters GPU context lost, we need to re-create the SharedImage resources to recover the video capture stream. This is a reland of crrev.com/c/2455328 with a fix to address the MSAN test failure Bug: 1131998, b:169429427 Test: Manually with chrome://gpuclean on soraka TBR=jcliang@chromium.org,ccameron@chromium.org,kbr@chromium.org,dcastagna@chromium.org,guidou@chromium.org,ccameron@google.com Change-Id: I3d00abaea04ccf95a795e116f5fc7ff5c7d7f43a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494406Reviewed-by:Ricky Liang <jcliang@chromium.org> Commit-Queue: Ricky Liang <jcliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#820175}
Showing
Please register or sign in to comment