This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AVDACodecImages keep their backing SurfaceTexture alive
Previously, when destructing an AVDA, we had to delete the AVDACodecImages attached to the PictureBuffer textures, and use a fragile method of copying the SurfaceTexture buffer and creating egl images to make sure those PictureBuffer textures didn't become unbacked. Now the AVDACodecImages are kept alive by the Textures they're bound to, and they keep a ref to AVDASharedState which contains the shared SurfaceTexture and its platform texture. The AVDASharedState destructor cleans up the SurfaceTexture and deletes the platform texture. BUG=533630,614090 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2005103004 Cr-Commit-Position: refs/heads/master@{#398293} (cherry picked from commit 3e46593) Review URL: https://codereview.chromium.org/2049053004 . Cr-Commit-Position: refs/branch-heads/2743@{#290} Cr-Branched-From: 2b3ae3b-refs/heads/master@{#394939}
- Loading branch information
Chris Watkins
committed
Jun 9, 2016
1 parent
4476f79
commit 89c1f3f
Showing
9 changed files
with
107 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.