Maksim Sisov | 16b07386 | 2021-10-07 18:07:42 | [diff] [blame] | 1 | // 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 | |
| 7 | namespace gfx { |
| 8 | |
| 9 | OverlayPlaneData::OverlayPlaneData() = default; |
| 10 | |
Vasiliy Telezhnikov | cfbd6a9 | 2021-10-19 15:32:22 | [diff] [blame] | 11 | OverlayPlaneData::OverlayPlaneData( |
| 12 | int z_order, |
| 13 | OverlayTransform plane_transform, |
Maksim Sisov | 85c1be3 | 2022-01-25 11:45:38 | [diff] [blame^] | 14 | const RectF& display_bounds, |
Vasiliy Telezhnikov | cfbd6a9 | 2021-10-19 15:32:22 | [diff] [blame] | 15 | const RectF& crop_rect, |
| 16 | bool enable_blend, |
| 17 | const Rect& damage_rect, |
| 18 | float opacity, |
| 19 | OverlayPriorityHint priority_hint, |
| 20 | const gfx::RRectF& rounded_corners, |
| 21 | const gfx::ColorSpace& color_space, |
Maksim Sisov | 5cda549a | 2021-11-04 06:32:15 | [diff] [blame] | 22 | const absl::optional<HDRMetadata>& hdr_metadata, |
| 23 | absl::optional<SkColor> solid_color) |
Maksim Sisov | 16b07386 | 2021-10-07 18:07:42 | [diff] [blame] | 24 | : z_order(z_order), |
| 25 | plane_transform(plane_transform), |
| 26 | display_bounds(display_bounds), |
| 27 | crop_rect(crop_rect), |
| 28 | enable_blend(enable_blend), |
| 29 | damage_rect(damage_rect), |
| 30 | opacity(opacity), |
Maksim Sisov | 0854ce2 | 2021-10-12 15:14:47 | [
|