#ifndef CC_PAINT_IMAGE_TRANSFER_CACHE_ENTRY_H_
#define CC_PAINT_IMAGE_TRANSFER_CACHE_ENTRY_H_
#include <stddef.h>
#include <stdint.h>
#include <optional>
#include <vector>
#include "base/atomic_sequence_num.h"
#include "base/containers/span.h"
#include "base/memory/raw_ptr.h"
#include "cc/paint/transfer_cache_entry.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkYUVAInfo.h"
#include "third_party/skia/include/gpu/GrTypes.h"
#include "third_party/skia/include/private/SkGainmapInfo.h"
#include "ui/gfx/color_space.h"
#include "ui/gfx/hdr_metadata.h"
class GrDirectContext;
class SkColorSpace;
class SkImage;
class SkPixmap;
namespace cc {
static constexpr uint32_t kInvalidImageTransferCacheEntryId = …;
enum class YUVDecodeFormat { … };
CC_PAINT_EXPORT size_t NumberOfPlanesForYUVDecodeFormat(YUVDecodeFormat format);
class CC_PAINT_EXPORT ClientImageTransferCacheEntry final
: public ClientTransferCacheEntryBase<TransferCacheEntryType::kImage> { … };
class CC_PAINT_EXPORT ServiceImageTransferCacheEntry final
: public ServiceTransferCacheEntryBase<TransferCacheEntryType::kImage> { … };
}
#endif