#include "src/gpu/graphite/RasterPathAtlas.h"
#include "include/core/SkColorSpace.h"
#include "include/gpu/graphite/Recorder.h"
#include "src/core/SkIPoint16.h"
#include "src/gpu/graphite/AtlasProvider.h"
#include "src/gpu/graphite/DrawContext.h"
#include "src/gpu/graphite/Log.h"
#include "src/gpu/graphite/RasterPathUtils.h"
#include "src/gpu/graphite/RecorderPriv.h"
namespace skgpu::graphite {
static constexpr uint32_t kDefaultAtlasDim = …;
static constexpr uint32_t kSmallPathPlotWidth = …;
static constexpr uint32_t kSmallPathPlotHeight = …;
RasterPathAtlas::RasterPathAtlas(Recorder* recorder)
: … { … }
void RasterPathAtlas::recordUploads(DrawContext* dc) { … }
const TextureProxy* RasterPathAtlas::onAddShape(const Shape& shape,
const Transform& transform,
const SkStrokeRec& strokeRec,
skvx::half2 maskSize,
skvx::half2* outPos) { … }
bool RasterPathAtlas::RasterAtlasMgr::onAddToAtlas(const Shape& shape,
const Transform& transform,
const SkStrokeRec& strokeRec,
SkIRect shapeBounds,
const AtlasLocator& locator) { … }
}