Lines Matching refs:VSyncRequest
67 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()
386 } else if (connection->vsyncRequest == VSyncRequest::SingleSuppressCallback) { in requestNextVsync()
387 connection->vsyncRequest = VSyncRequest::Single; in requestNextVsync()
510 vsyncRequested |= connection->vsyncRequest != VSyncRequest::None; in threadMain()
600 case VSyncRequest::None: in shouldConsumeEvent()
602 case VSyncRequest::SingleSuppressCallback: in shouldConsumeEvent()
603 connection->vsyncRequest = VSyncRequest::None; in shouldConsumeEvent()
605 case VSyncRequest::Single: { in shouldConsumeEvent()
609 connection->vsyncRequest = VSyncRequest::SingleSuppressCallback; in shouldConsumeEvent()
612 case VSyncRequest::Periodic: in shouldConsumeEvent()