Home
last modified time | relevance | path

Searched refs:nTriNum (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTGeometry.cpp162 int nTriNum; // Number of triangles in the block member
669 nTriNum = pSrc->nTriNum; in Copy()
673 memcpy(psTri, pSrc->psTri, nTriNum * sizeof(*psTri)); in Copy()
685 nTriNum = 0; in Clear()
705 for(i = 0; i < nTriNum; ++i) { in Output()
728 *pnTriCnt = nTriNum; in Output()
765 i = nTriNum; in Contains()
783 return !(nVtxNum + nEdgNum + nTriNum); in IsEmpty()
793 return (m_nVtxLimit - nVtxNum) < 3 || nTriNum == m_nTriLimit; in IsFull()
835 for(i = 0; i < nTriNum; ++i) in AddTriangleCheckDup()
[all …]
DPVRTBoneBatch.cpp439 const int nTriNum, in Create() argument
472 ppBatch = (CBatch**)malloc(nTriNum * sizeof(*ppBatch)); in Create()
473 pui32IdxNew = (unsigned int*)malloc(nTriNum * 3 * sizeof(*pui32IdxNew)); in Create()
478 for(i = 0; i < nTriNum; ++i) in Create()
546 for(i = 0; i < nTriNum; ++i) in Create()
584 for(i = 0; i < nTriNum; ++i) in Create()
631 _ASSERTE(nTriCnt == nTriNum); in Create()
635 memcpy(pui32Idx, pui32IdxNew, nTriNum * 3 * sizeof(*pui32IdxNew)); in Create()
DPVRTVertex.cpp608 const unsigned int nTriNum, in PVRTVertexGenerateTangentSpace() argument
639 pui32IdxNew = (unsigned int*)calloc(nTriNum * 3, sizeof(*pui32IdxNew)); in PVRTVertexGenerateTangentSpace()
653 for(nCurr = 0; nCurr < nTriNum; ++nCurr) { in PVRTVertexGenerateTangentSpace()
817 memcpy(pui32Idx, pui32IdxNew, nTriNum * 3 * sizeof(*pui32IdxNew)); in PVRTVertexGenerateTangentSpace()
820 …_RPT3(_CRT_WARN, "GenerateTangentSpace(): %d tris, %d vtx in, %d vtx out\n", nTriNum, nVtxNum, *pn… in PVRTVertexGenerateTangentSpace()
DPVRTGeometry.h40 const int nTriNum,
DPVRTBoneBatch.h58 const int nTriNum,
DPVRTVertex.h170 const unsigned int nTriNum,