Lines Matching defs:vertexStride
117 size_t vertexStride = gp->getVertexStride();
119 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorLocalCoordAttr) :
120 vertexStride == sizeof(GrDefaultGeoProcFactory::PositionColorAttr));
122 void* vertices = helper.init(batchTarget, vertexStride, instanceCount);
132 intptr_t offset = GrTCast<intptr_t>(vertices) + kVerticesPerQuad * i * vertexStride;
136 geom.fRect.fRight, geom.fRect.fBottom, vertexStride);
137 geom.fViewMatrix.mapPointsWithStride(positions, vertexStride, kVerticesPerQuad);
144 vertexStride);
146 geom.fLocalMatrix.mapPointsWithStride(coords, vertexStride, kVerticesPerQuad);
154 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride);