#include "cc/test/layer_tree_impl_test_base.h"
#include <stddef.h>
#include "cc/animation/animation.h"
#include "cc/animation/animation_host.h"
#include "cc/animation/animation_id_provider.h"
#include "cc/layers/append_quads_data.h"
#include "cc/test/animation_test_common.h"
#include "cc/test/fake_layer_tree_frame_sink.h"
#include "cc/test/property_tree_test_utils.h"
#include "cc/trees/draw_property_utils.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/size_conversions.h"
namespace cc {
LayerTreeImplTestBase::LayerTreeImplTestBase()
: … { … }
LayerTreeImplTestBase::LayerTreeImplTestBase(
std::unique_ptr<LayerTreeFrameSink> layer_tree_frame_sink)
: … { … }
LayerTreeImplTestBase::LayerTreeImplTestBase(const LayerTreeSettings& settings)
: … { … }
LayerTreeImplTestBase::LayerTreeImplTestBase(
const LayerTreeSettings& settings,
std::unique_ptr<LayerTreeFrameSink> layer_tree_frame_sink)
: … { … }
LayerTreeImplTestBase::~LayerTreeImplTestBase() { … }
LayerImpl* LayerTreeImplTestBase::EnsureRootLayerInPendingTree() { … }
void LayerTreeImplTestBase::CalcDrawProps(const gfx::Size& viewport_size) { … }
void LayerTreeImplTestBase::AppendQuads(LayerImpl* layer_impl) { … }
void LayerTreeImplTestBase::AppendQuadsWithOcclusion(
LayerImpl* layer_impl,
const gfx::Rect& occluded) { … }
void LayerTreeImplTestBase::AppendQuadsForPassWithOcclusion(
LayerImpl* layer_impl,
viz::CompositorRenderPass* given_render_pass,
const gfx::Rect& occluded) { … }
void LayerTreeImplTestBase::AppendSurfaceQuadsWithOcclusion(
RenderSurfaceImpl* surface_impl,
const gfx::Rect& occluded) { … }
void LayerTreeImplTestBase::UpdateActiveTreeDrawProperties(
float device_scale_factor) { … }
void LayerTreeImplTestBase::UpdatePendingTreeDrawProperties(
float device_scale_factor) { … }
}