summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2024-01-23 16:05:59 -0500
committer Leon Scroggins III <scroggo@google.com> 2024-01-24 12:25:23 -0500
commita0785019e684e66ef9c8080d01a4d5b3d6c44ebf (patch)
treed4c170a2c58f9f68e13820a674318167455e7d20 /libs/gui/SurfaceComposerClient.cpp
parent9e14fec232dcea20ed67081653b694dbe5cf525e (diff)
Add optional parameter to IVsyncSource::vsyncDeadlineAfter
vsyncDeadlineAfter just forwards its parameter to VSyncTracker::nextAnticipatedVSyncTimeFrom, but the latter has an optional parameter, too. Adding the optional parameter to vsyncDeadlineAfter allows Scheduler::getNextFrameInterval to call it directly. This will further help to move getNextFrameInterval's impl into FrameTargeter::beginFrame, in I229e09ccd760341268423fd4ba1ecc5105186f10. Use Android's TimePoint and related classes directly in getNextFrameInterval. Bug: 315371484 Test: atest libscheduler_test:SchedulerTest#nextFrameIntervalTest Change-Id: I1ede36d692b82a1f7276071fa558decced743334
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions