blob: 6dd660ca06ab4ac7cbdb404715a2a06495997974 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/dri/display_mode_dri.h"
namespace ui {
DisplayModeDri::DisplayModeDri(const drmModeModeInfo& mode)
: DisplayMode(gfx::Size(mode.hdisplay, mode.vdisplay),
mode.flags & DRM_MODE_FLAG_INTERLACE,
mode.vrefresh),
mode_info_(mode) {
}
DisplayModeDri::~DisplayModeDri() {
}
} // namespace ui