Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/ops/
H A DQuadPerEdgeAA.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()
179 // This method will return the correct index buffer for the specified indexBufferOption.
180 // It will, correctly, return nullptr if the indexBufferOption is kTriStrips.
H A DFillRectOp.cpp191 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption(fHelper.aaType(), in vertexSpec() local
196 fHelper.compatibleWithCoverageAsAlpha(), indexBufferOption); in vertexSpec()
292 vertexSpec.indexBufferOption());
391 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption(aaType, in canAddQuads() local
393 if (quadCount > skgpu::v1::QuadPerEdgeAA::QuadLimit(indexBufferOption)) { in canAddQuads()
403 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption( in canAddQuads() local
405 if (quadCount > skgpu::v1::QuadPerEdgeAA::QuadLimit(indexBufferOption)) { in canAddQuads()
H A DQuadPerEdgeAA.cpp465 IndexBufferOption indexBufferOption) {
468 switch (indexBufferOption) {
488 if (spec.indexBufferOption() == IndexBufferOption::kTriStrips) {
495 SkASSERT(spec.indexBufferOption() == IndexBufferOption::kPictureFramed ||
496 spec.indexBufferOption() == IndexBufferOption::kIndexedRects);
500 if (spec.indexBufferOption() == IndexBufferOption::kPictureFramed) {
H A DTextureOp.cpp844 auto indexBufferOption = skgpu::v1::QuadPerEdgeAA::CalcIndexBufferOption(overallAAType, in characterize() local
849 indexBufferOption); in characterize()
851 SkASSERT(desc->fNumTotalQuads <= skgpu::v1::QuadPerEdgeAA::QuadLimit(indexBufferOption)); in characterize()
906 target, fDesc->fVertexSpec.indexBufferOption());

Completed in 7 milliseconds