Home
last modified time | relevance | path

Searched refs:mLastPresentFence (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/
DVariableRefreshRateController.cpp211 if (mLastPresentFence.has_value()) { in ~VariableRefreshRateController()
212 if (close(mLastPresentFence.value())) { in ~VariableRefreshRateController()
215 mLastPresentFence = std::nullopt; in ~VariableRefreshRateController()
239 if (mLastPresentFence.has_value()) { in reset()
240 if (close(mLastPresentFence.value())) { in reset()
243 mLastPresentFence = std::nullopt; in reset()
708 if (mLastPresentFence.has_value()) { in onPresent()
711 mLastPresentFence = dupFence; in onPresent()
1154 if (!mLastPresentFence.has_value()) { in updateVsyncHistory()
1157 fence = mLastPresentFence.value(); in updateVsyncHistory()
[all …]
DVariableRefreshRateController.h319 std::optional<int> mLastPresentFence; variable