#include "src/gpu/graphite/render/SDFTextLCDRenderStep.h"
#include "include/core/SkM44.h"
#include "include/gpu/graphite/Recorder.h"
#include "include/private/base/SkCPUTypes.h"
#include "src/core/SkMaskGamma.h"
#include "src/gpu/graphite/AtlasProvider.h"
#include "src/gpu/graphite/ContextUtils.h"
#include "src/gpu/graphite/DrawParams.h"
#include "src/gpu/graphite/DrawWriter.h"
#include "src/gpu/graphite/PipelineData.h"
#include "src/gpu/graphite/RecorderPriv.h"
#include "src/gpu/graphite/render/CommonDepthStencilSettings.h"
#include "src/gpu/graphite/text/TextAtlasManager.h"
#include "src/sksl/SkSLString.h"
#include "src/text/gpu/DistanceFieldAdjustTable.h"
#include "src/text/gpu/SubRunContainer.h"
#include "src/text/gpu/VertexFiller.h"
namespace skgpu::graphite {
namespace {
constexpr int kNumSDFAtlasTextures = …;
}
SDFTextLCDRenderStep::SDFTextLCDRenderStep()
: … { … }
SDFTextLCDRenderStep::~SDFTextLCDRenderStep() { … }
std::string SDFTextLCDRenderStep::vertexSkSL() const { … }
std::string SDFTextLCDRenderStep::texturesAndSamplersSkSL(
const ResourceBindingRequirements& bindingReqs, int* nextBindingIndex) const { … }
const char* SDFTextLCDRenderStep::fragmentCoverageSkSL() const { … }
void SDFTextLCDRenderStep::writeVertices(DrawWriter* dw,
const DrawParams& params,
skvx::ushort2 ssboIndices) const { … }
void SDFTextLCDRenderStep::writeUniformsAndTextures(const DrawParams& params,
PipelineDataGatherer* gatherer) const { … }
}