chromium/ui/gfx/overlay_plane_data.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/overlay_plane_data.h"

namespace gfx {

OverlayPlaneData::OverlayPlaneData() = default;

OverlayPlaneData::OverlayPlaneData(
    int z_order,
    absl::variant<gfx::OverlayTransform, gfx::Transform> plane_transform,
    const RectF& display_bounds,
    const RectF& crop_rect,
    bool enable_blend,
    const Rect& damage_rect,
    float opacity,
    OverlayPriorityHint priority_hint,
    const gfx::RRectF& rounded_corners,
    const gfx::ColorSpace& color_space,
    const std::optional<HDRMetadata>& hdr_metadata,
    std::optional<SkColor4f> color,
    bool is_solid_color,
    bool is_root_overlay,
    std::optional<Rect> clip_rect,
    gfx::OverlayType overlay_type)
    :{}

OverlayPlaneData::~OverlayPlaneData() = default;

OverlayPlaneData::OverlayPlaneData(const OverlayPlaneData& other) = default;

}  // namespace gfx