22 evenOdd ?
"even-odd" :
"winding",
37 float4 devPosition = localToDevice * float4(position, 0.0, 1.0);
38 devPosition.z = depth;
39 stepLocalCoords = position;
50 const int maxTrianglesInFans =
std::max(
path.countVerbs() - 2, 0);
52 float depth =
params.order().depthAsFloat();
55 verts.reserve(maxTrianglesInFans * 3);
57 for (
auto [p0, p1, p2] : it.nextStack()) {
58 verts.append(3) << p0 << depth << ssboIndices
59 << p1 << depth << ssboIndices
60 << p2 << depth << ssboIndices;
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
std::string vertexSkSL() const override
void writeUniformsAndTextures(const DrawParams &, PipelineDataGatherer *) const override
void writeVertices(DrawWriter *, const DrawParams &, skvx::ushort2 ssboIndices) const override
~MiddleOutFanRenderStep() override
MiddleOutFanRenderStep(bool evenOdd)
SkSpan< const Uniform > uniforms() const
const EmbeddedViewParams * params
static float max(float r, float g, float b)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
constexpr DepthStencilSettings kWindingStencilPass
constexpr DepthStencilSettings kEvenOddStencilPass