summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-04-21 08:31:27 -0700
committerVishnu Nair <vishnun@google.com>2021-04-21 15:06:19 -0700
commitbeb3b482db3c596a448058ad5e125426255344e9 (patch)
tree1d299062b13e6b3ddade0193369482e6891f345a /tools/aapt2/java/JavaClassGenerator.cpp
parentd78b21c54858a5164fd239097efcd0805f0767ba (diff)
Introduce ASurfaceTransaction_setOnCommit api
Introduce a new callback for SurfaceControl transactions that fire after we commit a transaction in SurfaceFlinger. This will help some clients pace when they should apply the next transaction so it get applied on the next vsync. If they wait for the existing transaction complete callback, there may not be enough time between when the client applies the transaction and surface flinger waking up and apply it on the new vsync. This would mean the update would arrive a frame late. Bug: 185843251 Test: atest ASurfaceControlTest Change-Id: If0d5d01a1d5c2029eb81667356e666d7297376d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions