Searched refs:new_modes (Results 1 – 1 of 1) sorted by relevance
126 std::vector<DrmMode> new_modes; in UpdateModes() local131 new_modes.push_back(mode); in UpdateModes()139 new_modes.push_back(m); in UpdateModes()141 if (new_modes.back().type() & DRM_MODE_TYPE_PREFERRED) { in UpdateModes()142 preferred_mode_id_ = new_modes.back().id(); in UpdateModes()146 modes_.swap(new_modes); in UpdateModes()