#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "cc/trees/throttle_decider.h"
#include <vector>
#include "cc/layers/surface_layer_impl.h"
#include "components/viz/common/quads/compositor_render_pass_draw_quad.h"
#include "components/viz/common/quads/surface_draw_quad.h"
#include "components/viz/common/surfaces/surface_range.h"
namespace cc {
ThrottleDecider::ThrottleDecider() = default;
ThrottleDecider::~ThrottleDecider() = default;
void ThrottleDecider::Prepare() { … }
void ThrottleDecider::ProcessRenderPass(
const viz::CompositorRenderPass& render_pass) { … }
void ThrottleDecider::ProcessLayerNotToDraw(const LayerImpl* layer) { … }
bool ThrottleDecider::HasThrottlingChanged() const { … }
}