#include "cc/layers/mirror_layer_impl.h"
#include <memory>
#include "cc/trees/effect_node.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/occlusion.h"
#include "components/viz/common/quads/compositor_render_pass_draw_quad.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
#include "third_party/skia/include/core/SkColor.h"
namespace cc {
MirrorLayerImpl::MirrorLayerImpl(LayerTreeImpl* tree_impl, int id)
: … { … }
MirrorLayerImpl::~MirrorLayerImpl() = default;
mojom::LayerType MirrorLayerImpl::GetLayerType() const { … }
std::unique_ptr<LayerImpl> MirrorLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
void MirrorLayerImpl::AppendQuads(viz::CompositorRenderPass* render_pass,
AppendQuadsData* append_quads_data) { … }
void MirrorLayerImpl::PushPropertiesTo(LayerImpl* layer) { … }
gfx::Rect MirrorLayerImpl::GetDamageRect() const { … }
gfx::Rect MirrorLayerImpl::GetEnclosingVisibleRectInTargetSpace() const { … }
}