commit | 0d995106c0fb4480ac1de5f58667d918fa9aea62 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Wed Feb 24 16:53:38 2021 -0800 |
committer | Alec Mouri <alecmouri@google.com> | Fri Feb 26 11:24:33 2021 -0800 |
tree | fdac62f05e2462c9170981ec9b80dbf6ea75a6f2 | |
parent | ec1691271f4732807a21fd678bfddb3c7b25c3ae [diff] |
Dispatch texture destruction off of render thread for screenshots This is only enabled when the skia threaded variant renderengine is enabled. This essentially defers texture deletion until after drawLayers() is invoked, which shaves off time from the main SF thread. Bug: 179959621 Bug: 180767535 Test: perfetto trace Change-Id: I333091d8792fdd0dc01076c73af2956da9ee73df