#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#ifndef CC_PAINT_PAINT_OP_BUFFER_H_
#define CC_PAINT_PAINT_OP_BUFFER_H_
#include <limits>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include "base/bits.h"
#include "base/check_op.h"
#include "base/functional/callback.h"
#include "base/memory/aligned_memory.h"
#include "base/memory/stack_allocated.h"
#include "cc/paint/paint_export.h"
#include "cc/paint/scroll_offset_map.h"
#include "third_party/skia/include/core/SkM44.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/gfx/display_color_spaces.h"
class SkCanvas;
class SkColorSpace;
class SkImage;
class SkStrikeClient;
class SkStrikeServer;
namespace gpu {
struct Mailbox;
}
namespace cc {
class ClientPaintCache;
class ImageProvider;
class PaintOp;
class PaintRecord;
class ServicePaintCache;
class SkottieSerializationHistory;
class TransferCacheDeserializeHelper;
class TransferCacheSerializeHelper;
enum class PaintOpType : uint8_t;
struct CC_PAINT_EXPORT PlaybackCallbacks { … };
struct CC_PAINT_EXPORT PlaybackParams { … };
class CC_PAINT_EXPORT SharedImageProvider { … };
static constexpr int kMinNumberOfSlowPathsForMSAA = …;
class CC_PAINT_EXPORT PaintOpBuffer : public SkRefCnt { … };
}
#endif