summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Jian-Syuan (Shane) Wong <shanewong@google.com> 2023-05-24 17:08:08 +0000
committer Jian-Syuan (Shane) Wong <shanewong@google.com> 2023-06-01 21:55:05 +0000
commit83b2214131fdb89bcd2e417f86bdf185698e5468 (patch)
treefdaea926741327f9471403dfee8c869876221dcd /libs/hwui/AutoBackendTextureRelease.cpp
parent5c21964e992d003fa77767ed78df6b9fb365da02 (diff)
Add new APIs to AnimationUtils that set and get expectedPresentationTimeNano
Add two methods: 1. void lockAnimationClock(long vsyncMillis, long expectedPresentationTimeNano) allows developers to pass expectedPresentationTimeNano to the class. 2. long expectedPresentationTimeNano() allows developers to get current value of the expectedPresentationTimeNano (if available). Bug: 283122385 Test: atest ChoreographerTest Test: atest AnimationUtilsTest Change-Id: Iafe6728b012829b73bc5602521d62652360fd861
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions