Lines Matching refs:VSyncRequest
49 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()
416 case VSyncRequest::None: in shouldConsumeEvent()
418 case VSyncRequest::Single: in shouldConsumeEvent()
419 connection->vsyncRequest = VSyncRequest::None; in shouldConsumeEvent()
421 case VSyncRequest::Periodic: in shouldConsumeEvent()