Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp49 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod()
50 return static_cast<std::underlying_type_t<VSyncRequest>>(request); in vsyncPeriod()
53 std::string toString(VSyncRequest request) { in toString()
55 case VSyncRequest::None: in toString()
57 case VSyncRequest::Single: in toString()
244 if (static_cast<std::underlying_type_t<VSyncRequest>>(rate) < 0) { in setVsyncRate()
250 const auto request = rate == 0 ? VSyncRequest::None : static_cast<VSyncRequest>(rate); in setVsyncRate()
264 if (connection->vsyncRequest == VSyncRequest::None) { in requestNextVsync()
265 connection->vsyncRequest = VSyncRequest::Single; in requestNextVsync()
347 vsyncRequested |= connection->vsyncRequest != VSyncRequest::None; in threadMain()
[all …]
DEventThread.h49 enum class VSyncRequest { enum
85 VSyncRequest vsyncRequest = VSyncRequest::None;