Home
last modified time | relevance | path

Searched refs:indexBufferOption (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.h69 IndexBufferOption indexBufferOption) in VertexSpec()
72 , fIndexBufferOption(static_cast<unsigned>(indexBufferOption)) in VertexSpec()
83 IndexBufferOption indexBufferOption() const { in indexBufferOption() function
103 bool needsIndexBuffer() const { return this->indexBufferOption() != in needsIndexBuffer()
107 switch (this->indexBufferOption()) { in primitiveType()
DGrFillRectOp.cpp189 auto indexBufferOption = GrQuadPerEdgeAA::CalcIndexBufferOption(fHelper.aaType(), in vertexSpec() local
195 fHelper.compatibleWithCoverageAsAlpha(), indexBufferOption); in vertexSpec()
289 fIndexBuffer = GrQuadPerEdgeAA::GetIndexBuffer(target, vertexSpec.indexBufferOption()); in onPrepareDraws()
387 auto indexBufferOption = GrQuadPerEdgeAA::CalcIndexBufferOption(aaType, quadCount); in canAddQuads() local
388 if (quadCount > GrQuadPerEdgeAA::QuadLimit(indexBufferOption)) { in canAddQuads()
398 auto indexBufferOption = GrQuadPerEdgeAA::CalcIndexBufferOption(fHelper.aaType(), in canAddQuads() local
400 if (quadCount > GrQuadPerEdgeAA::QuadLimit(indexBufferOption)) { in canAddQuads()
DGrQuadPerEdgeAA.cpp402 IndexBufferOption indexBufferOption) { in GetIndexBuffer() argument
405 switch (indexBufferOption) { in GetIndexBuffer()
425 if (spec.indexBufferOption() == IndexBufferOption::kTriStrips) { in IssueDraw()
432 SkASSERT(spec.indexBufferOption() == IndexBufferOption::kPictureFramed || in IssueDraw()
433 spec.indexBufferOption() == IndexBufferOption::kIndexedRects); in IssueDraw()
437 if (spec.indexBufferOption() == IndexBufferOption::kPictureFramed) { in IssueDraw()
DGrTextureOp.cpp835 auto indexBufferOption = GrQuadPerEdgeAA::CalcIndexBufferOption(overallAAType, in characterize() local
840 indexBufferOption); in characterize()
842 SkASSERT(desc->fNumTotalQuads <= GrQuadPerEdgeAA::QuadLimit(indexBufferOption)); in characterize()
897 target, fDesc->fVertexSpec.indexBufferOption()); in onPrepareDraws()