Lines Matching refs:VertexSpec
51 // This order matches the constructor argument order of VertexSpec and is the order that
53 struct VertexSpec {
55 VertexSpec()
66 VertexSpec(GrQuad::Type deviceQuadType, ColorType colorType, GrQuad::Type localQuadType,
135 // as specified by a VertexSpec. This vertex data can then be processed by a GP created with
139 explicit Tessellator(const VertexSpec& spec, char* vertices);
142 // necessary position and vertex attributes required by this Tessellator's VertexSpec into
145 // 'localQuad' can be null if the VertexSpec does not use local coords.
152 // VertexSpec defines many unique ways to write vertex attributes, which can be handled
153 // generically by branching per-quad based on the VertexSpec. However, there are several
156 typedef void (*WriteQuadProc)(VertexWriter* vertices, const VertexSpec& spec,
160 static WriteQuadProc GetWriteQuadProc(const VertexSpec& spec);
163 VertexSpec fVertexSpec;
168 GrGeometryProcessor* MakeProcessor(SkArenaAlloc*, const VertexSpec&);
171 const VertexSpec&,
197 void IssueDraw(const GrCaps&, GrOpsRenderPass*, const VertexSpec&, int runningQuadCount,