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

Skip to content
Commit 0897d598 authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Handle release fence when syncing preview to display

If release fence is enabled by the HAL, the time when a frame becomes
available isn't necessarily the time when processCaptureResult() is
called. The fence may signal sometime after processCaptureResult().

Support this use case by checking the reference frame's fence signal
time and update the captureToPresentOffset.

Test: Vendor testing
Bug: 276280239
Change-Id: I5278c2e2f9961af2cf667235254ad32eea126895
parent c10125de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment