summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorWiwit Rifa'i <wiwitrifai@google.com>2022-01-26 11:48:07 +0800
committerWiwit Rifa'i <wiwitrifai@google.com>2022-03-24 20:33:39 +0800
commit75d18a2743f3a703bd225aab5cac54828719dabf (patch)
tree490ad15493800dd0a63c6aab8cf59345f5846460 /hwc3/impl/HalImpl.cpp
parente99e2f48c694ab97c4d642cae22882e648051f99 (diff)
libhwc2.1: optimize & refine fence tracer
Prevent iterating all 1024 fence entries by maintaining the fences in a map. We also don't need to limit the fences up to 1024 anymore. This patch will also remove the spamming warning log of "fence (fd:%d) over MAX fd number" since we don't limit the number of traced fences anymore. Test: simpleperf Bug: 205901399 Bug: 201249391 Change-Id: I4e96eb7053dae24e3eeec88c9b74ca2b5f12714e
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
0 files changed, 0 insertions, 0 deletions