#include "cc/trees/occlusion.h"
#include "base/check_op.h"
#include "cc/base/math_util.h"
#include "ui/gfx/geometry/rect.h"
namespace cc {
Occlusion::Occlusion() = default;
Occlusion::Occlusion(const gfx::Transform& draw_transform,
const SimpleEnclosedRegion& occlusion_from_outside_target,
const SimpleEnclosedRegion& occlusion_from_inside_target)
: … { … }
Occlusion Occlusion::GetOcclusionWithGivenDrawTransform(
const gfx::Transform& transform) const { … }
bool Occlusion::HasOcclusion() const { … }
bool Occlusion::IsOccluded(const gfx::Rect& content_rect) const { … }
gfx::Rect Occlusion::GetUnoccludedContentRect(
const gfx::Rect& content_rect) const { … }
gfx::Rect Occlusion::GetUnoccludedRectInTargetSurface(
const gfx::Rect& content_rect) const { … }
bool Occlusion::IsEqual(const Occlusion& other) const { … }
std::string Occlusion::ToString() const { … }
}