#include "cc/benchmarks/invalidation_benchmark.h"
#include <stdint.h>
#include <algorithm>
#include <limits>
#include <optional>
#include <string>
#include <utility>
#include "base/rand_util.h"
#include "base/values.h"
#include "cc/base/math_util.h"
#include "cc/layers/layer.h"
#include "cc/layers/picture_layer.h"
#include "cc/trees/draw_property_utils.h"
#include "cc/trees/layer_tree_host.h"
#include "ui/gfx/geometry/rect.h"
namespace cc {
namespace {
const char* kDefaultInvalidationMode = …;
}
InvalidationBenchmark::InvalidationBenchmark(
base::Value::Dict settings,
MicroBenchmark::DoneCallback callback)
: … { … }
InvalidationBenchmark::~InvalidationBenchmark() = default;
void InvalidationBenchmark::DidUpdateLayers(LayerTreeHost* layer_tree_host) { … }
void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) { … }
bool InvalidationBenchmark::ProcessMessage(base::Value::Dict message) { … }
float InvalidationBenchmark::LCGRandom() { … }
}