commit | 67765d8eca3993be89c1950afbc71ad21dd6677c | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Tue May 07 14:58:27 2019 -0700 |
committer | Dan Stoza <stoza@google.com> | Thu May 09 11:24:21 2019 -0700 |
tree | 097ad72715cc7535b33202ec99609f6d6ef88bd8 | |
parent | 9bc115d9bf68bd89ac531c687b8b59fca79c1eb7 [diff] |
[sf] Move texture deletion to main thread via pool Places deleted texture names into the texture pool, and adds code to postComposition to either generate textures if the pool is low or delete them if it is overfilled. Bug: 129393280 Test: Manual, systrace with gesture nav and observe deferred deletions Test: libsurfaceflinger_unittest, which was updated to pass Change-Id: I683ad5b817a29f679def22f0b746223aac3241d9