#include "cc/paint/paint_record.h"
#include <algorithm>
#include <utility>
#include "base/no_destructor.h"
#include "cc/paint/paint_op_buffer_iterator.h"
#include "third_party/skia/include/core/SkMatrix.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
#include "third_party/skia/include/core/SkRect.h"
namespace cc {
PaintRecord::PaintRecord() { … }
PaintRecord::~PaintRecord() = default;
PaintRecord::PaintRecord(PaintRecord&&) = default;
PaintRecord& PaintRecord::operator=(PaintRecord&&) = default;
PaintRecord::PaintRecord(const PaintRecord&) = default;
PaintRecord& PaintRecord::operator=(const PaintRecord&) = default;
PaintRecord::PaintRecord(sk_sp<PaintOpBuffer> buffer)
: … { … }
SkRect PaintRecord::GetFixedScaleBounds(const SkMatrix& ctm,
const SkRect& bounds,
int max_texture_size) { … }
sk_sp<SkPicture> PaintRecord::ToSkPicture(
const SkRect& bounds,
ImageProvider* image_provider,
const PlaybackCallbacks& callbacks) const { … }
PaintRecord::const_iterator PaintRecord::begin() const { … }
PaintRecord::const_iterator PaintRecord::end() const { … }
}