#include "cc/layers/solid_color_layer_impl.h"
#include <algorithm>
#include <limits>
#include "cc/layers/append_quads_data.h"
#include "cc/trees/effect_node.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/occlusion.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
namespace cc {
SolidColorLayerImpl::SolidColorLayerImpl(LayerTreeImpl* tree_impl, int id)
: … { … }
SolidColorLayerImpl::~SolidColorLayerImpl() = default;
mojom::LayerType SolidColorLayerImpl::GetLayerType() const { … }
std::unique_ptr<LayerImpl> SolidColorLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
void SolidColorLayerImpl::AppendSolidQuads(
viz::CompositorRenderPass* render_pass,
const Occlusion& occlusion_in_layer_space,
viz::SharedQuadState* shared_quad_state,
const gfx::Rect& visible_layer_rect,
SkColor4f color,
bool force_anti_aliasing_off,
SkBlendMode effect_blend_mode,
AppendQuadsData* append_quads_data) { … }
void SolidColorLayerImpl::AppendQuads(viz::CompositorRenderPass* render_pass,
AppendQuadsData* append_quads_data) { … }
}