summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Theodore Dubois <tbodt@google.com> 2022-11-23 15:06:33 -0800
committer Theodore Dubois <tbodt@google.com> 2022-12-14 01:15:11 +0000
commit205c6dda83a81150bea1357ce3d22b7a739b0a1f (patch)
tree068d4c9da556628958f25ad0e3e6c562775ad8d3 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent95538a1ca5818f56ec2292131c9316369b749431 (diff)
Improve handling of hwcomposer with unsupported present fences
An implementation such as HWC2OnFbAdapter always returns -1 for the present fence. FrameTimeline should not ignore invalid fences in mPendingPresentFences, since in this case every fence is invalid, resulting in resource leaks. Similarly, PresentLatencyTracker should not be used if HWC doesn't support present fences. Test: no logspam running on starnix (fuchsia), which uses framebuffer Test: booted emulator, no behavior change Test: booted panther, no behavior change Change-Id: I4a11edc443a1cd3a395fc8f97b93a5474d11fe31
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions