Home
last modified time | relevance | path

Searched refs:pnStripLength (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp660 …glDrawElements(GL_TRIANGLE_STRIP, pMesh->pnStripLength[i]+2, GL_UNSIGNED_SHORT, &((GLshort*)0)[off… in DrawMesh()
665 glDrawArrays(GL_TRIANGLE_STRIP, offset, pMesh->pnStripLength[i]+2); in DrawMesh()
667 offset += pMesh->pnStripLength[i]+2; in DrawMesh()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTriStrip.cpp900 unsigned int *pnStripLength; in PVRTTriStripList() local
907 PVRTTriStrip(&pui32Strips, &pnStripLength, &nNumStrips, pui32TriList, nTriCnt); in PVRTTriStripList()
920 for(unsigned int j = 1; j < pnStripLength[i]; ++j) in PVRTTriStripList()
939 free(pnStripLength); in PVRTTriStripList()
DPVRTModelPOD.cpp1048 …if(!WriteData32(pFile, ePODFileMeshStripLength, s.pMesh[i].pnStripLength, s.pMesh[i].nNumStrips))… in WritePOD()
1475 …case ePODFileMeshStripLength: if(!src.ReadAfterAlloc32(s.pnStripLength, nLen)) return false; … in ReadMesh()
2183 FREE(pMesh[i].pnStripLength);
3635 for(unsigned int j = 0; j < mesh.pnStripLength[i]; ++j)
3675 FREE(mesh.pnStripLength);
3687 mesh.pnStripLength = (unsigned int*)calloc(mesh.nNumFaces, sizeof(*mesh.pnStripLength));
3723 if(mesh.pnStripLength[mesh.nNumStrips])
3725 if(mesh.pnStripLength[mesh.nNumStrips] & 0x01)
3731 mesh.pnStripLength[mesh.nNumStrips] += 1;
3741 mesh.pnStripLength[mesh.nNumStrips] += 1;
[all …]
DPVRTModelPOD.h168 PVRTuint32 *pnStripLength; /*!< If mesh is stripped: number of tris per strip. */ member