#include "cc/layers/deadline_policy.h"
#include <limits>
#include "base/notreached.h"
#include "base/strings/stringprintf.h"
namespace cc {
namespace {
const char* PolicyToString(DeadlinePolicy::Type type) { … }
}
DeadlinePolicy DeadlinePolicy::UseExistingDeadline() { … }
DeadlinePolicy DeadlinePolicy::UseDefaultDeadline() { … }
DeadlinePolicy DeadlinePolicy::UseSpecifiedDeadline(
uint32_t deadline_in_frames) { … }
DeadlinePolicy DeadlinePolicy::UseInfiniteDeadline() { … }
DeadlinePolicy::DeadlinePolicy(Type policy_type,
std::optional<uint32_t> deadline_in_frames)
: … { … }
DeadlinePolicy::DeadlinePolicy(const DeadlinePolicy& other) = default;
std::string DeadlinePolicy::ToString() const { … }
}