Lines Matching refs:vertexStride
22 size_t vertexStride = sizeof(SkPoint) + sizeof(SkPoint) + in initBatchTracker() local
27 currVertex += vertexStride; in initBatchTracker()
64 size_t vertexStride = gp->getVertexStride(); in onPrepareDraws() local
65 SkASSERT(vertexStride == sizeof(SkPoint) + sizeof(SkPoint) in onPrepareDraws()
70 void* verts = helper.init(target, vertexStride, numQuads); in onPrepareDraws()
100 size_t vertexStride = 2*sizeof(SkPoint); in GrDrawAtlasBatch() local
104 vertexStride += sizeof(GrColor); in GrDrawAtlasBatch()
109 int allocSize = static_cast<int>(4*vertexStride*spriteCount); in GrDrawAtlasBatch()
132 *(reinterpret_cast<GrColor*>(currVertex+vertexStride+sizeof(SkPoint))) = grColor; in GrDrawAtlasBatch()
133 *(reinterpret_cast<GrColor*>(currVertex+2*vertexStride+sizeof(SkPoint))) = grColor; in GrDrawAtlasBatch()
134 *(reinterpret_cast<GrColor*>(currVertex+3*vertexStride+sizeof(SkPoint))) = grColor; in GrDrawAtlasBatch()
142 currVertex += vertexStride; in GrDrawAtlasBatch()
148 currVertex += vertexStride; in GrDrawAtlasBatch()
154 currVertex += vertexStride; in GrDrawAtlasBatch()
160 currVertex += vertexStride; in GrDrawAtlasBatch()