1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/ozone/platform/dri/chromeos/display_mode_dri.h" 6 7 namespace ui { 8 9 DisplayModeDri::DisplayModeDri(const drmModeModeInfo& mode) 10 : DisplayMode(gfx::Size(mode.hdisplay, mode.vdisplay), 11 mode.flags & DRM_MODE_FLAG_INTERLACE, 12 mode.vrefresh), 13 mode_info_(mode) {} 14 15 DisplayModeDri::~DisplayModeDri() {} 16 17 } // namespace ui 18