commit | 902ce2a7fe9b892d3f98a7cd0cbf74c6c4a6c400 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Thu Mar 07 18:13:55 2019 -0500 |
committer | Stan Iliev <stani@google.com> | Tue Mar 12 13:23:24 2019 +0000 |
tree | 617e336d876735a7d069fdcc6af2d1f09f9658db | |
parent | 8bf530ae17f48dc3590acaeaa36cfdfdf3020ef6 [diff] |
Cache EGLImage and VkImage used by SurfaceTexture Reuse EGLImage or VkImage for GraphicBuffer created by SurfaceTexture. Destroy EGLImage/VkImage, when there is a new GraphicBuffer or GrContext is about to be destroyed. Test: Ran Camera lens and other TextureView apps with GL and Vk Test: Passed TextureView CTS tests Bug: 123953909 Change-Id: I6ad4aa889060bbb64380d7dbac13676a7339b2f8