blob: 69c49bd2f4f9d1e98ef6a125c50b2b932e74bff6 [file] [log] [blame]
Maksim Sisov16b073862021-10-07 18:07:421// Copyright 2021 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/gfx/overlay_plane_data.h"
6
7namespace gfx {
8
9OverlayPlaneData::OverlayPlaneData() = default;
10
11OverlayPlaneData::OverlayPlaneData(int z_order,
12 OverlayTransform plane_transform,
13 const Rect& display_bounds,
14 const RectF& crop_rect,
15 bool enable_blend,
16 const Rect& damage_rect,
17 float opacity,
18 OverlayPriorityHint priority_hint)
19 : z_order(z_order),
20 plane_transform(plane_transform),
21 display_bounds(display_bounds),
22 crop_rect(crop_rect),
23 enable_blend(enable_blend),
24 damage_rect(damage_rect),
25 opacity(opacity),
26 priority_hint(priority_hint) {}
27
28OverlayPlaneData::~OverlayPlaneData() = default;
29
30} // namespace gfx