Lines Matching defs:VertexSpec
53 struct VertexSpec { struct
55 VertexSpec() in VertexSpec() function
66 VertexSpec(GrQuad::Type deviceQuadType, ColorType colorType, GrQuad::Type localQuadType, in VertexSpec() argument
81 GrQuad::Type deviceQuadType() const { return static_cast<GrQuad::Type>(fDeviceQuadType); } in deviceQuadType()
82 GrQuad::Type localQuadType() const { return static_cast<GrQuad::Type>(fLocalQuadType); } in localQuadType()
83 IndexBufferOption indexBufferOption() const { in indexBufferOption()
86 bool hasLocalCoords() const { return fHasLocalCoords; } in hasLocalCoords()
87 ColorType colorType() const { return static_cast<ColorType>(fColorType); } in colorType()
88 bool hasVertexColors() const { return ColorType::kNone != this->colorType(); } in hasVertexColors()
89 bool hasSubset() const { return fHasSubset; } in hasSubset()
90 bool usesCoverageAA() const { return fUsesCoverageAA; } in usesCoverageAA()
91 bool compatibleWithCoverageAsAlpha() const { return fCompatibleWithCoverageAsAlpha; } in compatibleWithCoverageAsAlpha()
92 bool requiresGeometrySubset() const { return fRequiresGeometrySubset; } in requiresGeometrySubset()
98 int verticesPerQuad() const { return fUsesCoverageAA ? 8 : 4; } in verticesPerQuad()
103 bool needsIndexBuffer() const { return this->indexBufferOption() != in needsIndexBuffer()
106 GrPrimitiveType primitiveType() const { in primitiveType()
135 // as specified by a VertexSpec. This vertex data can then be processed by a GP created with argument