Searched refs:patchWriter (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/src/gpu/tessellate/ |
D | StrokeHardwareTessellator.cpp | 235 if (VertexWriter patchWriter = fChunkBuilder.appendVertex()) { in writePatchTo() local 236 patchWriter << fLastControlPoint; in writePatchTo() 237 patchWriter.writeArray(p, 4); in writePatchTo() 238 this->writeDynamicAttribs(&patchWriter); in writePatchTo() 579 if (VertexWriter patchWriter = fChunkBuilder.appendVertex()) { in internalJoinTo() local 580 patchWriter << fLastControlPoint << junctionPoint; in internalJoinTo() 585 patchWriter << junctionPoint << junctionPoint; in internalJoinTo() 590 patchWriter << nextControlPoint << nextControlPoint; in internalJoinTo() 592 patchWriter << (nextControlPoint); in internalJoinTo() 593 this->writeDynamicAttribs(&patchWriter); in internalJoinTo() [all …]
|
D | PathWedgeTessellator.cpp | 135 void PathWedgeTessellator::writePatches(PatchWriter& patchWriter, in writePatches() argument 150 patchWriter.updateColorAttrib(color); in writePatches() 154 patchWriter.updateFanPointAttrib(m.mapPoint(parser.currentMidpoint())); in writePatches() 165 CubicPatch(patchWriter) << LineToCubic{m.map2Points(pts)}; in writePatches() 178 CubicPatch(patchWriter) << QuadToCubic{p0, p1, p2}; in writePatches() 183 patchWriter.chopAndWriteQuads(p0, p1, p2, numPatches); in writePatches() 199 ConicPatch(patchWriter) << p0 << p1 << p2 << *w; in writePatches() 203 patchWriter.chopAndWriteConics(p0, p1, p2, *w, numPatches); in writePatches() 218 CubicPatch(patchWriter) << p0 << p1 << p2 << p3; in writePatches() 223 patchWriter.chopAndWriteCubics(p0, p1, p2, p3, numPatches); in writePatches() [all …]
|
D | PathCurveTessellator.cpp | 36 void PathCurveTessellator::writePatches(PatchWriter& patchWriter, in writePatches() argument 51 patchWriter.updateColorAttrib(color); in writePatches() 66 CubicPatch(patchWriter) << QuadToCubic{p0, p1, p2}; in writePatches() 71 patchWriter.chopAndWriteQuads(p0, p1, p2, numPatches); in writePatches() 89 ConicPatch(patchWriter) << p0 << p1 << p2 << *w; in writePatches() 93 patchWriter.chopAndWriteConics(p0, p1, p2, *w, numPatches); in writePatches() 110 CubicPatch(patchWriter) << p0 << p1 << p2 << p3; in writePatches() 115 patchWriter.chopAndWriteCubics(p0, p1, p2, p3, numPatches); in writePatches()
|
D | PathTessellator.h | 94 PatchWriter patchWriter(target, this, patchPreallocCount); in prepare() 95 this->writePatches(patchWriter, maxTessellationSegments, shaderMatrix, pathDrawList); in prepare()
|
D | PathCurveTessellator.h | 32 void writePatches(PatchWriter& patchWriter,
|
/third_party/skia/samplecode/ |
D | SamplePathTessellators.cpp | 138 PatchWriter patchWriter(flushState, fTessellator, patchPreallocCount); in onPrepare() local 145 TrianglePatch(patchWriter) << m.map2Points(p0, p1) << m.mapPoint(p2); in onPrepare() 151 fTessellator->writePatches(patchWriter, in onPrepare()
|
/third_party/skia/src/gpu/ops/ |
D | PathInnerTriangulateOp.cpp | 425 PatchWriter patchWriter(flushState, fTessellator, patchPreallocCount); in onPrepare() local 443 PatchWriter::TrianglePatch(patchWriter) << p0 << p1 << p2; in onPrepare() 449 fTessellator->writePatches(patchWriter, in onPrepare()
|