Lines Matching refs:IndexBufferOption
36 enum class IndexBufferOption {
42 static const int kIndexBufferOptionCount = static_cast<int>(IndexBufferOption::kLast) + 1;
44 IndexBufferOption CalcIndexBufferOption(GrAAType aa, int numQuads);
69 IndexBufferOption indexBufferOption)
83 IndexBufferOption indexBufferOption() const {
84 return static_cast<IndexBufferOption>(fIndexBufferOption);
104 IndexBufferOption::kTriStrips; }
108 case IndexBufferOption::kPictureFramed: return GrPrimitiveType::kTriangles;
109 case IndexBufferOption::kIndexedRects: return GrPrimitiveType::kTriangles;
110 case IndexBufferOption::kTriStrips: return GrPrimitiveType::kTriangleStrip;
119 static_assert(kIndexBufferOptionCount <= 4, "IndexBufferOption doesn't fit in 2 bits");
181 sk_sp<const GrBuffer> GetIndexBuffer(GrMeshDrawTarget*, IndexBufferOption);
184 int QuadLimit(IndexBufferOption);