Lines Matching defs:vsync
98 vsync = &vsyncHook;
459 case Callback::Vsync: return true;
491 } else if (descriptor == Callback::Vsync) {
532 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(pointer);
534 vsync(callbackData, pendingVsync.first, pendingVsync.second);
566 mVsyncEnabled(Vsync::Invalid),
997 static bool isValid(Vsync enable) {
999 case Vsync::Enable: // Fall-through
1000 case Vsync::Disable: return true;
1005 Error HWC2On1Adapter::Display::setVsyncEnabled(Vsync enable)
1017 mHwc1Id, HWC_EVENT_VSYNC, enable == Vsync::Enable);
1018 ALOGE_IF(error != 0, "setVsyncEnabled: Failed to set vsync on HWC1 (%d)",
1624 output << "Vsync: " << to_string(mVsyncEnabled) << '\n';
2589 if (mCallbacks.count(Callback::Vsync) == 0) {
2599 const auto& callbackInfo = mCallbacks[Callback::Vsync];
2605 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer);
2606 vsync(callbackInfo.data, displayId, timestamp);