commit | ee3754ab24a551f846e524e08a3bab425a70ab40 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Fri Mar 15 12:07:35 2019 -0400 |
committer | Stan Iliev <stani@google.com> | Wed Mar 20 03:23:22 2019 +0000 |
tree | 13577d3917821d7dff69fc92dab2e47d72d53477 | |
parent | d4b81682e120bd5d45d086916b7e4e94ff335a03 [diff] |
Fix TextureView glitch and memory leak Keep EglImage/VkImage alive until the last SkImage object using it is destroyed. Fix memory leak with GL pipeline only, caused by destroying EGLImage on the wrong thread. Make sure cached SkImage dtor is invoked on RenderThread. Bug: 128523183 Bug: 128688107 Test: Ran settings app, systrace and CTS Change-Id: I32c14c7174a2a97e54fbfaa49dffb4e9a160f90d