Fix WebGL drawn to another 2D canvas after tab is backgrounded.
In this scenario, the WebGL canvas's ResourceProvider holds a copy of the rendered content. This ResourceProvider is purged when the tab is backgrounded, so ensure it is repopulated even if the canvas thinks its state has not changed. Thanks to Xing Xu from Intel for the original CL and test case. Bug: 736969 Change-Id: Ib57a65f1fee2ab95099b335171034d83ce9ec29f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2639295 Commit-Queue: Kenneth Russell <kbr@chromium.org> Reviewed-by:Shrek Shao <shrekshao@google.com> Cr-Commit-Position: refs/heads/master@{#845449}
Showing
Please register or sign in to comment