summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2019-11-18 17:42:12 -0800
committer Yiwei Zhang <zzyiwei@google.com> 2019-11-18 17:42:12 -0800
commit487340f03dd621406c0e293200d22a1c06a8c4df (patch)
tree2b1f461cd69ca6338a2d7e948b4434dac7ea231a /libs/gui/ConsumerBase.cpp
parentd3df1b3476a0840c16622be619ba5876351a2bb2 (diff)
TimeStats: make sure acquire fence is captured
Previously, if setAcquireFence happens earlier than setPostTime, the acquire fence is not recorded in TimeStats which ends up with acquire time being the same with post time. This issue is almost eliminated after a previous refactoring of the order of recording TimeStats and EGL throttling logic. Since acquire fence is already available at post time, this change just captures that by then to avoid any chance of missing the acquire fence. Bug: 140266250 Test: atest libsurfaceflinger_unittest:TimeStatsTest Change-Id: I90a5ab609afc7054c618273c3af79c9d12d85730
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions