Searched refs:indexBufferOption (Results 1 – 4 of 4) sorted by relevance
69 IndexBufferOption indexBufferOption) in VertexSpec()72 , fIndexBufferOption(static_cast<unsigned>(indexBufferOption)) in VertexSpec()83 IndexBufferOption indexBufferOption() const { in indexBufferOption() function103 bool needsIndexBuffer() const { return this->indexBufferOption() != in needsIndexBuffer()107 switch (this->indexBufferOption()) { in primitiveType()
191 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption(fHelper.aaType(), in vertexSpec() local196 fHelper.compatibleWithCoverageAsAlpha(), indexBufferOption); in vertexSpec()292 vertexSpec.indexBufferOption()); in onPrepareDraws()391 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption(aaType, in canAddQuads() local393 if (quadCount > skgpu::v1::QuadPerEdgeAA::QuadLimit(indexBufferOption)) { in canAddQuads()403 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption( in canAddQuads() local405 if (quadCount > skgpu::v1::QuadPerEdgeAA::QuadLimit(indexBufferOption)) { in canAddQuads()
465 IndexBufferOption indexBufferOption) { in GetIndexBuffer() argument468 switch (indexBufferOption) { in GetIndexBuffer()488 if (spec.indexBufferOption() == IndexBufferOption::kTriStrips) { in IssueDraw()495 SkASSERT(spec.indexBufferOption() == IndexBufferOption::kPictureFramed || in IssueDraw()496 spec.indexBufferOption() == IndexBufferOption::kIndexedRects); in IssueDraw()500 if (spec.indexBufferOption() == IndexBufferOption::kPictureFramed) { in IssueDraw()
844 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption(overallAAType, in characterize() local849 indexBufferOption); in characterize()851 SkASSERT(desc->fNumTotalQuads <= skgpu::v1::QuadPerEdgeAA::QuadLimit(indexBufferOption)); in characterize()906 target, fDesc->fVertexSpec.indexBufferOption()); in onPrepareDraws()