Searched refs:indexPtr (Results 1 – 2 of 2) sorted by relevance
565 uint16_t *indexPtr = (uint16_t*)indexAlloc->getPtr(); in initVertexArrayBuffers() local572 indexPtr[i6 + 0] = i4 + 0; in initVertexArrayBuffers()573 indexPtr[i6 + 1] = i4 + 1; in initVertexArrayBuffers()574 indexPtr[i6 + 2] = i4 + 2; in initVertexArrayBuffers()576 indexPtr[i6 + 3] = i4 + 0; in initVertexArrayBuffers()577 indexPtr[i6 + 4] = i4 + 2; in initVertexArrayBuffers()578 indexPtr[i6 + 5] = i4 + 3; in initVertexArrayBuffers()
628 uint16_t* indexPtr = indices; in drawBitmapMesh() local633 *indexPtr++ = index; in drawBitmapMesh()634 *indexPtr++ = index + meshWidth + 1; in drawBitmapMesh()635 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh()637 *indexPtr++ = index; in drawBitmapMesh()638 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh()639 *indexPtr++ = index + 1; in drawBitmapMesh()646 SkASSERT(indexPtr - indices == indexCount); in drawBitmapMesh()647 SkASSERT((char*)indexPtr - (char*)storage.get() == storageSize); in drawBitmapMesh()