Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fed621c6 authored by Chavi Weingarten's avatar Chavi Weingarten
Browse files

Deprecate ASurfaceTransactionStats_getAcquireTime

Test: Builds
Bug: 203080148
Change-Id: I586339b82e408e0ac90944ab280a2d5b79309141
parent fc2deb96
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -236,6 +236,10 @@ void ASurfaceTransactionStats_releaseASurfaceControls(ASurfaceControl** surface_
 * it is acquired. If no acquire_fence_fd was provided, this timestamp will be set to -1.
 *
 * Available since API level 29.
 *
 * @deprecated This may return SIGNAL_PENDING because the stats can arrive before the acquire
 * fence has signaled, depending on internal timing differences. Therefore the caller should
 * use the acquire fence passed in to setBuffer and query the signal time.
 */
int64_t ASurfaceTransactionStats_getAcquireTime(ASurfaceTransactionStats* surface_transaction_stats,
                                                ASurfaceControl* surface_control)