[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: I872a06a37dbce1eefadf6b0f256b80d0f87ecac0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494297Reviewed-by:Ricky Liang <jcliang@chromium.org> Commit-Queue: Ricky Liang <jcliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#820256}
Showing
Please register or sign in to comment