#ifndef CC_TILES_TILE_PRIORITY_H_
#define CC_TILES_TILE_PRIORITY_H_
#include <stddef.h>
#include <algorithm>
#include <limits>
#include <memory>
#include <string>
#include "base/trace_event/traced_value.h"
#include "base/tracing/protos/chrome_track_event.pbzero.h"
#include "cc/cc_export.h"
namespace cc {
enum WhichTree { … };
enum TileResolution { … };
std::string TileResolutionToString(TileResolution resolution);
struct CC_EXPORT TilePriority { … };
std::string TilePriorityBinToString(TilePriority::PriorityBin bin);
enum TileMemoryLimitPolicy { … };
std::string TileMemoryLimitPolicyToString(TileMemoryLimitPolicy policy);
bool IsTileMemoryLimitPolicyMoreRestictive(TileMemoryLimitPolicy policy1,
TileMemoryLimitPolicy policy2);
enum TreePriority { … };
std::string TreePriorityToString(TreePriority prio);
perfetto::protos::pbzero::ChromeCompositorStateMachineV2::MinorStateV2::
TreePriority
TreePriorityToProtozeroEnum(TreePriority priority);
class GlobalStateThatImpactsTilePriority { … };
}
#endif