commit | f0c654996a47fafb9786df7445fc168bbb4a5a77 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Tue Jul 28 12:31:28 2020 -0700 |
committer | Chong Zhang <chz@google.com> | Wed Jul 29 12:03:36 2020 -0700 |
tree | 084428176e72f84ad21aea793f3b66609d770722 | |
parent | cb7e4189cde70020917a928e6843154d1ad5edbe [diff] |
Unbind texture buffer after each drawLayers call This is to make sure that the source buffer gets removed from the RenderEngine's image cache, otherwise it may leak memory. bug: 162202251 test: CTS MetadataRetrieverTest; also test with local test app that extracts many frames from hdr video clips, meminfo should not show growing graphics memory before & after the app run. Change-Id: Id970281732322da68a670a69bbe2f20a20881ebc