diff options
author | Robert Carr <racarr@google.com> | 2020-04-02 12:28:36 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2020-04-02 12:28:36 -0700 |
commit | cb250de686d3a4b318c11ea7970d91fc5ff3c041 (patch) | |
tree | 16eb9170234dee2f502401d066c65088b3d8fc06 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b164ea9d7ab9d1e9771069310f919e408c43ccee (diff) |
BLASTBufferQueue: Avoid unnecessary transactions
Currently every call to getOrCreateBLASTSurface produces a transaction.
This transaction has two parts, both of which can be eliminated:
1. The first is the reparent. This was written when the
client allocated the BLAST SurfaceControl, but now the WM
allocates it and it has the correct parent to start, so
we can just eliminate this.
2. Showing the surface. We can eliminate this by just showing
the surface by default.
Bug: 152501055
Test: Flip BLAST flag. Play.
Change-Id: If6e28e9153a09909fb3bb061980deb82c132dd5a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions