Skip to content
Commit 8b1af9e8 authored by Ricky Liang's avatar Ricky Liang Committed by Commit Bot
Browse files

[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.

Bug: 1131998, b:169429427
Test: Manually with chrome://gpuclean on soraka
Change-Id: Ie6306653e779885fbf131c9964ae8ed90493ac76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2455328


Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Reviewed-by: default avatarccameron <ccameron@chromium.org>
Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Ricky Liang <jcliang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820061}
parent e89a009f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment