Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp61 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod()
62 return static_cast<std::underlying_type_t<VSyncRequest>>(request); in vsyncPeriod()
65 std::string toString(VSyncRequest request) { in toString()
67 case VSyncRequest::None: in toString()
69 case VSyncRequest::Single: in toString()
71 case VSyncRequest::SingleSuppressCallback: in toString()
324 if (static_cast<std::underlying_type_t<VSyncRequest>>(rate) < 0) { in setVsyncRate()
330 const auto request = rate == 0 ? VSyncRequest::None : static_cast<VSyncRequest>(rate); in setVsyncRate()
344 if (connection->vsyncRequest == VSyncRequest::None) { in requestNextVsync()
345 connection->vsyncRequest = VSyncRequest::Single; in requestNextVsync()
[all …]
DEventThread.h56 enum class VSyncRequest { enum
108 VSyncRequest vsyncRequest = VSyncRequest::None;