commit | f16da3cb8f2f0517821bb7d121f380f6b3da01d3 | [log] [tgz] |
---|---|---|
author | Rachel Lee <rnlee@google.com> | Thu Jan 20 13:57:18 2022 -0800 |
committer | Rachel Lee <rnlee@google.com> | Mon Feb 07 13:16:31 2022 -0800 |
tree | 42a63e6c747ad31786230343b0a042bcceb062dd | |
parent | 18c3437b13645962af487703b15815f93e8ee565 [diff] [blame] |
Create data class VSyncSource::VSyncData. Clean up in preparation for ag/16682595. Bug: 205721584 Test: atest libsurfaceflinger_unittest Change-Id: I64f0ea618037136051b2c895f956e523d22b698f
diff --git a/services/surfaceflinger/Scheduler/DispSyncSource.cpp b/services/surfaceflinger/Scheduler/DispSyncSource.cpp index 50b38c9..c593340 100644 --- a/services/surfaceflinger/Scheduler/DispSyncSource.cpp +++ b/services/surfaceflinger/Scheduler/DispSyncSource.cpp
@@ -180,7 +180,7 @@ } if (callback != nullptr) { - callback->onVSyncEvent(targetWakeupTime, vsyncTime, readyTime); + callback->onVSyncEvent(targetWakeupTime, {vsyncTime, readyTime}); } }