#include "src/text/gpu/GlyphVector.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkGlyph.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkStrike.h"
#include "src/core/SkStrikeCache.h"
#include "src/core/SkWriteBuffer.h"
#include "src/text/StrikeForGPU.h"
#include "src/text/gpu/SubRunAllocator.h"
#include <climits>
#include <optional>
#include <utility>
class SkStrikeClient;
MaskFormat;
namespace sktext::gpu {
class Glyph;
GlyphVector::GlyphVector(SkStrikePromise&& strikePromise, SkSpan<Variant> glyphs)
: … { … }
GlyphVector GlyphVector::Make(SkStrikePromise&& promise,
SkSpan<const SkPackedGlyphID> packedIDs,
SubRunAllocator* alloc) { … }
std::optional<GlyphVector> GlyphVector::MakeFromBuffer(SkReadBuffer& buffer,
const SkStrikeClient* client,
SubRunAllocator* alloc) { … }
void GlyphVector::flatten(SkWriteBuffer& buffer) const { … }
SkSpan<const Glyph*> GlyphVector::glyphs() const { … }
void GlyphVector::packedGlyphIDToGlyph(StrikeCache* cache) { … }
}