Home
last modified time | relevance | path

Searched refs:indexPtr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaCanvas.cpp619 uint16_t* indexPtr = indices; in drawBitmapMesh() local
624 *indexPtr++ = index; in drawBitmapMesh()
625 *indexPtr++ = index + meshWidth + 1; in drawBitmapMesh()
626 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh()
628 *indexPtr++ = index; in drawBitmapMesh()
629 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh()
630 *indexPtr++ = index + 1; in drawBitmapMesh()
637 SkASSERT(indexPtr - indices == indexCount); in drawBitmapMesh()
638 SkASSERT((char*)indexPtr - (char*)storage.get() == storageSize); in drawBitmapMesh()
/frameworks/rs/
DrsFont.cpp587 uint16_t *indexPtr = (uint16_t*)mRSC->mHal.funcs.allocation.lock1D(mRSC, indexAlloc); in initVertexArrayBuffers() local
594 indexPtr[i6 + 0] = i4 + 0; in initVertexArrayBuffers()
595 indexPtr[i6 + 1] = i4 + 1; in initVertexArrayBuffers()
596 indexPtr[i6 + 2] = i4 + 2; in initVertexArrayBuffers()
598 indexPtr[i6 + 3] = i4 + 0; in initVertexArrayBuffers()
599 indexPtr[i6 + 4] = i4 + 2; in initVertexArrayBuffers()
600 indexPtr[i6 + 5] = i4 + 3; in initVertexArrayBuffers()