#include "src/gpu/graphite/render/CoverageMaskRenderStep.h"
#include "src/gpu/graphite/ContextUtils.h"
#include "src/gpu/graphite/DrawParams.h"
#include "src/gpu/graphite/DrawWriter.h"
#include "src/gpu/graphite/PathAtlas.h"
#include "src/gpu/graphite/geom/CoverageMaskShape.h"
#include "src/gpu/graphite/render/CommonDepthStencilSettings.h"
namespace skgpu::graphite {
static skvx::float2 get_device_translation(const SkM44& localToDevice) { … }
CoverageMaskRenderStep::CoverageMaskRenderStep()
: … { … }
std::string CoverageMaskRenderStep::vertexSkSL() const { … }
std::string CoverageMaskRenderStep::texturesAndSamplersSkSL(
const ResourceBindingRequirements& bindingReqs, int* nextBindingIndex) const { … }
const char* CoverageMaskRenderStep::fragmentCoverageSkSL() const { … }
void CoverageMaskRenderStep::writeVertices(DrawWriter* dw,
const DrawParams& params,
skvx::ushort2 ssboIndices) const { … }
void CoverageMaskRenderStep::writeUniformsAndTextures(const DrawParams& params,
PipelineDataGatherer* gatherer) const { … }
}