Searched defs:ModeState (Results 1 – 1 of 1) sorted by relevance
462 struct ModeState { struct463 enum ModeStateType { argument489 void apply(ModeState &toModeState, DrmModeAtomicReq &drmReq) { in apply() argument495 int32_t mModeState = ModeStateType::MODE_STATE_NONE; argument496 void forceModeSet() { mModeState |= ModeStateType::MODE_STATE_FORCE_MODE_SET; } in forceModeSet() argument497 void clearPendingModeState() { mModeState = ModeStateType::MODE_STATE_NONE; } in clearPendingModeState() argument498 bool needsModeSet() const { return mModeState != ModeStateType::MODE_STATE_NONE; } in needsModeSet() argument499 bool isSeamless() const { return !(mModeState & ModeStateType::MODE_STATE_RESOLUTION); } in isSeamless() argument500 bool isFullModeSwitch(const DrmMode &newMode) { in isFullModeSwitch()