Lines Matching refs:vertexStride
43 size_t vertexStride = 2 * sizeof(SkPoint);
47 vertexStride += sizeof(GrColor);
52 int allocSize = static_cast<int>(4 * vertexStride * spriteCount);
74 *(reinterpret_cast<GrColor*>(currVertex + vertexStride + sizeof(SkPoint))) = grColor;
75 *(reinterpret_cast<GrColor*>(currVertex + 2 * vertexStride + sizeof(SkPoint))) =
77 *(reinterpret_cast<GrColor*>(currVertex + 3 * vertexStride + sizeof(SkPoint))) =
86 currVertex += vertexStride;
92 currVertex += vertexStride;
98 currVertex += vertexStride;
104 currVertex += vertexStride;
125 size_t vertexStride = gp->getVertexStride();
126 SkASSERT(vertexStride ==
131 void* verts = helper.init(target, vertexStride, numQuads);