blob: 2e9a2a732d858497138bd9687bf58d6d4736f60d [file] [log] [blame]
// Copyright 2015 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 <drm_fourcc.h>
#include "ui/ozone/platform/drm/gpu/fake_plane_info.h"
namespace ui {
FakePlaneInfo::FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask)
: id(plane_id), allowed_crtc_mask(crtc_mask) {
FakePlaneInfo::FakePlaneInfo(uint32_t plane_id,
uint32_t crtc_mask,
const std::vector<uint32_t>& formats)
: id(plane_id), allowed_crtc_mask(crtc_mask), allowed_formats(formats) {}
FakePlaneInfo::FakePlaneInfo(const FakePlaneInfo& other) = default;
FakePlaneInfo::~FakePlaneInfo() {}
} // namespace ui