Home
last modified time | relevance | path

Searched refs:TriPointInstance (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCPathParser.cpp21 using TriPointInstance = GrCCCoverageProcessor::TriPointInstance; typedef
299 static TriPointInstance* emit_recursive_fan(const SkTArray<SkPoint, true>& pts, in emit_recursive_fan()
302 TriPointInstance out[]) { in emit_recursive_fan()
327 const Sk2f& atlasOffset, TriPointInstance* triPointInstanceData, in emit_tessellated_fan()
375 GR_CT_DIV_ROUND_UP(triEndIdx * sizeof(TriPointInstance), sizeof(QuadPointInstance)); in finalize()
390 TriPointInstance* triPointInstanceData = static_cast<TriPointInstance*>(fInstanceBuffer->map()); in finalize()
472 SkDEBUGCODE(TriPointInstance* end =) in finalize()
DGrCCCoverageProcessor.h38 struct TriPointInstance { struct
263 inline void GrCCCoverageProcessor::TriPointInstance::set(const SkPoint p[3], const Sk2f& trans) { in set()
267 inline void GrCCCoverageProcessor::TriPointInstance::set(const SkPoint& p0, const SkPoint& p1, in set()
DGrCCCoverageProcessor_GSImpl.cpp342 SkASSERT(sizeof(TriPointInstance) == this->getVertexStride() * 2); in initGS()
343 SkASSERT(offsetof(TriPointInstance, fY) == this->getVertexStride()); in initGS()
344 GR_STATIC_ASSERT(0 == offsetof(TriPointInstance, fX)); in initGS()
DGrCCCoverageProcessor_VSImpl.cpp447 SkASSERT(offsetof(TriPointInstance, fX) == this->getAttrib(kAttribIdx_X).fOffsetInRecord); in initVS()
448 SkASSERT(offsetof(TriPointInstance, fY) == this->getAttrib(kAttribIdx_Y).fOffsetInRecord); in initVS()
449 SkASSERT(sizeof(TriPointInstance) == this->getInstanceStride()); in initVS()
/external/skia/samplecode/
DSampleCCPRGeometry.cpp29 using TriPointInstance = GrCCCoverageProcessor::TriPointInstance; typedef
69 SkTArray<TriPointInstance> fTriPointInstances;
272 fView->fTriPointInstances.count() * sizeof(TriPointInstance), kVertex_GrBufferType, in onExecute()