#include "cc/paint/paint_op_buffer_iterator.h"
namespace cc {
namespace {
static const PaintOp* GetNestedSingleDrawingOp(const PaintOp* op) { … }
}
PaintOpBuffer::CompositeIterator::CompositeIterator(
const PaintOpBuffer& buffer,
const std::vector<size_t>* offsets)
: … { … }
PaintOpBuffer::CompositeIterator::CompositeIterator(
const CompositeIterator& other) = default;
PaintOpBuffer::CompositeIterator::CompositeIterator(CompositeIterator&& other) =
default;
PaintOpBuffer::PlaybackFoldingIterator::PlaybackFoldingIterator(
const PaintOpBuffer& buffer,
const std::vector<size_t>* offsets)
: … { … }
PaintOpBuffer::PlaybackFoldingIterator::~PlaybackFoldingIterator() = default;
void PaintOpBuffer::PlaybackFoldingIterator::FindNextOp() { … }
const PaintOp* PaintOpBuffer::PlaybackFoldingIterator::NextUnfoldedOp() { … }
}