Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp67 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod()
68 return static_cast<std::underlying_type_t<VSyncRequest>>(request); in vsyncPeriod()
71 std::string toString(VSyncRequest request) { in toString()
73 case VSyncRequest::None: in toString()
75 case VSyncRequest::Single: in toString()
77 case VSyncRequest::SingleSuppressCallback: in toString()
365 if (static_cast<std::underlying_type_t<VSyncRequest>>(rate) < 0) { in setVsyncRate()
371 const auto request = rate == 0 ? VSyncRequest::None : static_cast<VSyncRequest>(rate); in setVsyncRate()
383 if (connection->vsyncRequest == VSyncRequest::None) { in requestNextVsync()
384 connection->vsyncRequest = VSyncRequest::Single; in requestNextVsync()
[all …]
DEventThread.h59 enum class VSyncRequest { enum
83 VSyncRequest vsyncRequest = VSyncRequest::None;