#include "cc/test/fake_layer_tree_host.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "cc/animation/animation_host.h"
#include "cc/layers/layer.h"
#include "cc/test/test_task_graph_runner.h"
#include "cc/trees/mutator_host.h"
namespace cc {
FakeLayerTreeHost::FakeLayerTreeHost(FakeLayerTreeHostClient* client,
LayerTreeHost::InitParams params,
CompositorMode mode)
: … { … }
std::unique_ptr<FakeLayerTreeHost> FakeLayerTreeHost::Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
MutatorHost* mutator_host) { … }
std::unique_ptr<FakeLayerTreeHost> FakeLayerTreeHost::Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
MutatorHost* mutator_host,
const LayerTreeSettings& settings) { … }
std::unique_ptr<FakeLayerTreeHost> FakeLayerTreeHost::Create(
FakeLayerTreeHostClient* client,
TestTaskGraphRunner* task_graph_runner,
MutatorHost* mutator_host,
const LayerTreeSettings& settings,
CompositorMode mode) { … }
FakeLayerTreeHost::~FakeLayerTreeHost() { … }
void FakeLayerTreeHost::SetNeedsCommit() { … }
std::unique_ptr<LayerTreeHostImpl>
FakeLayerTreeHost::CreateLayerTreeHostImplInternal(
LayerTreeHostImplClient* client,
MutatorHost*,
const LayerTreeSettings& settings,
TaskRunnerProvider* task_runner_provider,
raw_ptr<RasterDarkModeFilter>&,
int,
raw_ptr<TaskGraphRunner>& task_graph_runner,
scoped_refptr<base::SequencedTaskRunner>,
LayerTreeHostSchedulingClient*,
RenderingStatsInstrumentation*,
std::unique_ptr<UkmRecorderFactory>&,
base::WeakPtr<CompositorDelegateForInput>&) { … }
void FakeLayerTreeHost::CreateFakeLayerTreeHostImpl() { … }
LayerImpl* FakeLayerTreeHost::CommitToActiveTree() { … }
LayerImpl* FakeLayerTreeHost::CommitToPendingTree() { … }
LayerImpl* FakeLayerTreeHost::CommitToTree(LayerTreeImpl* tree) { … }
}