Fix Windows overlay texture lifetime
With SkiaRenderer on Windows overlay textures weren't kept alive after the client destroys them if still in use. Implement something in SkiaOutputDeviceGL that is similar SkiaOutputDeviceBufferQueue where we keep a map of mailboxes to textures to keep alive. Instead of using SharedImageRepresentationOverlay we have to use GLImage still as not all Windows video paths are using shared image. Bug: 1136194 Change-Id: Ibeb5726b914058c0868a90dcc9bca74a8499c660 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462038Reviewed-by:Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#817164}
Showing
Please register or sign in to comment